irplib_filter_int.c

00001 /* $Id: irplib_filter_int.c,v 1.5 2007/11/16 07:53:30 jmlarsen 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: jmlarsen $
00023  * $Date: 2007/11/16 07:53:30 $
00024  * $Revision: 1.5 $
00025  * $Name: uves-4_9_1 $
00026  */
00027 
00028 /*-----------------------------------------------------------------------------
00029                                    Defines
00030  -----------------------------------------------------------------------------*/
00031 
00032 #define IN_TYPE int
00033 #define IN_MIN INT_MIN
00034 #define IN_MAX INT_MAX
00035 #define OUT_TYPE int
00036 
00037 /*-----------------------------------------------------------------------------
00038                                    Includes
00039  -----------------------------------------------------------------------------*/
00040 
00041 #include "irplib_filter.h"
00042 #include "filter_median.c"
00043 
00044 /*-----------------------------------------------------------------------------
00045                                    Function definition
00046  -----------------------------------------------------------------------------*/
00047 
00048 void irplib_image_filter_int(OUT_TYPE * out, const IN_TYPE * in,
00049                                unsigned Nx, unsigned Ny, unsigned hsizex,
00050                                unsigned hsizey, unsigned mode)
00051 {
00052 
00053     filter_median(in, out, Nx, Ny, hsizex, hsizey, mode);
00054 
00055     return;
00056 }

Generated on 8 Mar 2011 for UVES Pipeline Reference Manual by  doxygen 1.6.1