Where to find throat.centroid? #554
Answered
by
jgostick
kweishaupt
asked this question in
Q&A
|
Around half a year ago on the dev branch, I was able to get Has this property been renamed or removed? Is it the same as |
Answered by
jgostick
Jul 19, 2021
Replies: 1 comment
|
Yes, it's been renamed global_peak, which is the location of the maxima of the global distance transform within the throat voxels (defined by the 2-layer thick region forming the boundary where the two neighboring regions touch). This has always been how the centroid was found, so we changed the name to be more descriptive. It would be easy to add the centroid, but it's calculated in a different way (it's the actual geometric centroid of the voxels) |
0 replies
Answer selected by
ma-sadeghi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, it's been renamed global_peak, which is the location of the maxima of the global distance transform within the throat voxels (defined by the 2-layer thick region forming the boundary where the two neighboring regions touch). This has always been how the centroid was found, so we changed the name to be more descriptive. It would be easy to add the centroid, but it's calculated in a different way (it's the actual geometric centroid of the voxels)