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


1.3
date	94.10.14.04.37.27;	author rjj;	state Exp;
branches;
next	1.2;

1.2
date	94.08.27.17.26.30;	author rjj;	state Exp;
branches;
next	1.1;

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


desc
@@


1.3
log
@Added algorithm name to header.  Made spelling and style changes.
@
text
@// test-sis.c           Section: 3.8
// Threshold Selection Using a Simple Image Statistic
//      Copyright 1994, Center for Computer Vision and Visualization,
//      University of Florida.  All rights reserved.
// Test for the simple image statisic algorithm.
//

#include "sis.h"
//#include "UcharDI.h"  // check out sis_Specials.c
#include "IntDI.h"

int main() {

    IA_Image<IA_Point<int>,int>
	a = read_int_PGM(cin);

    int
	tau = sis_threshold(a);

    cerr << "Image minimum: " << int(min(a)) << "\t"
	 << "SIS Threshold: " << int(tau) << "\t"
	 << "maximum: " << int(max(a)) << endl;

    cerr << "Applying threshold value to image." << endl;
    a = chi_ge(a,tau);

    a.write_PGM(cout);

    return 0;
}
@


1.2
log
@Modified to be iac++ 2.0 compliant.
@
text
@d1 2
a2 1
// test-sis.c 
d9 1
a9 1
//#include "UcharDI.h"
d29 1
a29 1
    exit( 0 );
@


1.1
log
@Initial revision
@
text
@d8 1
a9 1
//#include "UcharDI.h"
d11 1
a11 1
void main() {
d14 1
a14 1
	a = IA_Image<IA_Point<int>,int>::read_PGM(cin);
d27 2
@
