<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <!--Converted with LaTeX2HTML 98.1p1 release (March 2nd, 1998) originally by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds * revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan * with significant contributions from: Jens Lippmann, Marek Rouchal, Martin Wilck and others --> <HTML> <HEAD> <TITLE>Geometric Corrections</TITLE> <META NAME="description" CONTENT="Geometric Corrections"> <META NAME="keywords" CONTENT="vol2"> <META NAME="resource-type" CONTENT="document"> <META NAME="distribution" CONTENT="global"> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <LINK REL="STYLESHEET" HREF="vol2.css"> <LINK REL="previous" HREF="node17.html"> <LINK REL="up" HREF="node15.html"> <LINK REL="next" HREF="node19.html"> </HEAD> <BODY > <!--Navigation Panel--> <A NAME="tex2html1672" HREF="node19.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="icons.gif/next_motif.gif"></A> <A NAME="tex2html1669" HREF="node15.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="icons.gif/up_motif.gif"></A> <A NAME="tex2html1665" HREF="node17.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="icons.gif/previous_motif.gif"></A> <A NAME="tex2html1671" HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="icons.gif/contents_motif.gif"></A> <BR> <B> Next:</B> <A NAME="tex2html1673" HREF="node19.html">Image Manipulations</A> <B> Up:</B> <A NAME="tex2html1670" HREF="node15.html">Raw to Calibrated Data</A> <B> Previous:</B> <A NAME="tex2html1666" HREF="node17.html">Response Calibration</A> <BR> <BR> <!--End of Navigation Panel--> <H2><A NAME="SECTION00523000000000000000"> </A> <A NAME="geo-cor"> </A> <BR> Geometric Corrections </H2> Most imaging systems contain intrinsic geometric distortions. Although they can often be disregarded for small field corrections they must be applied when image tubes or dispersive elements (e.g. in spectrographs) are used. The actual form of the distortions is determined by observing a known grid of points or spectral lines. Normally, a power series is fitted to the point giving the coordinate transformation <BR> <DIV ALIGN="CENTER"><A NAME="eq:coor-trans"> </A> <!-- MATH: \begin{eqnarray} x = X(u,v) & = & \sum_{i=0}^n \sum_{j=0}^m a_{i,j} (u-u_0)^i (v-v_0)^j \\ y = Y(u,v) & = & \sum_{i=0}^n \sum_{j=0}^m b_{i,j} (u-u_0)^i (v-v_0)^j. \end{eqnarray} --> <TABLE ALIGN="CENTER" CELLPADDING="0" WIDTH="100%"> <TR VALIGN="MIDDLE"><TD NOWRAP ALIGN="RIGHT"><I>x</I> = <I>X</I>(<I>u</I>,<I>v</I>)</TD> <TD ALIGN="CENTER" NOWRAP>=</TD> <TD ALIGN="LEFT" NOWRAP><IMG WIDTH="271" HEIGHT="80" ALIGN="MIDDLE" BORDER="0" SRC="img64.gif" ALT="$\displaystyle \sum_{i=0}^n \sum_{j=0}^m a_{i,j} (u-u_0)^i (v-v_0)^j$"></TD> <TD WIDTH=10 ALIGN="RIGHT"> (2.13)</TD></TR> <TR VALIGN="MIDDLE"><TD NOWRAP ALIGN="RIGHT"><I>y</I> = <I>Y</I>(<I>u</I>,<I>v</I>)</TD> <TD ALIGN="CENTER" NOWRAP>=</TD> <TD ALIGN="LEFT" NOWRAP><IMG WIDTH="274" HEIGHT="80" ALIGN="MIDDLE" BORDER="0" SRC="img65.gif" ALT="$\displaystyle \sum_{i=0}^n \sum_{j=0}^m b_{i,j} (u-u_0)^i (v-v_0)^j.$"></TD> <TD WIDTH=10 ALIGN="RIGHT"> (2.14)</TD></TR> </TABLE></DIV> <BR CLEAR="ALL"><P></P> where (<I>u</I><SUB>0</SUB>,<I>u</I><SUB>0</SUB>) is an arbitrary reference point. The area of a pixel is changed by this transformation with an amount <BR><P></P> <DIV ALIGN="CENTER"> <!-- MATH: \begin{equation} d A = dx \, dy = | {\bf J} | \, du \, dv = \left| \frac{\partial (x,y)}{\partial (u,v)} \right| \, du \, dv = \left| \frac{\partial x}{\partial u}\frac{\partial y}{\partial v} - \frac{\partial x}{\partial v}\frac{\partial y}{\partial u} \right| \, du \, dv \end{equation} --> <TABLE WIDTH="100%" ALIGN="CENTER"> <TR VALIGN="MIDDLE"><TD ALIGN="CENTER" NOWRAP><A NAME="eq:jacobian"> </A><IMG WIDTH="627" HEIGHT="61" SRC="img66.gif" ALT="\begin{displaymath}d A = dx \, dy = \vert {\bf J} \vert \, du \, dv = \left\ve... ...rtial v}\frac{\partial y}{\partial u} \right\vert \, du \, dv \end{displaymath}"></TD> <TD WIDTH=10 ALIGN="RIGHT"> (2.15)</TD></TR> </TABLE> </DIV> <BR CLEAR="ALL"><P></P> where <IMG WIDTH="18" HEIGHT="22" ALIGN="BOTTOM" BORDER="0" SRC="img67.gif" ALT="${\bf J}$"> is the Jacobian determinant. The intensity values in the transformed frame must be corrected by this function so that the flux is maintained both locally and globally. A wavelength transformation for an image tube spectrum is shown in Figure <A HREF="node18.html#fig:wave-rebin">2.5</A> where both resulting spectra with and without flux correction are given. <BR> <DIV ALIGN="CENTER"><A NAME="fig:wave-rebin"> </A><A NAME="641"> </A> <TABLE WIDTH="50%"> <CAPTION><STRONG>Figure 2.5:</STRONG> A dispersion curve (A) for an IDS spectrum with the linear term omitted. The spectrum rebinned to wavelength is shown with (B1) and without the Jacobian determinant correction (B2).</CAPTION> <TR><TD><IMG WIDTH="2" HEIGHT="1" SRC="img68.gif" ALT="\begin{figure}\psfig{figure=fig5_dispersion.eps,clip=} \end{figure}"></TD></TR> </TABLE> </DIV> <BR> <P> Although this is mathematically very simple, it gives significant numeric problems due to the finite size of pixels. The main problem is that one has to assume a certain distribution of flux inside a pixel e.g. constant. This assumption may affect the detailed local flux conservation and introduce high frequence error in the result. A further problem is the potential change of the noise distribution due to the interpolation scheme used. This can be solved be careful assignment of weight factors or by simply reducing the high frequence noise in the original frame by smoothing. <P> <HR> <!--Navigation Panel--> <A NAME="tex2html1672" HREF="node19.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="icons.gif/next_motif.gif"></A> <A NAME="tex2html1669" HREF="node15.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="icons.gif/up_motif.gif"></A> <A NAME="tex2html1665" HREF="node17.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="icons.gif/previous_motif.gif"></A> <A NAME="tex2html1671" HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="icons.gif/contents_motif.gif"></A> <BR> <B> Next:</B> <A NAME="tex2html1673" HREF="node19.html">Image Manipulations</A> <B> Up:</B> <A NAME="tex2html1670" HREF="node15.html">Raw to Calibrated Data</A> <B> Previous:</B> <A NAME="tex2html1666" HREF="node17.html">Response Calibration</A> <!--End of Navigation Panel--> <ADDRESS> <I>Petra Nass</I> <BR><I>1999-06-15</I> </ADDRESS> </BODY> </HTML>