Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

SegmentationEvaluationTools-0.0.9.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file SegmentationEvaluationTools-0.0.9.tar.gz.

File metadata

  • Download URL: SegmentationEvaluationTools-0.0.9.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.5

File hashes

Hashes for SegmentationEvaluationTools-0.0.9.tar.gz
Algorithm Hash digest
SHA256 930057ae1c220bd878ab2aa6f0d01aa9ee56639be62c91c5c2cd9c6abb093231
MD5 7a10624634bc07dc2513d5f9391f7773
BLAKE2b-256 08db94534b62513f0fcda98c6df9fdb4594adb90b18f2413d4fe5d7310570ac3

See more details on using hashes here.

File details

Details for the file SegmentationEvaluationTools-0.0.9-py3-none-any.whl.

File metadata

  • Download URL: SegmentationEvaluationTools-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 18.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.5

File hashes

Hashes for SegmentationEvaluationTools-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 0c6b994983a0adc2430e2022625aa17532e4a99600e9235699d234c94ab6365d
MD5 35237d601a58b15471c5b8b95ed8d297
BLAKE2b-256 82863025bf9aedf49aaa61bfd190463c9fda40086970b74f5017d0612651ec8e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page