This HTML automatically generated with rman for NEMO
Table of Contents
ccdpixelclip - patch an image above or below a clip level with valid
neighbor averages
ccdpixelclip [parameter=value]
ccdpixelclip
replaces pixels with any component below a specified clip threshold with
the mean of its over-threshold nearest neighbors. This can be used to replace
JWST blown-out star cores in monochromatic telescope images where the pipeline
had set them to 0.
The blown-out core is replaced with pixel values just
outside the blown-out region. This can be done early in the linear (pre-stretched)
state. It restores dynamic range to that of the camera and recovers the
blown-out star cores.
By setting jwst=f the logic can be reversed. Any levels
larger than clip are then replaced by average neighbor values lower than
this clip level.
The following parameters are recognized in order; they may
be given in any order if the keyword is also given. Use --help to confirm
this man page is up to date.
- in=
- Input image file. No default.
- out=
- Output
image file. No default.
- clip=
- clip threshold below which data are patched
[0]
- size=
- size around clip pixel to average around (-size..+size) [1]
- matchclip=t|f
- Also fix data where it matches the clip. [t]
- jwst=t|f
- Reverse the logic?
Currently hardcoded for the JWST logic. [t]
Results can depends
on the (hardcoded) scan-direction of the image.
ccdclip(1NEMO)
,
ccdmnmx(1NEMO)
, ccdmath(1NEMO)
, image(5NEMO)
Gerrit Barrere, Joseph
DePasquale (PixelClip.js), Peter Teuben (NEMO version)
24-aug-2022 V0.2 drafted PJT
Table of Contents