[vtkusers] How to get slice's white regions centroid ?

沧海一粟 liyihai2009 at qq.com
Thu Jun 11 04:32:21 EDT 2015

I have used vtkImagePlaneWidget to extract slice from 3D image (figure 1). Now,  I want to get the centroid coordinates(3D world coordinates) of figures 1's white regions, how can I do it ?

          figure 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150611/556890a0/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: A9C8A6E7 at 9A372936.95477955.jpg
Type: image/jpeg
Size: 1782 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150611/556890a0/attachment.jpg>

More information about the vtkusers mailing list