00001 /* $Id: xsh_fit.h,v 1.5 2011/12/02 14:15:28 amodigli Exp $ 00002 * 00003 * This file is part of the irplib package 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: amodigli $ 00023 * $Date: 2011/12/02 14:15:28 $ 00024 * $Revision: 1.5 $ 00025 * $Name: HEAD $ 00026 */ 00027 00028 #ifndef XSH_FIT_H 00029 #define XSH_FIT_H 00030 00031 /*----------------------------------------------------------------------------- 00032 Includes 00033 ----------------------------------------------------------------------------*/ 00034 00035 #include <cpl.h> 00036 /*----------------------------------------------------------------------------- 00037 Prototypes 00038 -----------------------------------------------------------------------------*/ 00039 00040 cpl_imagelist * xsh_fit_imagelist_polynomial(const cpl_vector *, 00041 const cpl_imagelist *, 00042 int, int, cpl_boolean, 00043 cpl_image *); 00044 00045 /* Gaussian fit of an image zone */ 00046 cpl_error_code xsh_image_find_barycenter( const cpl_image *, int, int, int, 00047 double *, double *, double *, double *, double *, double *, double *) ; 00048 00049 00050 #endif