convert to a vtk file

I want to write a 3D matrix to a vtk file.I worked on different vtkwrite functions which were available online but i only see the image slices(image attached)of the 3D model but i really want to see the surface of the 3D model. I know Joe Yeh also has an awesome function eg: 'polydata' 'lines'but i need a function for 'polydata' VTK'points'. In my case,segmented sections are saved as masks so need to get the points(eg:boundary points) of the segmented sections. If i have that, then i can visualize the model in Paraview. Any suggestions?

Categories

Find more on Convert Image Type in Help Center and File Exchange

Asked:

on 7 Jun 2016

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!