[fitsbits] flipping an image in 'cfitsio' package?
William Pence
pence at tetra.gsfc.nasa.gov
Fri Jun 2 17:26:57 EDT 2000
Michal Szymanski wrote:
>
> Hi,
>
> Cfitsio package offers impressive extended FITS file name syntax,
> allowing subsection cropping etc. just by specifying proper
> "name". I wonder whether it supports somehow flipping the
> image in any dimension (like IRAF's "imcopy src[-*,*] dest").
> I tried IRAF syntax and also "scr[2048:1,*]" but both were rejected.
>
> Of course one can read the whole image, flip it in-memory and write back
> but I was just wondering if the extended file name syntax provide a
> simple tool for that.
This is on the list of future enhancements, but currently CFITSIO only
supports image sectioning with positive pixel increments in all dimensions.
-Bill Pence
____________________________________________________________________
Dr. William Pence pence at tetra.gsfc.nasa.gov
NASA/GSFC Code 662 HEASARC +1-301-286-4599 (voice)
Greenbelt MD 20771 +1-301-286-1684 (fax)
More information about the fitsbits
mailing list