[vtkusers] Visualising the output of segmentation

Bill Lorensen bill.lorensen at gmail.com
Thu Sep 15 08:56:25 EDT 2011


MarchingCubes is meant to run on continuous data. If you want to generate a
surface from the segmented data, I suggest using DiscreteMarchingCubes.

Here is a wiki example that uses DiscreteMacrhingCubes

http://itk.org/Wiki/VTK/Examples/Cxx/Medical/GenerateModelsFromLabels


On Thu, Sep 15, 2011 at 8:39 AM, John Hiller <john.hiller53 at gmail.com>wrote:

> Hi vtk users
>
> I'm new to vtk and vtk (sorry if this question doesn't apply to vtk).
>
> Okay, so this is what I'm doing:
> 1) read a dicom series, I process each dicom slice individually
> 2) pick the segmentation points on a particular dicom slice
> 3) segment using confidence connected filter and save (or write to a file
> in other words) the result to a .mha file
> 4) Continuously do this for each dicom slice to get series of .mha files
> 5) Once all that is done, I attempt to use Marching cubes from vtk to
> render a 3D surface image from the .mha files.
>
> Everything works with no errors, its just that the vk window comes up black
> (showing nothing). I'm pretty sure the .mha files contain something (they're
> round about the same size as the original dicom file). I did the cout <<
> reader->getOutput(), and it outputs information. I'm presuming that I am
> using vtk MarchingCubes incorrectly.
>
> Any advice would be helpful
> Thanks
> John
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110915/c9a498d6/attachment.htm>


More information about the vtkusers mailing list