[Insight-users] ConnectedComponentImage Filter

Bradley Lowekamp blowekamp at mail.nih.gov
Thu May 30 08:32:54 EDT 2013


Hello,

Is the output pixel type of the image char? or other 1 byte type? Try changing the pixel type of the output image template parameter to int.

Brad

On May 30, 2013, at 5:17 AM, rsy at in2p3.fr wrote:

> hi,
> 
> I am using "ConnectedComponentImageFilter" to count cells in 2D image : that works good for my "contrôle Image" with  100 cells but when i try with a "tumor image" there is a problem :
> 
> itk::ERROR: MultiThreader(1AB0DF78): Exception occurred during SingleMethodExecute
> c:\appli\mevislab2.3.1\packages\fmework\thirdparty\sources\itk\include\itk-4.1\itkConnectedComponentImageFilter.hxx:352:
> itk::ERROR: ConnectedComponentImageFilter(1A625630): Number of objects greater than maximum of output pixel type
> 
> Can somebody help me please,
> 
> Ronan,
> 
> ----------------------------------------------------------------------------
> This message was sent using the webmail platform from IN2P3 Computing Center
> 
> 
> _____________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> 
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
> 
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users



More information about the Insight-users mailing list