[Insight-users] how to set thresholds in itkBinaryThresholdImageFilter to segement object having the same value?

robert tamburo robert.tamburo at gmail.com
Tue Jun 21 11:41:42 EDT 2011


That should work fine. What do you mean by 'not working'?

What did you set the inside value to? If you set it to a low value and are
visualizing the results, it will appear as all black unless you rescale the
intensity of the image in the viewer.

On Tue, Jun 21, 2011 at 11:15 AM, anna han wan <anna.han.wan at gmail.com>wrote:

> Hi,
>
> I have my image which is  the result of applying the connected component
> filter ( itkrelabelComponentImageFilter) in my input image.
>
> I would like to segment the component having values of 1 (the biggest
> component) by using itkBinaryThresholdImageFilter a suggested by Mr Luis in
> an email I have read before.
>
> However I do not know how to set the values of lowerThreshold and  upperThreshold
> as the object i want to segment has only one value (which is 1).
>
> I tried giving a value of 1 to both threshold but it is not working.
>
> any help is appreciated
>
>
>
> Thank you,
>
> Anna
>
>
>
> _____________________________________
> 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.html
>
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110621/2691cd4f/attachment.htm>


More information about the Insight-users mailing list