HAWKI Pipeline Reference Manual 1.8.12
hawki_image_stats.h
00001 /* $Id: hawki_image_stats.h,v 1.4 2009/11/25 16:24:13 cgarcia Exp $
00002  *
00003  * This file is part of the HAWKI Pipeline
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: cgarcia $
00023  * $Date: 2009/11/25 16:24:13 $
00024  * $Revision: 1.4 $
00025  * $Name: hawki-1_8_12 $
00026  */
00027 
00028 #ifndef HAWKI_IMAGE_STATS_H
00029 #define HAWKI_IMAGE_STATS_H
00030 
00031 /*-----------------------------------------------------------------------------
00032                                 Includes
00033  -----------------------------------------------------------------------------*/
00034 
00035 #include <cpl.h>
00036 
00037 
00038 int hawki_image_stats_initialize
00039 (cpl_table ** raw_stats);
00040 int hawki_image_stats_fill_from_image
00041 (cpl_table       ** image_stats,
00042  const cpl_image *  image,
00043  int                llx,
00044  int                lly,
00045  int                urx,
00046  int                ury,
00047  int                idet,
00048  int                irow);
00049 int hawki_image_stats_odd_even_column_row_fill_from_image
00050 (cpl_table       ** odd_column_stats,
00051  cpl_table       ** even_column_stats,
00052  cpl_table       ** odd_row_stats,
00053  cpl_table       ** even_row_stats,
00054  const cpl_image *  image,
00055  int                idet,
00056  int                irow);
00057 int hawki_image_stats_fill_from_frame
00058 (cpl_table       ** image_stats,
00059  const cpl_frame *  frame,
00060  int                irow);
00061 int hawki_image_stats_print
00062 (cpl_table ** table_stats);
00063 int hawki_image_stats_stats
00064 (cpl_table         ** image_stats,
00065  cpl_propertylist  ** stats_stats);
00066 double hawki_image_float_get_sigma_from_quartile(cpl_image * image);
00067 #endif