head	1.1;
access;
symbols;
locks; strict;
comment	@// @;


1.1
date	95.01.11.05.27.52;	author rjj;	state Exp;
branches;
next	;


desc
@First version of this program, needed now because the euler code
   has been extracted into a module suitable for library inclusion.
@


1.1
log
@Initial revision
@
text
@// test-euler.c         Section: 11.6, Euler Number
//      Copyright 1994, Center for Computer Vision and Visualization,
//      University of Florida.  All rights reserved.


#include "euler.h"
#include "UcharDI.h"


int  main() {

    IA_Image<IA_Point<int>,IA_Bit>
	a = to_bit( read_uchar_PGM( cin ) );

    cout << "4-connected Euler number is: " << euler_number_e4( a ) << "\n";
    cout << "8-connected Euler number is: " << euler_number_e8( a ) << "\n";

    return 0;
}
@
