[Insight-users] Class to represent points of closed contour?

Parag Chandra pchandra@radonc.unc.edu
Wed, 20 Nov 2002 11:07:22 -0500


This is a multi-part message in MIME format.

------=_NextPart_000_00A5_01C29085.003727E0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi all,

I apologize if this has been asked before, but it's currently a little =
difficult to search the archives. Basically what I want to know is, what =
is the best way to represent the points of a closed contour that I've =
traced out on a 2-D, binary image? I am currently just using =
std::vector<itk::Point> for this purpose, but I would like to be able to =
perform operations like "Is a given point inside the contour or =
outside?", and I suspect that there is already something in ITK that =
will let me do this. Thanks in advance.

Best regards,
Parag Chandra
------=_NextPart_000_00A5_01C29085.003727E0
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.1106" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi all,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I apologize if this has been asked =
before, but it's=20
currently a little difficult to search the archives. Basically what I =
want to=20
know is, what is the best way to represent the points of a closed =
contour that=20
I've traced out on a 2-D, binary image? I am currently just using=20
std::vector&lt;itk::Point&gt; for this purpose, but I would like to be =
able to=20
perform operations like "Is a given point inside the contour or =
outside?", and I=20
suspect that there is already something in ITK that will let me do this. =
Thanks=20
in advance.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Best regards,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Parag =
Chandra</FONT></DIV></BODY></HTML>

------=_NextPart_000_00A5_01C29085.003727E0--