00001 /* $Id: irplib_filter_double.c,v 1.4 2007/10/22 08:25:24 llundin 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., 51 Franklin St, Fifth Floor, Boston, MA 02111-1307 USA 00019 */ 00020 00021 /* 00022 * $Author: llundin $ 00023 * $Date: 2007/10/22 08:25:24 $ 00024 * $Revision: 1.4 $ 00025 * $Name: uves-3_4_5 $ 00026 */ 00027 00028 /*----------------------------------------------------------------------------- 00029 Defines 00030 -----------------------------------------------------------------------------*/ 00031 00032 #define IN_TYPE double 00033 #define OUT_TYPE double 00034 00035 /*----------------------------------------------------------------------------- 00036 Includes 00037 -----------------------------------------------------------------------------*/ 00038 00039 #include "irplib_filter.h" 00040 #include "filter_median.c" 00041 00042 /*----------------------------------------------------------------------------- 00043 Function definition 00044 -----------------------------------------------------------------------------*/ 00045 00046 void irplib_image_filter_double(OUT_TYPE * out, const IN_TYPE * in, 00047 unsigned Nx, unsigned Ny, unsigned hsizex, 00048 unsigned hsizey, unsigned mode) 00049 { 00050 00051 filter_median(in, out, Nx, Ny, hsizex, hsizey, mode); 00052 00053 return; 00054 }
1.5.1