Class ValuesAtLabelledObjects
java.lang.Object
net.algart.json.PropertyChecker
net.algart.executors.api.ExecutionBlock
net.algart.executors.api.Executor
net.algart.executors.modules.cv.matrices.objects.ValuesAtLabelledObjects
- All Implemented Interfaces:
AutoCloseable,net.algart.executors.api.ReadOnlyExecutionInput
public final class ValuesAtLabelledObjects
extends net.algart.executors.api.Executor
implements net.algart.executors.api.ReadOnlyExecutionInput
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.algart.executors.api.Executor
net.algart.executors.api.Executor.TimingNested classes/interfaces inherited from class net.algart.executors.api.ExecutionBlock
net.algart.executors.api.ExecutionBlock.ExecutionMode -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class net.algart.executors.api.Executor
ENUM_VALUE_OF_NAME_CUSTOM_METHOD, LOG, LOGGABLE_DEBUG, LOGGABLE_INFO, LOGGABLE_TRACE, OUTPUT_EXECUTOR_ID_NAME, OUTPUT_PLATFORM_ID_NAME, OUTPUT_RESOURCE_FOLDER_NAME, STANDARD_VISIBLE_RESULT_PARAMETER_NAMEFields inherited from class net.algart.executors.api.ExecutionBlock
DEFAULT_INPUT_PORT, DEFAULT_OUTPUT_PORT, EXTENDED_MODE, GLOBAL_SHARED_SESSION_ID, SHOW_INFO_ON_STARTUP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidanalyse(Map<ValuesAtLabelledObjects.ObjectParameter, net.algart.executors.api.data.SNumbers> results, net.algart.multimatrix.MultiMatrix2D sourceMatrix, net.algart.multimatrix.MultiMatrix2D labelsMatrix, net.algart.multimatrix.MultiMatrix2D maskMatrix) voidanalyse(Map<ValuesAtLabelledObjects.ObjectParameter, net.algart.executors.api.data.SNumbers> results, net.algart.multimatrix.MultiMatrix2D sourceMatrix, net.algart.multimatrix.MultiMatrix2D labelsMatrix, net.algart.multimatrix.MultiMatrix2D maskMatrix, net.algart.multimatrix.MultiMatrix2D levelMatrix) double[]intdouble[]double[]double[]double[]int[]booleanbooleanbooleanbooleanstatic net.algart.multimatrix.MultiMatrix2DpaintLabelledObjects(net.algart.executors.api.data.SNumbers statistics, net.algart.multimatrix.MultiMatrix2D sourceMatrix, net.algart.multimatrix.MultiMatrix2D labelsMatrix, net.algart.multimatrix.MultiMatrix2D maskMatrix, boolean intElementType, boolean paintLabelledOnSource) voidprocess()net.algart.executors.api.data.SMatsetChannelPercentiles(boolean channelPercentiles) setHighPercentile(double... highPercentile) setHighPercentile(String highPercentile) setLevelChannel(int levelChannel) setLowPercentile(double... lowPercentile) setLowPercentile(String lowPercentile) setPaintedParameter(ValuesAtLabelledObjects.ObjectParameter paintedParameter) setPaintLabelledOnSource(boolean paintLabelledOnSource) setPercentileA(double[] percentileA) setPercentileA(String percentileA) setPercentileB(double[] percentileB) setPercentileB(String percentileB) setPercentileC(double[] percentileC) setPercentileC(String percentileC) setRawValues(boolean rawValues) setSeparateChannelPercentilesList(int[] separateChannelPercentilesList) setSeparateChannelPercentilesList(String separateChannelPercentilesList) setVisiblePaintLabelled(boolean visiblePaintLabelled) Methods inherited from class net.algart.executors.api.Executor
addServiceTime, allocatedMemory, allOutputContainers, allParameters, checkOutputNecessary, close, configAllocatedMemory, debugTime, defaultInputPortName, defaultInputPortName, defaultOutputPortName, defaultOutputPortName, defaultVisibleResultsInformation, disableOnChangeParameterAutomatic, disableOnChangeParametersAutomatic, execute, execute, executorPlatform, executorResourceFolder, fillSystemOutputs, fineAllocatedMemory, finishTimingOfExecutingAll, getEndProcessingTimeStamp, getServiceTime, getStartProcessingTimeStamp, infoTime, initialize, isCancellingExecutionRequested, isCancellingFurtherExecutionRequested, isMultithreadingEnvironment, isTimingEnabled, isUsingVisibleResultParameter, isVisiblePort, isVisibleResultDisabled, logDebug, logDebug, loggingEnabled, logInfo, logInfo, logTrace, logTrace, ofLogLevel, onChangeParameter, onChangeParameterAutomatic, parameterControlValueType, parameterJavaType, postprocess, requestCancellingFurtherExecution, requestContinuingFurtherExecution, reset, resetTiming, setDefaultInputMat, setDefaultInputNumbers, setDefaultInputPort, setDefaultInputScalar, setDefaultOutputMat, setDefaultOutputNumbers, setDefaultOutputPort, setDefaultOutputScalar, setEndProcessingTimeStamp, setMultithreadingEnvironment, setStartProcessingTimeStamp, setTimingEnabled, showStatus, showStatus, skipStandardAutomaticParameters, startTimingOfExecutingAll, status, statusData, toString, useVisibleResultParameter, visibleResultsInformationMethods inherited from class net.algart.executors.api.ExecutionBlock
addInputData, addInputMat, addInputNumbers, addInputScalar, addOneTimeTaskAfterExecutingAll, addOutputData, addOutputMat, addOutputNumbers, addOutputScalar, addPort, addTaskAfterExecutingAll, addTaskBeforeExecutingAll, afterExecutingAll, allInputPorts, allOneTimeTasksAfterExecutingAll, allOutputPorts, allSerializedSpecificationsArray, allTasksAfterExecutingAll, allTasksBeforeExecutingAll, beforeExecutingAll, checkInputNecessary, clearSession, contextPath, freeAllInputPortData, freeAllOutputPortData, freeAllPortData, getCaller, getContextId, getContextName, getContextPath, getCurrentDirectory, getData, getData, getDoubleScalar, getDoubleScalar, getExecutorId, getExecutorSpecification, getInputData, getInputData, getInputData, getInputData, getInputDataContainer, getInputDataContainer, getInputMat, getInputMat, getInputMat, getInputMat, getInputMatContainer, getInputMatContainer, getInputNumbers, getInputNumbers, getInputNumbers, getInputNumbers, getInputNumbersContainer, getInputNumbersContainer, getInputPort, getInputScalar, getInputScalar, getInputScalar, getInputScalar, getInputScalarContainer, getInputScalarContainer, getIntScalar, getIntScalar, getLongScalar, getLongScalar, getMat, getMat, getNumbers, getNumbers, getOutputPort, getOwnerId, getPlatformId, getPort, getRequiredInputPort, getRequiredOutputPort, getRootCaller, getScalar, getScalar, getSessionId, getStringScalar, getStringScalar, globalLoaders, hasDefaultInputPort, hasDefaultOutputPort, hasInputPort, hasOutputPort, initializeExecutionSystem, interrupt, isAllOutputsNecessary, isClosed, isInputNecessary, isInterrupted, isInterruptionRequested, isOutputNecessary, isReadOnlyInput, isVisibleResultNecessary, needToRepeat, newExecutor, newExecutor, parameters, putDoubleScalar, putDoubleScalar, putIntScalar, putIntScalar, putJsonScalar, putJsonScalar, putLongScalar, putLongScalar, putMat, putMat, putNumbers, putNumbers, putNumbers, putNumbers, putScalar, putScalar, putStringScalar, putStringScalar, recommendedCategory, recommendedName, removeInputPort, removeOneTimeTaskAfterExecutingAll, removeOutputData, removeOutputPort, removeTaskAfterExecutingAll, removeTaskBeforeExecutingAll, replacePort, requestDefaultOutput, requestOutput, setAllOutputsNecessary, setBooleanParameter, setCaller, setContextId, setContextId, setContextName, setContextPath, setCurrentDirectory, setDoubleParameter, setExecutorSpecification, setInterruptionRequested, setIntParameter, setLongParameter, setOutputScalar, setOutputScalar, setOutputScalar, setOutputScalar, setOutputScalar, setOutputScalar, setOutputScalarIfNecessary, setOwnerId, setSessionId, setStringParameter, setVisibleResultNecessary, translateCurrentDirectoryMethods inherited from class net.algart.json.PropertyChecker
doubleOrDefault, doubleOrNegativeInfinity, doubleOrNull, doubleOrPositiveInfinity, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, inRange, inRange, inRange, inRange, inRange, inRange, intOrDefault, intOrNull, longOrDefault, longOrNull, nonEmpty, nonEmpty, nonEmptyTrimmed, nonEmptyTrimmed, nonLessThan, nonLessThan, nonLessThan, nonLessThan, nonLessThan, nonLessThan, nonNegative, nonNegative, nonNegative, nonNegative, nonNegative, nonNegative, nonNull, nonNull, positive, positive, positive, positive, positive, positive, propertyNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.algart.executors.api.ReadOnlyExecutionInput
isReadOnly
-
Field Details
-
INPUT_LABELS
- See Also:
-
INPUT_MASK
- See Also:
-
INPUT_LEVEL
- See Also:
-
OUTPUT_PAINT_LABELLED
- See Also:
-
-
Constructor Details
-
ValuesAtLabelledObjects
public ValuesAtLabelledObjects()
-
-
Method Details
-
isRawValues
public boolean isRawValues() -
setRawValues
-
getLowPercentile
public double[] getLowPercentile() -
setLowPercentile
-
setLowPercentile
-
getHighPercentile
public double[] getHighPercentile() -
setHighPercentile
-
setHighPercentile
-
getPercentileA
public double[] getPercentileA() -
setPercentileA
-
setPercentileA
-
getPercentileB
public double[] getPercentileB() -
setPercentileB
-
setPercentileB
-
getPercentileC
public double[] getPercentileC() -
setPercentileC
-
setPercentileC
-
isChannelPercentiles
public boolean isChannelPercentiles() -
setChannelPercentiles
-
getSeparateChannelPercentilesList
public int[] getSeparateChannelPercentilesList() -
setSeparateChannelPercentilesList
public ValuesAtLabelledObjects setSeparateChannelPercentilesList(int[] separateChannelPercentilesList) -
setSeparateChannelPercentilesList
public ValuesAtLabelledObjects setSeparateChannelPercentilesList(String separateChannelPercentilesList) -
getLevelChannel
public int getLevelChannel() -
setLevelChannel
-
getPaintedParameter
-
setPaintedParameter
public ValuesAtLabelledObjects setPaintedParameter(ValuesAtLabelledObjects.ObjectParameter paintedParameter) -
isPaintLabelledOnSource
public boolean isPaintLabelledOnSource() -
setPaintLabelledOnSource
-
isVisiblePaintLabelled
public boolean isVisiblePaintLabelled() -
setVisiblePaintLabelled
-
requestPaintLabelled
-
resultPaintLabelled
public net.algart.executors.api.data.SMat resultPaintLabelled() -
process
public void process()- Specified by:
processin classnet.algart.executors.api.Executor
-
analyse
public void analyse(Map<ValuesAtLabelledObjects.ObjectParameter, net.algart.executors.api.data.SNumbers> results, net.algart.multimatrix.MultiMatrix2D sourceMatrix, net.algart.multimatrix.MultiMatrix2D labelsMatrix, net.algart.multimatrix.MultiMatrix2D maskMatrix) -
analyse
public void analyse(Map<ValuesAtLabelledObjects.ObjectParameter, net.algart.executors.api.data.SNumbers> results, net.algart.multimatrix.MultiMatrix2D sourceMatrix, net.algart.multimatrix.MultiMatrix2D labelsMatrix, net.algart.multimatrix.MultiMatrix2D maskMatrix, net.algart.multimatrix.MultiMatrix2D levelMatrix) -
visibleOutputPortName
- Overrides:
visibleOutputPortNamein classnet.algart.executors.api.Executor
-
paintLabelledObjects
public static net.algart.multimatrix.MultiMatrix2D paintLabelledObjects(net.algart.executors.api.data.SNumbers statistics, net.algart.multimatrix.MultiMatrix2D sourceMatrix, net.algart.multimatrix.MultiMatrix2D labelsMatrix, net.algart.multimatrix.MultiMatrix2D maskMatrix, boolean intElementType, boolean paintLabelledOnSource)
-