sinfo_distortion.h

00001 /* $Id: sinfo_distortion.h,v 1.7 2007/06/06 07:10:45 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., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00019  */
00020 
00021 /*
00022  * $Author: amodigli $
00023  * $Date: 2007/06/06 07:10:45 $
00024  * $Revision: 1.7 $
00025  * $Name: HEAD $
00026  */
00027 
00028 #ifndef SINFO_DISTORTION_H
00029 #define SINFO_DISTORTION_H
00030 
00031 /*-----------------------------------------------------------------------------
00032                                    Includes
00033 -----------------------------------------------------------------------------*/
00034 #include <cpl.h>
00035 /*-----------------------------------------------------------------------------
00036                                        Prototypes
00037 -----------------------------------------------------------------------------*/
00038 cpl_polynomial * 
00039 sinfo_distortion_estimate(const cpl_image *, 
00040                           int, 
00041                           int, 
00042                           int, 
00043                           int, 
00044                           int, 
00045                           int, 
00046                           int, 
00047                           int, 
00048                           double, 
00049                           cpl_apertures **) ;
00050 
00051 cpl_polynomial * sinfo_distortion_estimate_new(
00052         const cpl_image *   org,
00053         int                 xmin,
00054         int                 ymin,
00055         int                 xmax,
00056         int                 ymax,
00057         int                 auto_ramp_sub,
00058         int                 arc_sat,
00059         int                 max_arc_width,
00060         double              kappa,
00061         double              arcs_min_arclen_factor,
00062         int                 arcs_window_size,
00063         int                 smooth_rad,
00064         int                 degree,
00065         double              offset,
00066         cpl_apertures   **  arcs);
00067 
00068 cpl_image *
00069 sinfo_distortion_image_restore(const cpl_image* inp,
00070                                const int r,
00071                                const int d,
00072                                const double kappa,
00073                                const int ks_method,
00074                                const int n);
00075 #endif

Generated on 3 Mar 2013 for SINFONI Pipeline Reference Manual by  doxygen 1.6.1