haesleinhuepf / napari-process-points-and-surfaces

Process and analyze surfaces using vedo in napari.
BSD 3-Clause "New" or "Revised" License
21 stars 4 forks source link

Measuring sphere-fitted curvature on orders of magnitude #45

Closed haesleinhuepf closed 1 year ago

haesleinhuepf commented 1 year ago

When measuring the sphere-fitted curvature, the user needs to provide a radius. For beginners it's hard to guess a good value for this. As an attempt I added percentages of average-size as potential way for setting radii. See example notebook. This leads to radii that are sample dependent, which might be a bad idea, e.g. for inter-sample-comparison.

I was wondering if it makes sense to measure curvature on a order-of-magnitude basis. We could add here a block like this:

SPHERE_FITTED_CURVATURE_NANO_VOXEL
SPHERE_FITTED_CURVATURE_MICRO_VOXEL
SPHERE_FITTED_CURVATURE_MILLI_VOXEL
SPHERE_FITTED_CURVATURE_DECI_VOXEL
SPHERE_FITTED_CURVATURE_VOXEL 
SPHERE_FITTED_CURVATURE_DECA_VOXEL 
SPHERE_FITTED_CURVATURE_HECTA_VOXEL 
SPHERE_FITTED_CURVATURE_KILO_VOXEL 
SPHERE_FITTED_CURVATURE_MEGA_VOXEL 

... but I'm not sure if this makes sense and/or if there is a better (naming) scheme.

@jo-mueller What do you think?