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


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

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

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


desc
@Initial version of the Max-Min Sharpening algorithm.
@


1.3
log
@Added algorithm name to header, spelling changes.
@
text
@// closure-max-min.c    Section: 2.6, Max-Min Shaprening Transform
//      Copyright 1994, Center for Computer Vision and Visualization,
//      University of Florida.  All rights reserved.
// Force instantiation of max_min_sharpening() for
//      u_char, int, and float  valued images.


#include "max-min.h"

int main() {

    // This file should never be executed !

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

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

    IA_Image<IA_Point<int>,float>    fdi( udi );

    IA_Neighborhood<IA_Point<int>,IA_Point<int> >
	nbhd( udi.domain().dim(), udi.domain() );

    max_min_sharpening( udi, nbhd, (unsigned int) 1 );
    max_min_sharpening( idi, nbhd, (unsigned int) 1 );
    max_min_sharpening( fdi, nbhd, (unsigned int) 1 );

    return 0;
}
@


1.2
log
@Modified file header to standard format.
Added exit() to main for picky systems.
Added code to force instantiation of the FDI version.
@
text
@d1 1
a1 1
// closure-max-min.c    Section: 2.6, Max-Min Shaprening
d5 1
a5 1
//      u_char and int  valued images.
d27 1
a27 1
    exit( 0 );
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
// closure.c
d8 1
a8 1
#include "max-min.c"
d10 1
a10 1
void main() {
d18 2
d25 1
d27 1
a27 2
    udi.write_PGM( "/dev/null" );
    idi.write_PGM( "/dev/null" );
@
