<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div style="RIGHT: auto"><SPAN style="RIGHT: auto">Hello,</SPAN></div>
<div style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: times new roman, new york, times, serif; COLOR: rgb(0,0,0); FONT-SIZE: 16px; RIGHT: auto"><SPAN style="RIGHT: auto"> Thank you very much. I have been able to cut a circular portion from the image and construct a polydata using your suggestion. Now suppose I have set two circular ROIs one inside another in a cylindrical manner and I only want to visualize the cylindrical portion, could any one suggest me how that can be done. </SPAN></div>
<div style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: times new roman, new york, times, serif; COLOR: rgb(0,0,0); FONT-SIZE: 16px; RIGHT: auto"><SPAN style="RIGHT: auto"> Or is there any method available in VTK about cutting out a cylindrical portion from the center of an object.</SPAN></div>
<div style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: times new roman, new york, times, serif; COLOR: rgb(0,0,0); FONT-SIZE: 16px; RIGHT: auto"><SPAN style="RIGHT: auto"> </SPAN></div>
<div style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: times new roman, new york, times, serif; COLOR: rgb(0,0,0); FONT-SIZE: 16px; RIGHT: auto"><SPAN style="RIGHT: auto">Thank in advance.</SPAN></div>
<div style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: times new roman, new york, times, serif; COLOR: rgb(0,0,0); FONT-SIZE: 16px; RIGHT: auto"><SPAN style="RIGHT: auto"></SPAN> </div>
<div style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: times new roman, new york, times, serif; COLOR: rgb(0,0,0); FONT-SIZE: 16px; RIGHT: auto"><SPAN style="RIGHT: auto">Regards,</SPAN></div>
<div style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: times new roman, new york, times, serif; COLOR: rgb(0,0,0); FONT-SIZE: 16px; RIGHT: auto"><SPAN style="RIGHT: auto">Hayden.<VAR id=yui-ie-cursor></VAR></SPAN></div>
<DIV style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt">
<DIV style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt">
<DIV style="RIGHT: auto" dir=ltr>
<DIV style="BORDER-BOTTOM: #ccc 1px solid; BORDER-LEFT: #ccc 1px solid; PADDING-BOTTOM: 0px; LINE-HEIGHT: 0; MARGIN: 5px 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; HEIGHT: 0px; FONT-SIZE: 0px; BORDER-TOP: #ccc 1px solid; BORDER-RIGHT: #ccc 1px solid; PADDING-TOP: 0px" class=hr readonly="true" contenteditable="false"></DIV><FONT size=2 face=Arial><B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> David Gobbi <david.gobbi@gmail.com><BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> Hayden Smith <s_hayden_28@yahoo.com> <BR><B><SPAN style="FONT-WEIGHT: bold">Cc:</SPAN></B> "vtkusers@vtk.org" <vtkusers@vtk.org> <BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Sunday, April 21, 2013 10:13 AM<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> Re: [vtkusers] Setting VOI in a circular manner<BR></FONT></DIV>
<DIV class=y_msg_container><BR>Hi Hayden,<BR><BR>The vtkROIStencilSource can generate a circular ROI for an image that<BR>some of the other image filters can use, e.g. vtkImageStencil can<BR>black out all pixels that are outside of the ROI.<BR><BR>- David<BR><BR>On Sun, Apr 21, 2013 at 8:58 AM, Hayden Smith <<A href="mailto:s_hayden_28@yahoo.com" ymailto="mailto:s_hayden_28@yahoo.com">s_hayden_28@yahoo.com</A>> wrote:<BR>> Dear VTK users,<BR>> I would like to know while using vtkImageReader, is it possible to<BR>> set VOI in a circular manner from the center of image? Current<BR>> implementation shows setting of VOI in a rectangle.<BR>><BR>> Thanks and regards,<BR>> Hayden.<BR><BR><BR></DIV></DIV></DIV></div></body></html>