bugGNU Astronomy Utilities - Bugs: bug #50120, Print an error when polygon is...


You are not allowed to post comments on this tracker with your current authentication level.

bug #50120: Print an error when polygon is concave

Submitted by:  Mohammad Akhlaghi <makhlaghi>
Submitted on:  Sun 22 Jan 2017 04:47:45 PM UTC  
Category:  Crop Severity:  3 - Normal
Item Group:  Output not reasonable Status:  Postponed
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Sun 22 Jan 2017 04:47:45 PM UTC, original submission:  

Currently ImageCrop's `--polygon' mode only accepts convex polygons.

So, when the user gives a concave polygon, the result is not reasonable, for example this command (when run in the `tests/' directory after `make check):

astimgcrop --imgmode --polygon=114,29:243,174:468,21:457,440:249,261:82,457 snimage.fits

We have defined task #13658 to allow ImageCrop to work on Concave polygons too, but until that is implemented, an error message should be printed letting the user know this limitation and not make the output.

Mohammad Akhlaghi <makhlaghi>
Project Administrator


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by makhlaghi (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    No changes have been made to this item

    Back to the top

    Powered by Savane 3.5