[Insight-users] Fill holes in mask

Radhika Sivaramakrishna Radhika Sivaramakrishna" <radshashi at earthlink.net
Thu, 22 Jan 2004 09:14:03 -0800


This is a multi-part message in MIME format.

------=_NextPart_000_002E_01C3E0C8.1454D210
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,
I have a mask (binary image) with a few holes in the ON region. And I =
want to fill those holes. Is there
already a procedure in ITK which does this automatically? Or can someone =
recommend a simple procedure to do this? Basically I think I need a =
flood fill operation but not sure how to use it in this context.

Radhika

------=_NextPart_000_002E_01C3E0C8.1454D210
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1276" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I have a mask (binary image) with a few =
holes in=20
the ON region. And I want to fill those holes. Is there</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>already a procedure in ITK which does =
this=20
automatically? Or can someone recommend a simple procedure to do this? =
Basically=20
I think I need a flood fill operation but not sure how to use it in this =

context.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Radhika</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_002E_01C3E0C8.1454D210--