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

Mmorph.h

00001 /* Copyright (c) 2001 A. Jalba */
00002 
00003 #ifndef MMORPH_H
00004 #define MMORPH_H
00005 
00006 #include "misc.h"
00007 #include "Image.h"
00008 #include "ByteKernel.h"
00009 
00012 template< class T > 
00013 void Erosion3x3(Image< T > &input, int iter, CONN_TYPE connect, Image< T > &output);
00026 template< class T > 
00027 void Dilation3x3(Image< T > &input, int iter, CONN_TYPE connect, Image< T > &output);
00040 template< class T > 
00041 void Opening3x3(Image< T > &input, int iter, CONN_TYPE connect, Image< T > &output);
00042 
00057 template< class T >
00058 void Closing3x3(Image< T > &input, int iter, CONN_TYPE connect, Image< T > &output);
00059 
00072 template< class T >
00073 void FlatErosion(Image< T > &input, ByteKernel &kern, Image< T > &output);
00074 
00086 template< class T > 
00087 void FlatDilation(Image< T > &input, ByteKernel &kern, Image< T > &output);
00088 
00100 template< class T >
00101 void FlatOpening(Image< T > &input, ByteKernel &kern, Image< T > &output);
00102 
00114 template< class T >
00115 void FlatClosing(Image< T > &input, ByteKernel &kern, Image< T > &output);
00116 
00128 template< class T > 
00129 void Erosion(Image< T > &input, ByteKernel &kern, Image< T > &output);
00130 
00142 template< class T > 
00143 void Dilation(Image< T > &input, ByteKernel &kern, Image< T > &output);
00144 
00156 template< class T >
00157 void Opening(Image< T > &input, ByteKernel &kern, Image< T > &output);
00158 
00170 template< class T >
00171 void Closing(Image< T > &input, ByteKernel &kern, Image< T > &output);
00172 
00184 template< class T >
00185 void TopHat(Image< T > &input, ByteKernel &kern, Image< T > &output);
00186 
00199 template< class T >
00200 void BottomHat(Image< T > &input, ByteKernel &kern, Image< T > &output);
00201 
00214 template< class T >
00215 void HitOrMiss(Image< T > &input, ByteKernel &kern1, ByteKernel &kern2, Image< T > &output);
00216 
00231 template< class T >
00232 void TemplateMatch(Image< T > &input, ByteKernel &kern, Image< T > &output);
00233 
00246 #endif
00247