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 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.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6be1764e7e6ce76825b539c381841337112b17053eb84878f14e2e55e44f5353 |
|
MD5 | e8f29ab849ba9f2924b1526e47a9d339 |
|
BLAKE2b-256 | 5930e63d77f7e0865711011c60484393412d16843d91e0310dde197bdfa3cbc1 |
Close
Hashes for SegmentationEvaluationTools-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b135727792c043b35de836b95791a288b9e288beb77ce21926d5c6c01ec0c24d |
|
MD5 | 43dcee58705dfa5d8582cb377b12ef8f |
|
BLAKE2b-256 | f9d1b8437ea2902fb2d7c7d68c7ed4390470b56d2d93dd296309887ef6408d76 |