/* $Id: cpl_image_resample.h,v 1.11 2007/11/13 14:27:40 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/11/13 14:27:40 $ * $Revision: 1.11 $ * $Name: $ */ #ifndef CPL_IMAGE_RESAMPLE_H #define CPL_IMAGE_RESAMPLE_H /*----------------------------------------------------------------------------- Includes -----------------------------------------------------------------------------*/ #include #include #include #include #include #include #include /*----------------------------------------------------------------------------- Function prototypes -----------------------------------------------------------------------------*/ CPL_BEGIN_DECLS /* Polynomial warping function */ cpl_error_code cpl_image_warp_polynomial(cpl_image *, const cpl_image *, const cpl_polynomial *, const cpl_polynomial *, const cpl_vector *, double, const cpl_vector *, double); cpl_error_code cpl_image_warp(cpl_image *, const cpl_image *, const cpl_image *, const cpl_image *, const cpl_vector *, double, const cpl_vector *, double); /* Sub sampling function */ cpl_image * cpl_image_extract_subsample(const cpl_image *, int, int); /* Pixel interpolation function */ double cpl_image_get_interpolated(const cpl_image *, double, double, const cpl_vector *, double, const cpl_vector *, double, double *); CPL_END_DECLS #endif