[fitsbits] Images getting shifted and wrapping on themselves...?
Harro Verkouter
verkouter at jive.nl
Wed Aug 27 03:05:02 EDT 2008
Hi gberz3,
I would look at the CRPIXn value - which defines the reference pixel for
axis #n. A non-zero (or non-one) value [I forget if it's zero or
one-based] would appear as a shift in the axis: the value of this
keyword defines the 'logical' zero-point on axis #n.
hth,
harro verkouter
gberz3 wrote:
> Hi All,
>
> I have written an application to read FITS files. I now have an
> anomaly where some images have a "split" in them. Basically it
> appears that the image is shifted to the right or left by so many
> pixels and "wraps" around. This doesn't happen, however if I open it
> in GIMP using the FITS plugin, or with various other FITS Viewers.
> I'm curious as to what could be happening. Is there some type of
> "key" in the data that would tell me about a particular offset? I've
> checked headers between "good" files and the "split" ones and there
> seems to be no relevant differences. In fact, most of the split
> images only have SIMPLE, BITPIX, NAXIS, NAXIS1, NAXIS2, and no other
> data.
>
> Any input would be most appreciated.
>
>
> Best!
> _______________________________________________
> fitsbits mailing list
> fitsbits at listmgr.cv.nrao.edu
> http://listmgr.cv.nrao.edu/mailman/listinfo/fitsbits
More information about the fitsbits
mailing list