bugGNU Astronomy Utilities - Bugs: bug #53362, Can't use max 8-bit value in...

 
 

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

bug #53362: Can't use max 8-bit value in Arithmetic

Submitted by:  Mohammad Akhlaghi <makhlaghi>
Submitted on:  Fri 16 Mar 2018 05:23:59 PM UTC  
 
Category:  Arithmetic Severity:  3 - Normal
Item Group:  Output not reasonable Status:  Postponed
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Fri 16 Mar 2018 05:23:59 PM UTC, original submission:

The maximum of the 8-bit (or any other unsigned integer type) or the minimum of the signed integer types cannot be used in Arithmetic because Gnuastro defines them as blank values.

But in some contexts, these values may be meaningful (for example if you want to invert the pixels in an 8-bit image, you want to calculate 255 - p). Therefore, currently such operations are not possible with Arithmetic (the output will be completely blank).

To fix this, we need to add an option to Arithmetic so for integer types, it can ignore the blank values (and just treat them as a number).

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.3