[ITK] Binary thresholding using OtsuThresholdImageFilter

Girish, Gavaskar Ruturaj gavaskar.ruturaj.girish at philips.com
Thu May 8 05:50:24 EDT 2014


Dear all,

In OtsuThresholdImageFilter, can we decide if the calculated Otsu threshold becomes the lower threshold or upper threshold? I want a means to set values in the range (0, Otsu threshold) to 255 and other values to 0. What parameters do I need to set to achieve this?
(I checked the code here: http://www.itk.org/Wiki/ITK/Examples/Segmentation/OtsuThresholdImageFilter , where the functions SetInsideValue & SetOutsideValue have not been used, so I am confused.)

Thanks & Regards
Ruturaj


________________________________
The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20140508/e26c7487/attachment.html>


More information about the Community mailing list