[fitsbits] crop FITS images

Steve Allen sla at ucolick.org
Thu Oct 17 22:42:47 EDT 2002


On Thu 2002-10-17T10:55:52 -0400, William Pence hath writ:
> Any program that uses CFITSIO to open an image shares this capability, but
> in particular the 'fitscopy' program that is distributed with the CFITSIO
> library may be used to copy sections of image as shown below:

> These examples extract a 100 by 100 pixel subimage out of the input image,
> starting at pixel location (101,201).  The coordinate system keywords are
> also updated in the output image.  In the second example, the output image
> is also compressed with the gzip algorithm to reduce disk space.

Does this update the IRAF image section keywords also?

--
Steve Allen          UCO/Lick Observatory       Santa Cruz, CA 95064
sla at ucolick.org      Voice: +1 831 459 3046     http://www.ucolick.org/~sla
PGP: 1024/E46978C5   F6 78 D1 10 62 94 8F 2E    49 89 0E FE 26 B4 14 93




More information about the fitsbits mailing list