Dear VTK-Users,<br><br>I&#39;m having trouble with something that seems to be very simple.<br><br>I have a vtkImageActor that has an image I read from the hard drive.  I also have a vtkContourWidget rendered as well.  I set the points of the vtkContourWidget based on a segmentation algorithm we have developed, and it is a closed contour.  The user can move the points around, and it looks pretty sweet.<br>

<br>How can I check if a pixel in my image is inside or outside the vtkContourWidget?  The best option seemed to be to use Delaunay Triangulation to &quot;fill&quot; the contour, and then use vtkSelectEnclosedPoints to check if the points are inside the contour or not.  However, for some reason it doesn&#39;t seem to consider my triangulated contour as closed, so it doesn&#39;t work.<br>

<br>Surely there&#39;s a simple way of doing this. <br><br>Thank you.<br><br>-George<br>