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

DistanceTransform.h

00001 /* Copyright (c) 2001 C. Grigorescu */
00002 
00003 #ifndef _DISTANCE_TRANSFORM_
00004 #define _DISTANCE_TRANSFORM_
00005 
00006 #include "ByteImage.h"
00007 #include "IntImage.h"
00008 
00009 enum DM_TYPE { EUCLID=0, EUCLID_1=1, CITY_BLOCK=2, CHESSBOARD=3};
00010 const int MAX_INT = 65535;
00011 
00012 
00015 void DistanceTransform(ByteImage &input, DM_TYPE dm_type, IntImage &output);
00031 #endif