Tools for evaluating predictions on Simple-ITK Images
Project description
Segmentation_Evaluation_Tools
There are a set of tools for creating quantitative comparison metrics based on ground truth and prediction SITK Image handles
Installation
pip install SegmentationEvaluationTools
Usage
from Segmentation_Evaluation_Tools.src.SegmentationEvaluationTools.SIKOverlapTools import calculate_overlap_measures, determine_sensitivity,
determine_false_positive_rate_and_false_volume, sitk
truth_handle_base = sitk.ReadImage(image_path)
prediction_handle_base = sitk.ReadImage(prediction_path)
overlap_measures = calculate_overlap_measures(prediction_handle_base, truth_handle_base, measure_as_multiple_sites=False, perform_distance_measures=False)
fp_measures = determine_false_positive_rate_and_false_volume(prediction_handle_base, truth_handle_base)
sensitivity_measures = deteremine_sensitivity(prediction_handle=prediction_handle_base, truth_handle_base)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for SegmentationEvaluationTools-0.0.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31241e9a596ac606d2680b4280c4cae771ed2d1b6d29a98e94356b4d049740ff |
|
MD5 | 4c8158b3eb9b0c5dbcd672847d57652d |
|
BLAKE2b-256 | 0056706bcd7b7ace486130f600ff59a4631d3aca25396119a20a9fc3cd36339c |
Close
Hashes for SegmentationEvaluationTools-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46cd9ba943121c67cd620b3535b6b34abb36b459a4a6d5a8122fd8a5a73c7e6b |
|
MD5 | eaaefb52089624e7c4c41b40747ff68b |
|
BLAKE2b-256 | aa1591e54f35c7089bd292cde6fa209f5b45ae247def98f622fd1f8c8bd0abe3 |