CTIO
Published on CTIO (http://www.ctio.noao.edu/noao)

CTIO Home > Bad Pixel Mask Example

Bad Pixel Mask Example [1]

Bad Pixel Mask File with Bad Columns Example (from Armin Rest)

# saoimage coordinates have the origin at (1,1)
origin 1
rectangle 1 1 65 4146
rectangle 2092 1 2160 4146
#
rectangle 1 1 2160 4
rectangle 1 4093 2160 4146
#
rectangle 621 1 622 279
rectangle 1533 1 1536 3066

rectangle x1 y1 x2 y2
This is with respect to 1,1 being the lower left first pixel, and for raw (untrimmed) images.

The first 4 rectangle commands are not for bad columns, but I find that the edge rows and pixels have some issues, so I mask them.


Source URL (retrieved on 02/09/2013 - 07:14): http://www.ctio.noao.edu/noao/content/Bad-Pixel-Mask-Example

Links:
[1] http://www.ctio.noao.edu/noao/content/Bad-Pixel-Mask-Example