[vtkusers] MassProperties in micrometer

David Gobbi david.gobbi at gmail.com
Thu Jan 7 20:30:17 EST 2016


Here is an example.  If the pixel spacing is (0.4mm, 0.4mm) and the spacing
between slices is 1.0 mm then do this:

reader.SetDataSpacing (0.4, 0.4, 1.0)

There is no formula.  VTK does not use units. So if you give VTK
millimetres, then it gives you millimetres back again.  If you give VTK
micrometers, then it gives you micrometers back again.

 - David

On Thu, Jan 7, 2016 at 5:51 PM, eduardo <eduardo.hssi at gmail.com> wrote:

> How to set the correct spacing in millimeters? Is there any formula?
>
>
>
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/MassProperties-in-micrometer-tp5735865p5735867.html
> Sent from the VTK - Users mailing list archive at Nabble.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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160107/def54868/attachment.html>


More information about the vtkusers mailing list