next up previous 530
Next: Special Filters for Inserting Bad Values
Up: Bad-pixel Masking
Previous: Doing it the ARD Way


SEGMENT and ZAPLIN

SEGMENT is ostensibly for copying polygonal regions from one NDF to another. You may also use SEGMENT to copy bad pixels into the polygonal regions by giving the null value for one of the two input NDFs. For instance,

     % segment in1=! in2=$KAPPA_DIR/ccdframec out=ccdmask

NDF ccdmask will have bad values inside the polygons, whereas

     % segment in2=! in1=$KAPPA_DIR/ccdframec out=ccdmask

the pixels exterior to the polygons are flagged. SEGMENT lets you define the polygon vertices interactively, like in ARDGEN, but you can also use text files, or respond to prompting.

ZAPLIN also has an option to fill in rectangular areas when Parameter ZAPTYPE has value Bad.



next up previous 530
Next: Special Filters for Inserting Bad Values
Up: Bad-pixel Masking
Previous: Doing it the ARD Way

KAPPA --- Kernel Application Package
Starlink User Note 95
Malcolm J. Currie & David S. Berry
2010 February 26
E-mail:ussc@star.rl.ac.uk

Copyright © 2010 Science and Technology Facilities Council