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


1.2
date	95.01.09.18.13.12;	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, corrected several comments.
@
text
@// histogram.h     Section: 9.3 Histogram & 9.4 Cumulative Histogram
//      Copyright 1994, Center for Computer Vision and Visualization,
//      University of Florida.  All rights reserved.
//
// An iterative version of the histogram program.
// This version will usually be faster on sequential machines.
// The template version may be faster on parallel machines.


#ifndef _histogram_iter_h_
#define _histogram_iter_h_


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


//////////////////////////////////////////////////////////////////
// histogram()
//   Calculate the histogram of an image using
//   iteration over the values of the image
//
template <class P, class T>
IA_Image<IA_Point<int>,int>
histogram( const IA_Image<P,T> & a );



//////////////////////////////////////////////////////////////////
// cumulative_histogram()
//   Calculate the cumulative histogram of an image using
//   iteration over the value of the histogram image
//
template <class P, class T>
IA_Image<IA_Point<int>,int>
cumulative_histogram( const IA_Image<P,T> & a );




//////////////////////////////////////////////////////////////////
// normalized_histogram()
//   Return the normalized histogram of an image
//
template <class P, class T>
IA_Image<IA_Point<int>,float>
normalized_histogram(const IA_Image<P,T> &a);


//////////////////////////////////////////////////////////////////
// normalized_cumulative_histogram()
//   Return the normalized cumulative histogram of an image
//
template <class P, class T>
IA_Image<IA_Point<int>,float>
normalized_cumulative_histogram(const IA_Image<P,T> &a);

#endif
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
// histogram.h     Section: 9.3 & 9.4
d5 1
a5 1
// An interative version of the histogram program.
d44 1
a44 1
//   Return the normailzed histogram of an image
d53 1
a53 1
//   Return the normailzed cumulative histogram of an image
@
