[vtkusers] MassProperties in micrometer

eduardo eduardo.hssi at gmail.com
Thu Jan 7 19:29:46 EST 2016


Hello,
I am creating a volume as an image stack as the code:

reader = vtk.vtkPNGReader ()
reader.SetFilePrefix (path)
reader.SetFilePattern (pattern)
reader.SetFileNameSliceOffset (0)
reader.SetFileNameSliceSpacing (1)
reader.SetDataSpacing (1, 1, 1)
reader.SetDataOrigin (0, 0, 0)
reader.SetDataExtent (0, 499, 0, 499, 1 70)

With MassProperties and MachingCubes recover the volume. How to recover the
volume measure micrometer or millimeter?

Would be setting the parameter SetDataSpacing?

thank you



--
View this message in context: http://vtk.1045678.n5.nabble.com/MassProperties-in-micrometer-tp5735865.html
Sent from the VTK - Users mailing list archive at Nabble.com.


More information about the vtkusers mailing list