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:  Fixed
Privacy:  Public Assigned to:  Sachin Kumar Singh <sks_15>
Open/Closed:  Closed

Sun 29 Mar 2020 06:40:03 PM UTC, comment #2: 

You are right! Thanks to your contributions in task #13658 and task #15578, this bug doesn't exist any more. I am closing the bug.

Mohammad Akhlaghi <makhlaghi>
Project Administrator
Sun 29 Mar 2020 06:01:06 PM UTC, comment #1: 

Should we close this bug as well, now that the required funtions and options are implemented?

Sachin Kumar Singh <sks_15>
Project MemberIn charge of this item.
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 sks_15 (Posted a comment)
  • -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.




    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-03-29 makhlaghi StatusPostponed => Fixed
        Assigned toNone => sks_15
        Open/ClosedOpen => Closed

    Back to the top

    Powered by Savane 3.5