Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members   Related Pages   Examples  

LocalOp.h

00001 /* Copyright (c) 2001 S.E. Grigorescu */
00002 
00003 #ifndef LOCALOP_H
00004 #define LOCALOP_H
00005 
00006 #include <math.h>
00007 #include <string>
00008 #include <vector>
00009 #include <algorithm>
00010 #include "Image.h"
00011 
00014 template<class T> void LocalOp(Image< T >& input, string op_type, int w_x, int w_y, Image< T >& output);
00028 template<class T> void LocalOp(Image< T >& input, string op_type, int w, Image< T >& output);
00042 template< class T > void LocalOp(Image< T >& input, string op_type, int w_x, int w_y);
00056 template<class T> void LocalOp(Image< T >& input, string op_type, int w);
00068 template<class T> T compute_mean(Image< T >&, int, int, int, int);
00069 template<class T> T compute_median(Image< T >&, int, int, int, int);
00070 template<class T> T compute_stdev(Image< T >&, int, int, int, int);
00071 template<class T> T compute_var(Image< T >&, int, int, int, int);
00072 template<class T> T compute_min(Image< T >&, int, int, int, int);
00073 template<class T> T compute_max(Image< T >&, int, int, int, int);
00074 
00077 #endif