Binary segmentation accuracy metrics
Project description
Segmentation Metrics
Volumetric binary mask segmentation accuracy metrics
A small package for assessing the accuracy of binary segmentations. There are lots of metrics that can be used to compare how close two segmentations are, here voxel overlap, surface and volume based metrics are all calculated at once and returned either as individual metrics, a dictionary or a Pandas DataFrame.
The surface based metrics in this package are calculated using code from deepmind's surface-distance repository, however as this is not available as a PyPI package, the code has been included as a submodule here.
Calculated Metrics
Voxel overlap based metrics
Surface based metrics
- Mean Surface Distance (in mm) - The symmetric mean surface distance is returned by default i.e. the mean of the distance from surface A to surface B and surface B to surface A.
- Hausdorff Distance (in mm) - Computes the robust distance based on the percentile of distances rather than the maximum distance.
Volume based metrics
- Volume Difference (in millilitres)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
segmentationmetrics-0.1.0.tar.gz
(18.7 kB
view hashes)
Built Distribution
Close
Hashes for segmentationmetrics-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f20e193deaf4d3b4b6b3c2f065ff3be7705a5483adcaca673ec4590a8edce44 |
|
MD5 | ebe5783c55cef5f3cefc2c6997189d99 |
|
BLAKE2b-256 | af1e96230e45a2132615f0489e1320c0e0dcd71ab42d1268a155d370f38190ea |
Close
Hashes for segmentationmetrics-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b5cab5dc2e584f1993cfe36de9981ab23fbb08f671c3474d279ce287826ffc0 |
|
MD5 | 553ebbb3a681187eef03b4bb95d50bb1 |
|
BLAKE2b-256 | 1d8bb0d7e8eb027fcf371da0fdb4c137499179ffac83cd800475337a9d2dc3d2 |