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

Submitter:  Mohammad Akhlaghi <makhlaghi>
Submitted:  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:  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>
Group 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>
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>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    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.13-758e.
    Corresponding source code