[Insight-users] Re: How to Wrapper the ImageToHistogramGenerator
Class
Brad King
brad.king at kitware.com
Fri Jun 17 11:46:39 EDT 2005
Oliveira Marcelo wrote:
> typedef
> itk::Statistics::ImageToHistogramGenerator<image::US2>::ImageToHistogramGenerator
> itkImageToHistogramGeneratorUS2;
This instantiation won't even work in C++. Look at the documentation
for ImageToHistogramGenerator:
/** \class ImageToHistogramGenerator
* \brief This class generates an histogram from an image.
*
* The concept of Histogram in ITK is quite generic. It has been
designed to
* manage multiple components data. This class facilitates the
computation of
* an histogram from an image. Internally it creates a List that is
feed into
* the ListSampleToHistogramGenerator.
*
*/
It is meant only for multiple component data, not scalar images like
image::US2.
-Brad
More information about the Insight-users
mailing list