00001 /* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 00002 /* vim:set sw=2 sts=2 et cin: */ 00003 /* 00004 * This file is part of the MUSE Instrument Pipeline 00005 * Copyright (C) 2005-2014 European Southern Observatory 00006 * 00007 * This program is free software; you can redistribute it and/or modify 00008 * it under the terms of the GNU General Public License as published by 00009 * the Free Software Foundation; either version 2 of the License, or 00010 * (at your option) any later version. 00011 * 00012 * This program is distributed in the hope that it will be useful, 00013 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 * GNU General Public License for more details. 00016 * 00017 * You should have received a copy of the GNU General Public License 00018 * along with this program; if not, write to the Free Software 00019 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 00020 */ 00021 00022 #ifndef MUSE_QUADRANTS_H 00023 #define MUSE_QUADRANTS_H 00024 00025 /*----------------------------------------------------------------------------* 00026 * Includes * 00027 *----------------------------------------------------------------------------*/ 00028 #include <cpl.h> 00029 00030 #include "muse_image.h" 00031 00032 /*----------------------------------------------------------------------------* 00033 * Function prototypes * 00034 *----------------------------------------------------------------------------*/ 00035 cpl_error_code muse_quadrants_overscan_stats(muse_image *, const char *, unsigned int); 00036 cpl_boolean muse_quadrants_overscan_check(muse_image *, muse_image *, double); 00037 cpl_error_code muse_quadrants_overscan_correct(muse_image *, muse_image *); 00038 cpl_error_code muse_quadrants_overscan_polyfit_vertical(muse_image *, unsigned, unsigned char, double, double, double); 00039 cpl_size *muse_quadrants_overscan_get_window(const muse_image *, unsigned char, unsigned int); 00040 00041 muse_image *muse_quadrants_trim_image(muse_image *); 00042 cpl_error_code muse_quadrants_coords_to_raw(cpl_propertylist *, int *, int *); 00043 cpl_boolean muse_quadrants_verify(cpl_propertylist *); 00044 cpl_size *muse_quadrants_get_window(const muse_image *, unsigned char); 00045 00046 #endif /* MUSE_QUADRANTS_H */
1.6.1