[vtkusers] Fwd: Creating a iso surface out of contours (inaccuracy)

Sam Raby rabysam28 at gmail.com
Fri Apr 4 17:20:01 EDT 2014


Let me rephrase my question:
I have, let's say, 5 manual contours. They are drawn manually on 5
consecutive slices, and I simply want to generate an iso surface from these
5 contours. I have done this using vtkVoxelContoursToSurfaceFilter class,
but I was wondering whether this is the right class to do this? The problem
is, as shown in the image attached, sometime I undergo some inaccuracy.
Thanks for the help.

-S

---------- Forwarded message ----------
From: Sam Raby <rabysam28 at gmail.com>
Date: Thu, Mar 13, 2014 at 10:41 AM
Subject: Fwd: Creating a iso surface out of contours (inaccuracy)
To: "vtkusers at vtk.org" <vtkusers at vtk.org>


any idea about my email below, on why the iso surface somtimes does not
match with the contours? (like the image attached)

thanks

---------- Forwarded message ----------
From: Sam Raby <rabysam28 at gmail.com>
Date: Tue, Mar 11, 2014 at 11:13 PM
Subject: Creating a iso surface out of contours (inaccuracy)
To: "vtkusers at vtk.org" <vtkusers at vtk.org>


Hi,

I am using the following VTK example to create surface out of my contours:

http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/ContoursToSurface

The code seems to be working OK, but sometimes, not always, the generated
iso surface is off a little bit.

Every time that I render the iso surface I also render the original
contours next to the surface. Please see the image attached which shows
that the surface is not precisely representing the contours.

As shown in the figure, the generated surface which is in cyan is a bit off
compared to the black and white lines which are the contours.

When this type of inaccuracy takes place, I try to modify the contours and
then generate the surface again, and sometimes I see that the generated
surface will be magically corrected and become accurate.

Would you let me know what you think about this issue?

thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20140404/cdbeab84/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot from 2014-03-08 17_05_21.png
Type: image/png
Size: 92049 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20140404/cdbeab84/attachment.png>


More information about the vtkusers mailing list