<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN lang=EN-GB style="FONT-SIZE: 11pt; mso-no-proof: yes; mso-ansi-language: EN-GB"><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p><FONT face="Times New Roman"> </FONT></o:p></SPAN></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN lang=EN-GB style="FONT-SIZE: 11pt; mso-no-proof: yes; mso-ansi-language: EN-GB"><FONT face="Times New Roman">Hi, <o:p></o:p></FONT></SPAN></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN lang=EN-GB style="FONT-SIZE: 11pt; mso-no-proof: yes; mso-ansi-language: EN-GB"><FONT face="Times New Roman">I extract a surface from a segmented object. the mesh is an instance of the <o:p></o:p></FONT></SPAN></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN lang=EN-GB style="FONT-SIZE: 11pt; mso-no-proof: yes; mso-ansi-language: EN-GB"><FONT face="Times New Roman">QuadEdgeMesh class as I’m going to use the <SPAN style="COLOR: maroon">itkQuadEdgeMeshDiscreteGaussianCurvatureEstimator</SPAN> later in order to extract the curvature.<o:p></o:p></FONT></SPAN></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN lang=EN-GB style="FONT-SIZE: 11pt; mso-no-proof: yes; mso-ansi-language: EN-GB"><FONT face="Times New Roman">When I visualize the extracted mesh it’s simply a black image. But if I change the type of the mesh from itkQuadEdgeMesh to itk::Mesh, it works fine and I can vizualize the extracted surface.<o:p></o:p></FONT></SPAN></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN lang=EN-GB style="FONT-SIZE: 11pt; mso-no-proof: yes; mso-ansi-language: EN-GB"><o:p><FONT face="Times New Roman"> </FONT></o:p></SPAN></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN lang=EN-GB style="FONT-SIZE: 11pt; mso-ansi-language: EN-GB"><FONT face="Times New Roman">So not working with a mesh of type:<o:p></o:p></FONT></SPAN></DIV>
<DIV><FONT face="Times New Roman"><SPAN lang=EN-GB style="FONT-SIZE: 11pt; COLOR: blue; mso-no-proof: yes; mso-ansi-language: EN-GB">typedef</SPAN><SPAN lang=EN-GB style="FONT-SIZE: 11pt; mso-no-proof: yes; mso-ansi-language: EN-GB"> QuadEdgeMeshExtendedTraits <<SPAN style="COLOR: blue"> double</SPAN>, 3, 2, <SPAN style="COLOR: blue">double</SPAN>, <SPAN style="COLOR: blue">double</SPAN>, <SPAN style="COLOR: blue">double</SPAN>, <SPAN style="COLOR: blue">bool</SPAN>, <SPAN style="COLOR: blue">bool</SPAN> > Traits;<o:p></o:p></SPAN></FONT></DIV>
<DIV><FONT face="Times New Roman"><SPAN lang=EN-GB style="FONT-SIZE: 11pt; COLOR: blue; mso-no-proof: yes; mso-ansi-language: EN-GB">typedef</SPAN><SPAN lang=EN-GB style="FONT-SIZE: 11pt; mso-no-proof: yes; mso-ansi-language: EN-GB"> QuadEdgeMesh<<SPAN style="COLOR: blue"> double</SPAN>, 3, Traits > MeshType;<o:p></o:p></SPAN></FONT></DIV>
<DIV><SPAN lang=EN-GB style="FONT-SIZE: 11pt; mso-no-proof: yes; mso-ansi-language: EN-GB"><o:p><FONT face="Times New Roman"> </FONT></o:p></SPAN></DIV>
<DIV><SPAN lang=EN-GB style="FONT-SIZE: 11pt; mso-no-proof: yes; mso-ansi-language: EN-GB"><FONT face="Times New Roman">but working with: <o:p></o:p></FONT></SPAN></DIV>
<DIV><FONT face="Times New Roman"><SPAN lang=EN-GB style="FONT-SIZE: 11pt; COLOR: blue; mso-no-proof: yes; mso-ansi-language: EN-GB">typedef</SPAN><SPAN lang=EN-GB style="FONT-SIZE: 11pt; mso-no-proof: yes; mso-ansi-language: EN-GB"> itk::Mesh<<SPAN style="COLOR: blue">double</SPAN>, 3,itk::DefaultStaticMeshTraits< <SPAN style="COLOR: blue">double</SPAN>, 3, 3, <SPAN style="COLOR: blue">double</SPAN>, <SPAN style="COLOR: blue">double</SPAN> > > MeshType;<o:p></o:p></SPAN></FONT></DIV>
<DIV><SPAN lang=EN-GB style="FONT-SIZE: 11pt; mso-no-proof: yes; mso-ansi-language: EN-GB"><FONT face="Times New Roman"> <o:p></o:p></FONT></SPAN></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN lang=EN-GB style="FONT-SIZE: 11pt; mso-no-proof: yes; mso-ansi-language: EN-GB"><FONT face="Times New Roman">For the visualization I use the same procedure as in vtk2itk code.<o:p></o:p></FONT></SPAN></DIV>
<DIV><SPAN lang=EN-GB style="FONT-SIZE: 11pt; mso-no-proof: yes; mso-ansi-language: EN-GB"><o:p><FONT face="Times New Roman"></FONT></o:p></SPAN></DIV>
<DIV><SPAN lang=EN-GB style="FONT-SIZE: 11pt; mso-no-proof: yes; mso-ansi-language: EN-GB"><o:p><FONT face="Times New Roman"> </FONT></o:p></SPAN></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN lang=EN-GB style="FONT-SIZE: 11pt; mso-no-proof: yes; mso-ansi-language: EN-GB"><FONT face="Times New Roman">Do you have any idea about the cause of this problem ? <o:p></o:p></FONT></SPAN></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN lang=EN-GB style="FONT-SIZE: 11pt; mso-no-proof: yes; mso-ansi-language: EN-GB"><FONT face="Times New Roman">thank you <o:p></o:p></FONT></SPAN></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN lang=EN-GB style="FONT-SIZE: 11pt; mso-no-proof: yes; mso-ansi-language: EN-GB"><FONT face="Times New Roman">Regards <o:p></o:p></FONT></SPAN></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN lang=EN-GB style="FONT-SIZE: 11pt; mso-no-proof: yes; mso-ansi-language: EN-GB"><FONT face="Times New Roman">Martine.<o:p></o:p></FONT></SPAN></DIV><BR><BR><BR></td></tr></table><br>