[Insight-developers] ImageToHistogramGenerator

Brad King brad.king at kitware.com
Fri, 07 May 2004 11:51:30 -0400


Hello,

I just tried instantiating

itk::Statistics::ImageToHistogramGenerator< itk::Image<float, 2> >

and got errors because the statistics code tries to access 
PixelType::ValueType in the image.  Is this code meant to work only with 
vector images?  I think this should use a numeric trait to get the 
scalar type for any pixel type.

Comments?
-Brad