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


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

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

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


desc
@First version, defined to force the instantiation of UDI and IDI
  otsu() template functions.
@


1.3
log
@Deleted redundant line with name of section.
@
text
@// closure-otsu.c       Section: 3.7
// Threshold Selection by Maximizing Between Class Variance
//      Copyright 1994, Center for Computer Vision and Visualization,
//      University of Florida.  All rights reserved.
//
// Force instantiations of otsu() for UDI & IDI


#include "otsu.h"


int  main() {

    IA_Image<IA_Point<int>,u_char>
	udi = read_uchar_PGM(cin);

    IA_Image<IA_Point<int>,int>  idi( udi );

    IA_Set<IA_Point<int> >       tau_ps;

    unsigned int partitionCount = 2;    // Any value > 1 is ok
    // Force the UDI instantiation
    tau_ps = otsu( partitionCount, udi );

    // Force the IDI instantiation
    tau_ps = otsu( partitionCount, idi );

    cout << "Instantiations forced for otsu(), UDI & IDI" << endl;

    return 0;
}
@


1.2
log
@Added algorithm to standard header.  Comment and style changes.
@
text
@d5 2
a6 3
// Closure program for the the Threshold Selection by Maximizing
//      Between Class Variance algorithm.
//      We want to force instantiations of otsu() for UDI & IDI
@


1.1
log
@Initial revision
@
text
@d2 1
d13 1
a13 1
void main() {
d16 1
a16 1
	udi = IA_Image<IA_Point<int>,u_char>::read_PGM(cin);
d30 2
@
