[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[task #16056] NoiseChisel take a mask image for pixels to ignore
From: |
Mohammad Akhlaghi |
Subject: |
[task #16056] NoiseChisel take a mask image for pixels to ignore |
Date: |
Fri, 15 Oct 2021 19:56:01 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0 |
URL:
<https://savannah.gnu.org/task/?16056>
Summary: NoiseChisel take a mask image for pixels to ignore
Project: GNU Astronomy Utilities
Submitted by: makhlaghi
Submitted on: Sat 16 Oct 2021 12:55:59 AM BST
Should Start On: Sat 16 Oct 2021 12:00:00 AM BST
Should be Finished on: Sat 16 Oct 2021 12:00:00 AM BST
Category: NoiseChisel
Priority: 5 - Normal
Item Group: Enhancement
Status: None
Privacy: Public
Percent Complete: 0%
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Effort: 0.00
_______________________________________________________
Details:
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.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/task/?16056>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [task #16056] NoiseChisel take a mask image for pixels to ignore,
Mohammad Akhlaghi <=