bugGNU Astronomy Utilities - Bugs: bug #55298, Arithmetic reading 255 on...

 
 

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

bug #55298: Arithmetic reading 255 on command-line as blank

Submitter:  Mohammad Akhlaghi <makhlaghi>
Submitted:  Thu 27 Dec 2018 05:14:48 PM UTC
   
 
Category:  Arithmetic Severity:  3 - Normal
Item Group:  Output not reasonable Status:  Fixed
Privacy:  Public Assigned to:  makhlaghi
Open/Closed:  Closed

Thu 27 Dec 2018 05:38:43 PM UTC, comment #1: 

This bug has been fixed and pushed to the main repository.

Mohammad Akhlaghi <makhlaghi>
Group administrator
Thu 27 Dec 2018 05:14:48 PM UTC, original submission:  

When you want to select pixels with a label of 255 (for example on NoiseChisel's output) with Arithmetic, it doesn't select them. This is because 255 fits into an unsigned 8-bit value, so it is stored with that type. But being the maximum value, 255 is also the value used for blank in this type.

So when the user gives 255 to Arithmetic (and in particular the library's `gal_type_string_to_number' function, it should be defined as belonging to one larger type.

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 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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-12-27 makhlaghi StatusIn Progress Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code