<div>I have used <font color="#800080"><span style="font-size: 14px; line-height: 1.5; white-space: pre-wrap;">vtkImagePlaneWidget to </span><span style="white-space: pre-wrap;">extract</span><span style="font-size: 14px; line-height: 1.5; white-space: pre-wrap;"> slice from 3D image (figure 1). Now,  I want to get the centroid coordinates(</span></font><span style="color: rgb(128, 0, 128); white-space: pre-wrap; font-size: 14px; line-height: 1.5;">3D world coordinates</span><span style="line-height: 1.5; font-size: 14px; color: rgb(128, 0, 128); white-space: pre-wrap;">) of figures 1's white regions</span><span style="line-height: 1.5; font-size: 14px; white-space: pre-wrap; color: rgb(128, 0, 128);">, how can I do it ?</span></div><div><img src="cid:A9C8A6E7@9A372936.95477955.jpg" filesize="1782"></div><div>          figure 1</div>