[vtkusers] vertex and voxel correspondence using vtkMarchingCubes

Bill Lorensen bill.lorensen at gmail.com
Sat Jul 1 12:28:31 EDT 2017


You can use vtkProbeFilter to do this, but if the surface was
extracted from the voxel volume, all values will be the same.

If you want to sample a different volume, here are two examples

https://lorensen.github.io/VTKExamples/site/Cxx/Visualization/IsosurfaceSampling/
https://lorensen.github.io/VTKExamples/site/Cxx/Medical/TissueLens/

Bill


On Sat, Jul 1, 2017 at 11:26 AM, woshizyc at gmail.com <woshizyc at gmail.com> wrote:
> Hi, experts,
>
> Is there any way that I can get the corresponding voxel of the vertices on
> the isosurface obtained using vtkMarchingCubes.
>
> I want to map the intensity of each voxel to the vertex on the surface, I
> first transform the image into a volume with equal intensity and obtain its
> polydata representation using marching cube in vtk. How can I get the
> vertex-to-voxel correspondence?
>
> Thanks a lot.
>
> zyc
>
>
> ________________________________
> woshizyc at gmail.com
>
> _______________________________________________
> 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
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>



-- 
Unpaid intern in BillsBasement at noware dot com


More information about the vtkusers mailing list