/* $Id: cpl_geom_img.h,v 1.1 2007/05/09 09:28:17 yjung Exp $ * * This file is part of the ESO Common Pipeline Library * Copyright (C) 2001-2004 European Southern Observatory * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ /* * $Author: yjung $ * $Date: 2007/05/09 09:28:17 $ * $Revision: 1.1 $ * $Name: $ */ #ifndef CPL_GEOM_IMG_H #define CPL_GEOM_IMG_H /*----------------------------------------------------------------------------- Includes -----------------------------------------------------------------------------*/ #include #include #include #include CPL_BEGIN_DECLS /*----------------------------------------------------------------------------- Defines -----------------------------------------------------------------------------*/ typedef enum { /* CPL Geometry combination modes */ /* Combine using the intersection of the images */ CPL_GEOM_INTERSECT, /* Combine using the union of the images */ CPL_GEOM_UNION, /* Combine using the first image to aggregate the other ones */ CPL_GEOM_FIRST } cpl_geom_combine; /*----------------------------------------------------------------------------- Function prototypes -----------------------------------------------------------------------------*/ /* Offsets detection and frames recombination */ cpl_bivector * cpl_geom_img_offset_fine(const cpl_imagelist *, const cpl_bivector *, const cpl_bivector *, int, int, int, int, cpl_vector *) ; cpl_image ** cpl_geom_img_offset_saa(const cpl_imagelist *, const cpl_bivector *, cpl_kernel, int, int, cpl_geom_combine) ; cpl_image ** cpl_geom_img_offset_combine(cpl_imagelist *, const cpl_bivector *, int, const cpl_bivector *, const cpl_vector *, int *, int, int, int, int, int, int, cpl_geom_combine); CPL_END_DECLS #endif