[Insight-developers] ShapedNeighborhoodIterators

Miller, James V (Research) millerjv at crd . ge . com
Tue, 27 May 2003 12:03:26 -0400


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_01C32469.81D2915C
Content-Type: text/plain;
	charset="iso-8859-1"

Josh,
 
What is the recommended way to access the face connected neighbors of a
pixel using the NeighborhoodIterators? The options seem to be
NeighborhoodIterator:GetNext()/GetPrevious() and setting up a
ShapedNeighborhoodIterator.
 
The ShapedNeighborhoodIterator "should" be faster when moving the iterator
since it only updates a few of the pointers.  But are there convenience
methods for activating the face connected neighbors (and the center pixel)
of an iterator? Or do I need to call ActivateOffset() manually for each face
connected pixel?
 
Jim
 
 

Jim Miller 
_____________________________________
Visualization & Computer Vision
GE Research
Bldg. KW, Room C218B
P.O. Box 8, Schenectady NY 12301

millerjv at research . ge . com <mailto:millerjv at research . ge . com> 

james . miller at research . ge . com
(518) 387-4005, Dial Comm: 8*833-4005, 
Cell: (518) 505-7065, Fax: (518) 387-6981 

 

------_=_NextPart_001_01C32469.81D2915C
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 6.00.2800.1141" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN 
class=615504615-27052003>Josh,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=615504615-27052003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=615504615-27052003>What is the 
recommended way to access the face connected neighbors of a pixel using the 
NeighborhoodIterators? The options seem to be 
NeighborhoodIterator:GetNext()/GetPrevious() and setting up a 
ShapedNeighborhoodIterator.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=615504615-27052003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=615504615-27052003>The 
ShapedNeighborhoodIterator "should" be faster when moving the iterator since it 
only updates a few of the pointers.&nbsp; But are there convenience methods for 
activating the face connected neighbors (and the center pixel)&nbsp; of an 
iterator?&nbsp;Or do I need to call ActivateOffset() manually for each face 
connected pixel?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=615504615-27052003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=615504615-27052003>Jim</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV>
<P style="MARGIN: 0in 0in 0pt"><B><SPAN 
style="COLOR: navy; FONT-FAMILY: 'Comic Sans MS'">Jim Miller</SPAN></B> 
<BR><B><I><SPAN 
style="FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: Arial">_____________________________________</SPAN></I></B><BR><EM><SPAN 
style="FONT-SIZE: 7.5pt; COLOR: black; FONT-FAMILY: Arial">Visualization &amp; 
Computer Vision</SPAN></EM><I><SPAN 
style="FONT-SIZE: 7.5pt; COLOR: black; FONT-FAMILY: Arial"><BR><EM>GE 
Research</EM><BR><EM>Bldg. KW, Room C218B</EM><BR><EM>P.O. Box 8, Schenectady NY 
12301</EM><BR><BR></SPAN></I><EM><U><SPAN 
style="FONT-SIZE: 7.5pt; COLOR: blue"><A 
href="mailto:millerjv at research . ge . com">millerjv at research . ge . com</A></SPAN></U></EM></P>
<P style="MARGIN: 0in 0in 0pt"><EM><U><SPAN 
style="FONT-SIZE: 7.5pt; COLOR: blue">james . miller at research . ge . com</SPAN></U></EM><BR><I><SPAN 
style="FONT-SIZE: 7.5pt; COLOR: black; FONT-FAMILY: Arial">(518) 387-4005, Dial 
Comm: 8*833-4005, </SPAN></I><BR><I><SPAN 
style="FONT-SIZE: 7.5pt; COLOR: black; FONT-FAMILY: Arial">Cell: (518) 505-7065, 
Fax: (518) 387-6981</SPAN></I> </P></DIV>
<DIV>&nbsp;</DIV></BODY></HTML>

------_=_NextPart_001_01C32469.81D2915C--