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


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


desc
@Test the gauss.[ch] files.
@


1.1
log
@Initial revision
@
text
@// test-gauss
//      Copyright 1994, Center for Computer Vision and Visualization,
//      University of Florida.  All rights reserved.


#include "gauss.h"

#include "IntDI.h"
#include "FloatDI.h"


#define MIN_VALUE  0.00
#define MAX_VALUE 31.00


main() {
    IA_Image<IA_Point<int>,int>
	im1( read_int_PGM(cin) );

    IA_Image<IA_Point<int>,float>
	im2(im1);

    IA_Gauss noise(0, 10, 0.50, MIN_VALUE, MAX_VALUE);

    im2  = compose(noise, im2);

    im1 = to_int(im2);

    im1.write_PGM( cout );
}
@
