active contours roi, not binary but keeping pixels with different intensity

Home Forums Plugins active contours roi, not binary but keeping pixels with different intensity

  • Ines H

    Hello,

    I wanted to use Active contours to delimit a ROI and create a “mask” where outside the ROI the image is black. I manage to obtain that kind of image using AS_LABELS however the image is binary and I want to keep the different intensity of the pixels in the active contours ROI. Is it possible to do that?

    Thank you very much.

    Stephane Dallongeville

    Hi Ines,

    You can fill region ‘outside’ the ROI using the “Fill exterior” command with 0 value to put it all black :

    I think it will do what you’re looking for.

    Best,

    – Stephane

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.