[vtkusers] Marching cubes rendering

Bill Lorensen bill.lorensen at gmail.com
Tue Aug 30 10:46:40 EDT 2011


I suggest using the meta file format to save your segmented 3d volume. In
your itkImageWriter, set the filename to something.mha. Likewise on the
reader.

On Tue, Aug 30, 2011 at 9:12 AM, khaled danwar <khaled.danwar53 at gmail.com>wrote:

> Hi Bill,
>
> Attached is the c++ file, thanks for any help you can give. I'm suspecting
> that I am not writing my segmentation outputs to their files correctly, but,
> then again, I am very new to itk and vtk and I could be wrong. Sorry about
> the code being untidy and not organized; I wanted to get the final result
> before anything else.
>
> I've done some researching and found that particular vtk examples in the
> Medical folder were suggested (ie Medical1, Medical2, Medical3.cxx and
> especially GenerateModelsFromLabel.cxx, the last one tends to be suited to
> getting the 3d render I want after segmentation, but Im not sure what kind
> of files they are asking for as inputs, ie " DATADIR/headsq/quarter" and
> 'Input Volume' (is the latter just a series of dicom files?)).
>
> Thanks
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110830/792261fa/attachment.htm>


More information about the vtkusers mailing list