CompareSegmentations_09e9ed76990111e9adec0c9d9276653a

Plugin for comparision of StructuredGrids -ROI, MultiROI, Channel

author:ORS Team
contact:http://theobjects.com
email:info@theobjects.com
organization:Object Research Systems (ORS), Inc.
address:460 Ste-Catherine Ouest, suite 600, Montréal, Québec, Canada, H3B 1A7
copyright:Object Research Systems (ORS), Inc. All rights reserved 2021.
date:Jun 27 2019 13:28
dragonflyVersion:
 4.1.0.11300
UUID:09e9ed76990111e9adec0c9d9276653a

Class Code

class OrsPythonPlugins.CompareSegmentations_09e9ed76990111e9adec0c9d9276653a.CompareSegmentations_09e9ed76990111e9adec0c9d9276653a.CompareSegmentations_09e9ed76990111e9adec0c9d9276653a(varname=None)
ACCURACY = 'ACCURACY'
DICE = 'DICE'
FN = 'FN'
FP = 'FP'
MSE = 'MSE'
NRMSE = 'NRMSE'
PSNR = 'PSNR'
SSIM = 'SSIM'
TN = 'TN'
TNR = 'TNR'
TP = 'TP'
TPR = 'TPR'
UIDescriptors = [<ORSServiceClass.OrsPlugin.uidescriptor.UIDescriptor object>]
interfacemethod compareDataset(goldStandardDataset: ORSModel.ors.Channel, aDatasetToCompare: ORSModel.ors.Channel, metrics: list = None, progress: ORSModel.ors.Progress = None) → list

Nd Compares the ground truth (gold standard) dataset and test dataset Calculating various statistical measures. Return a list of dict

Parameters:
Returns:

res (dict) [count=[0, None]] – listOfMetricsDict

interfacemethod compareSegmentation(goldStandardStructuredGrid: ORSModel.ors.StructuredGrid, aStructuredGridtoCompare: ORSModel.ors.StructuredGrid, mask: ORSModel.ors.ROI, metrics: list = None, epsilon: float = 1e-10, progress: ORSModel.ors.Progress = None) → list

Nd Compares the segmentation between ground truth (gold standard) SG and test SG Calculating various statistical measures. Return a list of dict, one global dict plus one dict by label for ROI/MultiROI

Parameters:
Returns:

res (dict) [count=[0, None]] – listOfMetricsDict

classmethod compute_confusion_matrix_with_mask(ground_truth_arr, prediction_arr, labels, mask_value, patch_size=256)
classmethod contextualMenu(context)
classmethod getMainFormClass()

Gets the class of the main form

Returns:output
getManagedClass()
classmethod getMetricList(structuredGrid)
classmethod getMetricTooltips()
classmethod getSavedMetricList(structuredGrid)
static get_mask_value(goldStandardStructuredGrid: ORSModel.ors.StructuredGrid, aStructuredGridtoCompare: ORSModel.ors.StructuredGrid) → int
keepAlive = False
classmethod menuItemStartPlugin()
multiple = False
savable = False
setManagedClass(managed_class)
static setSavedMetricList(structuredGrid, metric_list)
classmethod startFromContextualMenu(selectedGUID_01, selectedGUID_02)