[Insight-users] Converting WatershedSegmentation1.cxx to c# and 3d

Carl Bateman Carl.Bateman at icr.ac.uk
Thu Apr 22 10:41:28 EDT 2010


I continue to convert the c++ examples, I'm now at WatershedSegmentation1.cxx.

Is it possible to extend this method to work in 3d?
And is it possible to convert it to c#?

I'm having problems converting the following chain of typedefs:
  typedef itk::Vector<float, 3>          VectorPixelType;
  typedef itk::Image<VectorPixelType, 2> VectorImageType;
  typedef itk::VectorCastImageFilter<RGBImageType, VectorImageType>  CastFilterType;
  typedef itk::VectorGradientAnisotropicDiffusionImageFilter<VectorImageType, VectorImageType>  DiffusionFilterType;

Any help much appreciated.

Regards,

Carl Bateman


The Institute of Cancer Research: Royal Cancer Hospital, a charitable Company Limited by Guarantee, Registered in England under Company No. 534147 with its Registered Office at 123 Old Brompton Road, London SW7 3RP.

This e-mail message is confidential and for use by the addressee only.  If the message is received by anyone other than the addressee, please return the message to the sender by replying to it and then delete the message from your computer and network.


More information about the Insight-users mailing list