BiaPyX/BiaPy

Add more statistics for instances

Closed this issue · 1 comments

Add more statistics for instances in remove_by_properties function. Changes need to be made:

  • Add a variable to calculate stats. Now remove_by_properties function is only called when some filtering is applied (TEST.POST_PROCESSING.REMOVE_BY_PROPERTIES).
  • Calculate perimeter (necessary for sphericity)
  • Calculate sphericity (for 3D). Here is the formula.

Implemented in c720318 using same formulas as in MorphoLibJ but using scikit-image functions.