// euler.h              Section: 11.6, Euler Number
//      Copyright 1994, Center for Computer Vision and Visualization,
//      University of Florida.  All rights reserved.


#ifndef _euler_h_
#define _euler_h_

#include "BitDI.h"

// There are two version of the Euler Number algorithm,
//    the first for 4-connected components, and
//    the second for 8-connected components.

int
euler_number_e4( const IA_Image<IA_Point<int>,IA_Bit> & image );

int
euler_number_e8( const IA_Image<IA_Point<int>,IA_Bit> & image );

#endif
