Date: Feb 16, 2013 12:47 PM
Author: Avri Alony
Subject: Segmentation - Image Process

I have image of dark ring.

How can I set NaN in all pixels outside the ring.

note that the pixel values inside the ring and in the background are in the same value (~0.9) so I can't just use I(I > 0.8) = NaN. I need a morphological method.