fill_holes_nest
For a input binary mask in NESTED ordering, fill_holes_nest flip to 1 all pixels located
in invalid regions with fewer pixels than the threshold provided.
Two pixels are adjacent (and belong to the same region or hole) if they have at
least one point in common.
Location in HEALPix directory tree: src/f90/mod/mask_tools.F90
FORMAT
ARGUMENTS
name & dimensionality |
kind |
in/out |
description |
|
|
|
|
nside |
I4B |
IN |
The
value of the input mask. |
new_min_size |
I4B |
IN |
Minimal size of hole (in pixels) on output |
mask_in(0:Npix-1) |
I4B |
IN |
Input NESTED-ordered mask. Npix = 12*nside*nside |
mask_out(0:Npix-1) |
I4B |
OUT |
Output NESTED-ordered mask. Can be the same
array as mask_in. |
EXAMPLE:
use healpix_types
use healpix_modules
...
call fill_holes_nest(nside, new_min_size, mask_in, mask_in)
???
MODULES & ROUTINES
This section lists the modules and routines used by fill_holes_nest.
-
mask_tools
- mask processing module (see related routines below)
RELATED ROUTINES
This section lists the routines related to fill_holes_nest
-
dist2holes_nest
- angular distance to
closest invalid pixel of the given mask
-
fill_holes_nest
- turn to valid all
pixels located in 'holes' containing fewer pixels than the given threshold
-
maskborder_nest
- identify inner
boundary pixels of 'holes' for given mask
-
size_holes_nest
- returns size (in
pixels) of holes found in input mask
Version 3.83, 2024-11-13