[Insight-users] VectorImage::ValueType should be TPixel or PixelType?

ahmed saad ahmedalysaad2004 at yahoo.com
Wed Jun 4 04:52:38 EDT 2008


Hello,
  In itkVectorImage.h, I think the definition of the valuetype should be
 
  typedef PixelType ValueType ;

  instead of 

  typedef TPixel ValueType ;

I faced compilation errors when I tried to use the vectorimage with the ImageClassifierBase and DistanceToCentroidMembershipFunction as it seems they look for the valuetype of the input image which returns TPixel (i.e. float or double) instead of the VariableLengthVector< TPixel >

your help is really appreciated.

Best regards,
Ahmed Saad


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20080604/26c1105d/attachment-0001.htm>


More information about the Insight-users mailing list