[Insight-developers] ImageToHistogramGenerator
   
    Miller, James V (Research)
     
    millerjv at crd.ge.com
       
    Fri, 7 May 2004 13:31:30 -0400
    
    
  
The statistics library was designed to operate on vector data. This 
is unfortunate because the first thing people try always seems to be
scalar data data.
There is an adaptor to convert scalar data to vector data. 
There is also an 
itk::Statistics::ScalarImageToHistogramGenerator<>
-----Original Message-----
From: Brad King [mailto:brad.king at kitware.com]
Sent: Friday, May 07, 2004 11:52 AM
To: Insight Developers
Subject: [Insight-developers] ImageToHistogramGenerator
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
_______________________________________________
Insight-developers mailing list
Insight-developers at itk.org
http://www.itk.org/mailman/listinfo/insight-developers