X-shooter Pipeline Reference Manual 3.8.15
xsh_fit.h
Go to the documentation of this file.
1/* $Id: xsh_fit.h,v 1.5 2011-12-02 14:15:28 amodigli Exp $
2 *
3 * This file is part of the irplib package
4 * Copyright (C) 2002,2003 European Southern Observatory
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02111-1307 USA
19 */
20
21/*
22 * $Author: amodigli $
23 * $Date: 2011-12-02 14:15:28 $
24 * $Revision: 1.5 $
25 * $Name: not supported by cvs2svn $
26 */
27
28#ifndef XSH_FIT_H
29#define XSH_FIT_H
30
31/*-----------------------------------------------------------------------------
32 Includes
33 ----------------------------------------------------------------------------*/
34
35#include <cpl.h>
36/*-----------------------------------------------------------------------------
37 Prototypes
38 -----------------------------------------------------------------------------*/
39
40cpl_imagelist * xsh_fit_imagelist_polynomial(const cpl_vector *,
41 const cpl_imagelist *,
42 int, int, cpl_boolean,
43 cpl_image *);
44
45/* Gaussian fit of an image zone */
46cpl_error_code xsh_image_find_barycenter( const cpl_image *, int, int, int,
47 double *, double *, double *, double *, double *, double *, double *) ;
48
49
50#endif
cpl_imagelist * xsh_fit_imagelist_polynomial(const cpl_vector *, const cpl_imagelist *, int, int, cpl_boolean, cpl_image *)
Fit a polynomial to each pixel in a list of images.
Definition: xsh_fit.c:171
cpl_error_code xsh_image_find_barycenter(const cpl_image *, int, int, int, double *, double *, double *, double *, double *, double *, double *)
Apply a gaussian fit on an image sub window.
Definition: xsh_fit.c:696