[Insight-users] AND/OR operation and structuring element

Radhika Sivaramakrishna radhika . sivaramakrishna at synarc . com
Tue, 2 Dec 2003 16:50:49 -0800


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C3B937.5CD23248
Content-Type: text/plain

Hi Luiz,

Thanks for your earlier responses. 
I had the following questions:

1) Given two binary masks, what are the available functions to do an AND or
an OR of these two masks? I see a filter BinaryFunctorImageFilter but do not
know how to use this.

2) I want to specify my own structuring element with the mathematical
morphology filters, which is a 3x3x3 with 
1's only in the nearest neighbor positions and 0's in the off-diagonal
places. How do I do this? i.e. I know how to call the standard
BallStructuring element, but I don't know how to edit it.

Thanks
Radhika


                                                     
-----------------------------------------------------  
Confidentiality Notice. 
This email message is for the sole use of the intended recipient(s) and may
contain confidential and privileged information. Any unauthorized review,
use, disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply email and destroy all copies
of the original message. If you are the intended recipient, please be
advised that the content of this message is subject to access, review and
disclosure by the sender's Email System Administrator.

------_=_NextPart_001_01C3B937.5CD23248
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3DUS-ASCII">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2656.87">
<TITLE>AND/OR operation and structuring element</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>Hi Luiz,</FONT>
</P>

<P><FONT SIZE=3D2>Thanks for your earlier responses. </FONT>
<BR><FONT SIZE=3D2>I had the following questions:</FONT>
</P>

<P><FONT SIZE=3D2>1) Given two binary masks, what are the available =
functions to do an AND or an OR of these two masks? I see a filter =
BinaryFunctorImageFilter but do not know how to use this.</FONT></P>

<P><FONT SIZE=3D2>2) I want to specify my own structuring element with =
the mathematical morphology filters, which is a 3x3x3 with </FONT>
<BR><FONT SIZE=3D2>1's only in the nearest neighbor positions and 0's =
in the off-diagonal places. How do I do this? i.e. I know how to call =
the standard BallStructuring element, but I don't know how to edit =
it.</FONT></P>

<P><FONT SIZE=3D2>Thanks</FONT>
<BR><FONT SIZE=3D2>Radhika</FONT>
</P>
<BR>

<P><FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT>
<BR><FONT =
SIZE=3D2>-----------------------------------------------------&nbsp; =
</FONT>
<BR><FONT SIZE=3D2>Confidentiality Notice. </FONT>
<BR><FONT SIZE=3D2>This email message is for the sole use of the =
intended recipient(s) and may contain confidential and privileged =
information. Any unauthorized review, use, disclosure or distribution =
is prohibited. If you are not the intended recipient, please contact =
the sender by reply email and destroy all copies of the original =
message. If you are the intended recipient, please be advised that the =
content of this message is subject to access, review and disclosure by =
the sender's Email System Administrator.</FONT></P>

</BODY>
</HTML>
------_=_NextPart_001_01C3B937.5CD23248--