<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hello,</div><div><br></div><div>I have a vtkPolydata contour that I'd like to convert into image data. This is similar to the example here:</div><div><h1 id="firstHeading" class="firstHeading"><span class="Apple-style-span" style="font-weight: normal;"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">VTK/Examples/Cxx/PolyData/PolyDataContourToImageData</span></font></span></h1></div><div>except that I don't want the image contour to be filled. I thought that I could get around this by using polyData->GetPoints, iterating through the point list, converting to an ITK image index, and assigning the image data value. However, I get the ridge artifact shown in the image I've attached. </div><div><br></div><div>Please let me know if you have any ideas on the optimal method to solve this problem.</div><div><br></div><div>Thanks,</div><div>Sara</div><div><br></div><img height="452" width="840" apple-width="yes" apple-height="yes" src="cid:3B3C85D7-3849-457F-A89F-7565AFA878DE@dhcp4.washington.edu"></body></html>