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


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

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


desc
@Closure generating file for the rolling-ball algorithm.
@


1.2
log
@Added standard section header.
@
text
@// closure-rolling-ball.c  Section: 5.7, The Rolling Ball Algorithm
//      Copyright 1994, Center for Computer Vision and Visualization,
//      University of Florida.  All rights reserved.

// Closure generating program for the rolling ball application.

#include "rolling-ball.h"

int main( ) {

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

    IA_Image<IA_Point<int>,int>    idi( image );
    IA_Image<IA_Point<int>,float>  fdi( image );

    double radius( 10 );
    cerr << "Using a ball with radius = " << radius << endl;

    image = rolling_ball( image, radius );
    idi   = rolling_ball( idi,   radius );
    fdi   = rolling_ball( fdi,   radius );

    return 0;
}
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
// closure-rolling-ball.c  Section: 5.7
d9 1
a9 1
void main( ) {
d23 1
a23 1
    exit( 0 );
@
