[Insight-users] Vornoi Segmentation Image Filter

Hari sundar hsundar at seas.upenn.edu
Wed, 25 Feb 2004 18:43:17 -0500


Hi,

Does the VoronoiSegmentationImageFilter only work in 2D ?

I tried to use it with 3D images and get this compile error ...

thanks,
-Hari

--------------------------------------------------------------------------------------------------
(ITK 1.6)

call to `itk::VoronoiSegmentationImageFilter<main(int,
   char**)::InternalImageType, main(int, char**)::ImageType, main(int,
   char**)::BinaryImageType>::TakeAPrior(main(int,
char**)::BinaryImageType*)'
/usr/local/src/InsightToolkit-1.6.0/Code/Algorithms/itkVoronoiSegmentationImageFilter.txx:119: candidates
   are: void itk::VoronoiSegmentationImageFilter<TInputImage,
TOutputImage,
  
TBinaryPriorImage>::TakeAPrior(itk::VoronoiSegmentationImageFilterBase<TInputImage,
   TOutputImage, itk::Image<unsigned char, 2> >::BinaryObjectImage*)
[with
   TInputImage = main(int, char**)::InternalImageType, TOutputImage =
main(int,
   char**)::ImageType, TBinaryPriorImage = main(int,
char**)::BinaryImageType]