CompareSegmentations_09e9ed76990111e9adec0c9d9276653a¶
Plugin for comparision of StructuredGrids -ROI, MultiROI, Channel
- author:
Dragonfly Team
- contact:
- email:
- organization:
Comet Technologies Canada Inc.
- address:
460 Ste-Catherine Ouest, suite 600, Montréal, Québec, Canada, H3B 1A7
- copyright:
Comet Technologies Canada Inc. All rights reserved 2023.
- date:
Jun 27 2019 13:28
- dragonflyVersion:
4.1.0.11300
- UUID:
09e9ed76990111e9adec0c9d9276653a
Class Code¶
- class OrsPythonPlugins.CompareSegmentations_09e9ed76990111e9adec0c9d9276653a.CompareSegmentations_09e9ed76990111e9adec0c9d9276653a.CompareSegmentations_09e9ed76990111e9adec0c9d9276653a(*args, **kwargs)¶
- interfacemethod compareWithGroundTruth(goldStandardStructuredGrid: StructuredGrid, aStructuredGridtoCompare: StructuredGrid, mask: ROI, metrics: List = None, epsilon: float = 1e-10, progress: Progress = None) List[dict]¶
Nd Compares the ground truth (gold standard) and the test Calculating various statistical measures. Return a list of dict (one global dict plus one dict by label for ROI/MultiROI)
- Parameters:
goldStandardStructuredGrid (ORSModel.ors.StructuredGrid) – gold standard StructuredGrid
aStructuredGridtoCompare (ORSModel.ors.StructuredGrid) – StructuredGrid to compare with the gold standard
mask (ORSModel.ors.ROI) – a mask to reduce the region of interest
metrics (str) [count=[0, None]] –
epsilon (float) –
progress (ORSModel.ors.Progress) –
- Returns:
res (dict) [count=[0, None]] – listOfMetricsDict
- interfacemethod compareWithoutGroundTruth(aStructuredGridtoEvaluate: StructuredGrid, mask: ROI, metrics: List = None, progress: Progress = None) List[dict]¶
Evaluate the image quality for aStructuredGridToCompare. Calculating various statistical measures. Return a list of dict.
- Parameters:
aStructuredGridtoEvaluate (ORSModel.ors.StructuredGrid) – StructuredGrid to evaluate
mask (ORSModel.ors.ROI) – a mask to reduce the region of interest
metrics (str) [count=[0, None]] –
progress (ORSModel.ors.Progress) –
- Returns:
res (dict) [count=[0, None]] – listOfMetricsDict
- classmethod getMainFormClass()¶
Gets the class of the main form
- Returns:
output –
- class pluginModes(value)¶
An enumeration.