OrsObjectAnalysis

Plugin to manipulate and classify objects contain in a MultiROI

author:ORS Team
contact:http://theobjects.com
email:info@theobjects.com
organization:Object Research Systems (ORS), Inc.
address:760 St-Paul West, suite 101, Montréal, Québec, Canada, H3C 1M4
copyright:Object Research Systems (ORS), Inc. All rights reserved.
date:July 2017
dragonflyVersion:
 3.0
UUID:305293f4761711e78f91448a5b5d70c0

Class Code

class OrsPythonPlugins.OrsObjectAnalysis.OrsObjectAnalysis.OrsObjectAnalysis(varname=None, managed=True)
OrsStateObjectAnalysis = 'OrsStateObjectAnalysis'
OrsStateObjectAnalysisAdd = 'OrsStateObjectAnalysisAdd'
OrsStateObjectAnalysisAddActivation()
OrsStateObjectAnalysisRemove = 'OrsStateObjectAnalysisRemove'
OrsStateObjectAnalysisRemoveActivation()
UIDescriptors = [<ORSServiceClass.OrsPlugin.uidescriptor.UIDescriptor object>]
closable = True
closeWidget(name)
classmethod contextualMenu(context)
convertFormatedValueToDataValue(outputTag, formatedValue)
deleteFromROI(filterOnSelection=True)
deletePlugin(aWidget=None)
dumpDataInLabeledMultiROI(ILMR, labelFilter=None, dumpClass=True)
exportToCSV(filename, filterOnSelection=True, fctToCallToObtainSortedArray=None)
exportToLabeledMultiROI(filterOnSelection=True)
exportToROI(filterOnSelection=True)
formatUnitLabel(outputTag)
formatValueLabel(outputTag, value, precision)
classmethod getAbout()
getColorForClassId(classIdName)
getColorHistogramByLUT()
getComplementIntensity()
getContinuousLutUUID()
getCurrentDiscreteLut()
getCurrentLut()
getDataDimensionUnit(outputTag)
getDimensionUnitForSortLabel()
getDisplayStatAttribute()
getFormattingFunction(attributeLabel)
getInverseFormattingFunction(attributeLabel)
getLabeledMultiROI()

Get the analyzed Labeled Multi ROI

Returns:labeled_multi_roi (ORSModel.ors.MultiROI) – the analyzed MultiROI
getLabeledMultiROIAnalyzedObjectCount(includeEmptyLabels=True)

Returns the count of labels in the LMR

Parameters:includeEmptyLabels – bool If True, the empty labels are included in the count. If False, only the non-empty labels are counted.
Return:label count
getSelectionIntensity()
getState()
getUnitAbbreviationFunction(attributeLabel)
get_stats_attribute_count()
handleChanged(oldState, newState)
handleTriggered()
keepAlive = False
labeledMultiROILabelChange(labelSelected, addAction, resetSelection, display, IWorldPosition)
multiple = False
onAttributeFilterSelectionChange(classId, classNameId, classNameUI, objectChildIndicies, statAttributeFilter, filter)
onCurrentDisplayChange()
openWidget(name, dock=None, tab=None, x=-1, y=-1, w=-1, l=-1, order=-1)
refreshDiscreteLegendLabels(classNameId, classNameUI)
refreshFromChildIndex()
refreshFromStatisticalAttribute()
savable = False
setColorForClassId(classIdName, color)
setColorHistogramByLUT(value)
setComplementIntensity(complementIntensity)
setContinuousLutUUID(lutUUID)
setCurrentChildIndicies(objectChildIndicies, refresh=True)
setCurrentClassNameId(classNameId, classNameUI, refresh=True)
setCurrentStatAttribute(statAttributeSortLabel, refresh=True)
setCurrentStatAttributeFilter(statAttributeFilter)
setCurrentStatAttributeSelection(statAttributeSelection, refresh=True)
setDisplayStatAttribute(displayStatAttribute)
setLabeledMultiROI(ILMR)
setNewListPythonScriptsGenerators(newListPythonScriptsGenerators, recomputeAll=False)
setSelectionIntensity(selectionIntensity)
static startFromContextualMenu(selectedGUID, basicMode=False)
stateDescriptors = [<ORSServiceClass.OrsPlugin.statedescriptor.StateDescriptor object>, <ORSServiceClass.OrsPlugin.statedescriptor.StateDescriptor object>, <ORSServiceClass.OrsPlugin.statedescriptor.StateDescriptor object>]
updateDefaultDimensionUnit(outputTag, display)
updateLMRColorRamp()
updateLegendUnits()
updateStatisticalDictionary()
updateUnits()