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


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

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


desc
@Initial check in of histogram-iter files
@


1.2
log
@Added standard header, changed input to use function version of read,
  changed return mechanism.
@
text
@// test-cumulative-histogram.c   Section: 9.4 Cumulative Histogram
//      Copyright 1994, Center for Computer Vision and Visualization,
//      University of Florida.  All rights reserved.
//
// Calculate the cumulative histogram of an image using the
//      iterative verison of the histogram code.
//

#include "histogram.h"

int  main() {
    // Read the image
    IA_Image<IA_Point<int>,u_char>
	a = read_uchar_PGM(cin);

    IA_Image<IA_Point<int>,int>
	a_cumhistogram = cumulative_histogram( a );

    cout << a_cumhistogram << endl;

    return 0;
}
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
// test-cumulative-histogram.c   Section: 9.4
d11 1
a11 1
main() {
d14 1
a14 1
	a = IA_Image<IA_Point<int>,u_char>::read_PGM(cin);
d20 2
@
