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 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


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.7.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

File details

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

File metadata

  • Download URL: SegmentationEvaluationTools-0.0.7.tar.gz
  • Upload date:
  • Size: 4.9 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.7.tar.gz
Algorithm Hash digest
SHA256 31241e9a596ac606d2680b4280c4cae771ed2d1b6d29a98e94356b4d049740ff
MD5 4c8158b3eb9b0c5dbcd672847d57652d
BLAKE2b-256 0056706bcd7b7ace486130f600ff59a4631d3aca25396119a20a9fc3cd36339c

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: SegmentationEvaluationTools-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 18.1 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 46cd9ba943121c67cd620b3535b6b34abb36b459a4a6d5a8122fd8a5a73c7e6b
MD5 eaaefb52089624e7c4c41b40747ff68b
BLAKE2b-256 aa1591e54f35c7089bd292cde6fa209f5b45ae247def98f622fd1f8c8bd0abe3

See more details on using hashes here.

Provenance

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