/* $Id: cpl_detector.h,v 1.2 2007/06/20 13:37:27 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/06/20 13:37:27 $ * $Revision: 1.2 $ * $Name: $ */ #ifndef CPL_DETECTOR_H #define CPL_DETECTOR_H /*----------------------------------------------------------------------------- Includes -----------------------------------------------------------------------------*/ #include #include #include #include CPL_BEGIN_DECLS /*----------------------------------------------------------------------------- Function prototypes -----------------------------------------------------------------------------*/ /* Noise computation */ cpl_error_code cpl_flux_get_noise_window(const cpl_image *, const int *, int, int, double *, double *) ; cpl_error_code cpl_flux_get_noise_ring(const cpl_image *, const double *, int, int, double *, double *) ; /* Bad pixels cleaning */ cpl_error_code cpl_detector_interpolate_rejected(cpl_image *) ; CPL_END_DECLS #endif