-
-
Notifications
You must be signed in to change notification settings - Fork 381
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deprecation of LabelGeometryImageFilter (used in LabelGeometryMeasures) #1733
Comments
hmm - this would be a problem for me. @cookpa thickness = Volume / area .... so we compute area on the fly when we need to ... A is the surface area of one side of the sheet. |
Looks like this is a suggested replacement https://itk.org/Doxygen/html/classitk_1_1LabelImageToShapeLabelMapFilter.html |
I'll work on it, and do some comparisons on the results |
I'm happy to test as I use LabelGeometryMeasures for some work. |
As well as LabelGeometryMeasures, this filter is used in
|
LabelGeometryImageFilter is used in the undocumented "LabelThickness2" function in ImageMath. It appears to compute average thickness based on the ratio of the volume to perimeter, then replaces the input labels with the average thickness for each label. @ntustison @stnava do we still need this? ANTs/Examples/ImageMath_Templates.hxx Lines 10782 to 10867 in 4c68a48
|
It seems that the pseudo-thickness image from ImageMath LabelThickness2 should be provided by |
Thanks @cookpa . I'm pretty sure that the only use that had was around the time the 2014 cortical thickness paper was written. As far as I'm concerned, we can get rid of it. |
I talk about the changes a bit more here |
OK I think we are good to go now, all uses of LabelGeometryImageFilter have been replaced. |
Awesome. Thanks @cookpa. |
InsightSoftwareConsortium/ITK#4630
Thanks @gdevenyi for the heads up.
I don't use LabelGeometryMeasures much because it doesn't do what most users want, which is estimate cortical surface area.
I was actually looking at this issue recently. If I understand this paper correctly,
https://onlinelibrary.wiley.com/doi/abs/10.1002/1361-6374%28199303%291%3A1%3C6%3A%3AAID-BIO3%3E3.0.CO%3B2-3
it's possible to approximate surface area from a voxel image, if the local geometry is known. What we need though is a filter that computes this only for voxels connected to background.
The text was updated successfully, but these errors were encountered: