00001
00002
00003 #ifndef EDGE_H
00004 #define EDGE_H
00005
00006 #include "Image.h"
00007 #include "IntKernel.h"
00008 #include "FloatImage.h"
00009 #include <vector>
00010
00013 void Normalize(vector< FloatImage > &v);
00021 void Magnitude(vector< FloatImage > &v, FloatImage &magnit);
00029 template< class T >
00030 void GradientMap(Image< T > &input, FloatImage &gx, FloatImage &gy);
00058 template< class T >
00059 void EdgePrewitt(Image< T > &input, int type, Image< T > &output);
00076 template< class T >
00077 void EdgeSobel(Image< T > &input, int type, Image< T > &output);
00094 template< class T >
00095 void EdgeKirsch(Image< T > &input, Image< T > &output);
00105 #endif