00001 /* $Id: visir_inputs.h,v 1.34 2007/11/19 09:11:18 llundin Exp $ 00002 * 00003 * This file is part of the VISIR Pipeline 00004 * Copyright (C) 2002,2003 European Southern Observatory 00005 * 00006 * This program is free software; you can redistribute it and/or modify 00007 * it under the terms of the GNU General Public License as published by 00008 * the Free Software Foundation; either version 2 of the License, or 00009 * (at your option) any later version. 00010 * 00011 * This program is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 * GNU General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU General Public License 00017 * along with this program; if not, write to the Free Software 00018 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02111-1307 USA 00019 */ 00020 00021 /* 00022 * $Author: llundin $ 00023 * $Date: 2007/11/19 09:11:18 $ 00024 * $Revision: 1.34 $ 00025 * $Name: visir-3_3_1-public $ 00026 */ 00027 00028 #ifndef VISIR_INPUTS_H 00029 #define VISIR_INPUTS_H 00030 00031 /*----------------------------------------------------------------------------- 00032 Includes 00033 -----------------------------------------------------------------------------*/ 00034 00035 #include <cpl.h> 00036 00037 #include "irplib_framelist.h" 00038 00039 #include "visir_spc_optmod.h" 00040 00041 /*----------------------------------------------------------------------------- 00042 Define 00043 -----------------------------------------------------------------------------*/ 00044 00045 /* Due to a inconsistency in the chosen VISIR FITS-format the pixels in 00046 the half-cycle image are offset, such that the lowest pixel value is 00047 -32768 (or perhaps -32767?). This is fixed by adding 32768 to each 00048 pixel value */ 00049 #define VISIR_HCYCLE_OFFSET 32768.0 00050 00051 /*----------------------------------------------------------------------------- 00052 Functions prototypes 00053 -----------------------------------------------------------------------------*/ 00054 00055 cpl_imagelist * visir_inputs_combine(const char *, const cpl_parameterlist *, 00056 const irplib_framelist *, const char *, 00057 const char *, int *, cpl_boolean, 00058 double, visir_spc_resol); 00059 cpl_image ** visir_img_recombine(const char *, const cpl_parameterlist *, 00060 const irplib_framelist *, const char *, 00061 const char *, cpl_geom_combine, cpl_boolean *, 00062 cpl_boolean, double, visir_spc_resol); 00063 cpl_imagelist * visir_load_imagelist(const irplib_framelist *, int, 00064 cpl_boolean); 00065 cpl_imagelist * visir_load_hcycle(const irplib_framelist *, int); 00066 cpl_error_code visir_image_reject_hot(cpl_image *, const char *); 00067 00068 cpl_imagelist * visir_imagelist_load_last(const irplib_framelist *); 00069 00070 #endif
1.4.7