Open cookpa opened 2 months ago
agree - just want the "new" version to "look like" the old one ... extra / new entries are ok but if it's possible to maintain the same naming - that would be very helpful.
Understood
OK used the column name "VolumeInMillimeters", Flatlanders will have to deal.
Now the only change required will be to not duplicate the "VolumeInMillimeters" column in the function, since it will already be there.
yeah, i've seen that and i'm guessing it was my fault. would this be a problem @stnava if we fixed it?
here is the check if it will be a problem:
run :
old=ants.label_geometry_measures( some_labels, some_intensity )
new=ants.label_geometry_measures( some_labels, some_intensity, param=new_filter )
should_be_true( names(old) %in% names(new) )
are they the same? at least conceptually - that's the idea. ie if someone expects to get a variable name - they should get it and it should be correct.
Some of the variables don't exist in the supported filter, but the ones that do are named the same now
Further update: I added back eccentricity and Axes length. Got everything except weighted centroid now.
Physical volume of labels will be included in the output after merging
https://github.com/ANTsX/ANTs/pull/1737
Currently,
label_geometry_measures.py
creates this on the fly.