[fitsbits] WCS: reprojecting an image

Doug Mink dmink at cfa.harvard.edu
Thu Jul 18 12:46:07 EDT 2002


Tim Pearson wrote:
> 
> Can anyone recommend a program to interpolate an image in one
> projection (e.g., TAN) into a different projection (e.g., SIN,
> possibly with different pixel size or tangent point)?

There is a task called REMAP in my WCSTools package which does exactly
what you want to do.  The package is described at

http://tdc-www.harvard.edu/software/wcstools/

with a brief description of remap at

http://tdc-www.harvard.edu/software/wcstools/remap.html

REMAP supports the full set of projections in paper II plus the
DSS plate coefficients and the IRAF TNX polynomial-corrected projection
for input and the paper II projections for output.  This is not the
most documented or debugged task in the package, but the subroutines
on which it is based are pretty widely used.

-Doug Mink
 Telescope Data Center
 Smithsonian Astrophysical Observatory
 Cambridge, Massachusetts USA



More information about the fitsbits mailing list