[Insight-developers] [Insight-users] ConnectedComponentImage Filter

Bradley Lowekamp blowekamp at mail.nih.gov
Thu May 30 09:08:27 EDT 2013


Please use reply to all to include the users list in the conversation.


On May 30, 2013, at 9:06 AM, rsy at in2p3.fr wrote:

> Thank you
> 
> It works !
> 
> Effectively the output pixel type was char ...
> 
> Ronan
> 
> 
> Bradley Lowekamp <blowekamp at mail.nih.gov> a écrit :
> 
>> 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
>> 
>> 
> 
> 
> 
> ----------------------------------------------------------------------------
> This message was sent using the webmail platform from IN2P3 Computing Center
> 
> 



More information about the Insight-developers mailing list