[ITK] Otsu Filter for object/background separation

Zein Salah zeinsalah at gmail.com
Wed Nov 12 06:08:06 EST 2014


Hello,

I have been using the otsu filter for doing object-from-background
separation. However, I noticed that the filter always comes out with an
separation threshold, even if the image does NOT actually have a
"reasonable" background, see the attached image, e.g..

My question is: is it possible to control the filter in such a way that it
only generate a threshold if there is really a background?

Practically, I could, in a post-processing step,  do a decision weather the
separation is feasible or not, e.g. computing the comparing the statistics
of the two separated areas (average intensity, variance, etc.). But I
thought the otsu filter already does such things internally, right? Is it
possible to inquire such data from the filter?

Any ideas would be welcome!!

Much thanks,

Zein
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20141112/1aba4b7a/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: obj-bg.jpg
Type: image/jpeg
Size: 239545 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/community/attachments/20141112/1aba4b7a/attachment-0001.jpg>


More information about the Community mailing list