<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hello,<div><br></div><div>The BinaryImageToShapeLabelMapFilter's Centroids are computed in physical space and are represented as a point.</div><div><br></div><div>ITK uses strong type which makes this type of issue clear. The type of itk::ShapreLabelObject::CentroidType[1] is an itk::Point. This is used for physical coordinates. While the itk::Index type ( or itk::ContinuousIndex ) is used for indices.</div><div><br></div><div>Also the PhysicalSize is going to be in your physical units, and not the number of voxels.</div><div><br></div><div>Brad</div><div><br></div><div><br></div><div>[1] <a href="http://www.itk.org/Doxygen/html/classitk_1_1ShapeLabelObject.html#a34402f70c483dfe5b7e412d891d5abf6">http://www.itk.org/Doxygen/html/classitk_1_1ShapeLabelObject.html#a34402f70c483dfe5b7e412d891d5abf6</a></div><div><br><div><div>On Dec 8, 2014, at 10:11 AM, Zein Salah <<a href="mailto:zeinsalah@gmail.com">zeinsalah@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;">Are elements in</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;">a label map no more related to there position in the image? or I am</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;">missing some point here??</span></blockquote></div><br></div></body></html>