00001 #ifndef SINFO_SHIFT_IMAGES_H 00002 #define SINFO_SHIFT_IMAGES_H 00003 /* 00004 * This file is part of the ESO SINFONI Pipeline 00005 * Copyright (C) 2004,2005 European Southern Observatory 00006 * 00007 * This program is free software; you can redistribute it and/or modify 00008 * it under the terms of the GNU General Public License as published by 00009 * the Free Software Foundation; either version 2 of the License, or 00010 * (at your option) any later version. 00011 * 00012 * This program is distributed in the hope that it will be useful, 00013 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 * GNU General Public License for more details. 00016 * 00017 * You should have received a copy of the GNU General Public License 00018 * along with this program; if not, write to the Free Software 00019 * Foundation, 51 Franklin St, Fifth Floor, Boston, MA 02111-1307 USA 00020 */ 00021 00022 /*************************************************************************** 00023 * E.S.O. - VLT project 00024 * 00025 * "@(#) $Id: sinfo_shift_images.h,v 1.5 2008/02/12 14:21:57 amodigli Exp $" 00026 * 00027 * who when what 00028 * -------- -------- ---------------------------------------------- 00029 * schreib 05/03/03 created 00030 */ 00031 00032 /************************************************************************ 00033 * sinfo_shift_images.h 00034 * shift two emission line images on each other 00035 *---------------------------------------------------------------------- 00036 */ 00037 00038 /* 00039 * header files 00040 */ 00041 00042 #include <cpl.h> 00043 #include "sinfo_spectrum_ops.h" 00044 #include "sinfo_recipes.h" 00045 #include "sinfo_image_ops.h" 00046 00047 /*---------------------------------------------------------------------------- 00048 * Function ANSI C prototypes 00049 *--------------------------------------------------------------------------*/ 00050 00062 double 00063 sinfo_new_determine_shift_by_correlation (cpl_image * refImage, 00064 cpl_image * shiftedImage ) ; 00065 00066 00078 cpl_image * 00079 sinfo_new_shift_image_in_spec (cpl_image * shiftedImage, 00080 double shift, 00081 double * sub_shift ) ; 00082 00083 00093 cpl_image * 00094 sinfo_new_fine_shift_image_in_spec_poly (cpl_image * shiftedImage, 00095 double sub_shift, 00096 int order ) ; 00097 00107 cpl_image * 00108 sinfo_new_fine_shift_image_in_spec_cubic_spline (cpl_image * shiftedImage, 00109 double sub_shift ) ; 00110 00111 00125 cpl_imagelist * 00126 sinfo_align_cube_to_reference (cpl_imagelist * cube, 00127 cpl_image * refIm, 00128 int order, 00129 int shift_indicator ) ; 00130 00131 00132 00133 #endif 00135 /*--------------------------------------------------------------------------*/