taskGNU Astronomy Utilities - Tasks: task #16056, NoiseChisel take a mask image for...


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

task #16056: NoiseChisel take a mask image for pixels to ignore

Submitter:  Mohammad Akhlaghi <makhlaghi>
Submitted:  Fri 15 Oct 2021 11:55:59 PM UTC
Should Start On:  Fri 15 Oct 2021 11:00:00 PM UTC Should be Finished on:  Fri 15 Oct 2021 11:00:00 PM UTC
Category:  NoiseChisel Priority:  5 - Normal
Item Group:  Enhancement Status:  None
Privacy:  Public Percent Complete:  0%
Assigned to:  None Open/Closed:  Open
Effort:  0.00

Fri 15 Oct 2021 11:55:59 PM UTC, original submission:  

Currently, the only way for NoiseChisel to ignore some pixels in an image is to set them to NaN before calling NoiseChisel. While this is an easy operation with something like Gnuastro's Arithmetic program, in a large pipeline, it is slow (a whole new 32-bit floating-point image has to be created), and will just add to its complexity.

For pipeline scenarios, it is better to simply have their masks as an unsigned 8-bit integer (with value 1 for pixels to ignore and 0 for pixels to use) and feed that along with the original image to NoiseChisel (such mask images can also be wonderfully compressed, so their size will also be very insignificant). 

Upon reading the input data, NoiseChisel can simply read the mask image also and set all the masked pixels to NaN internally (before any operation). In this way no later part of the programs above need to be changed.

So NoiseChisel (and other data analysis programs like Statistics, Segment, MakeCatalog) should have a '--mask' option to allow the

This task was defined after a discussion with Sylvain Mottet.

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)
  • -email is unavailable- added by makhlaghi

    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.




    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-10-15 makhlaghi Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.11