java.lang.Object
net.algart.json.PropertyChecker
net.algart.executors.api.ExecutionBlock
net.algart.executors.api.Executor
net.algart.executors.modules.core.common.matrices.MultiMatrix2DFilter
net.algart.executors.modules.cv.matrices.objects.binary.boundaries.FillContours
All Implemented Interfaces:
AutoCloseable, net.algart.executors.api.ReadOnlyExecutionInput

public final class FillContours extends net.algart.executors.modules.core.common.matrices.MultiMatrix2DFilter implements net.algart.executors.api.ReadOnlyExecutionInput
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.algart.executors.api.Executor

    net.algart.executors.api.Executor.Timing

    Nested classes/interfaces inherited from class net.algart.executors.api.ExecutionBlock

    net.algart.executors.api.ExecutionBlock.ExecutionMode
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
     
    static final String
     
    static final String
     
    static final String
     
    static final String
     

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

    Fields 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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected boolean
     
     
    final Class<?>
     
    net.algart.executors.modules.core.common.numbers.IndexingBase
     
    int
     
    int
     
    int
     
    int
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    net.algart.multimatrix.MultiMatrix2D
    process(net.algart.multimatrix.MultiMatrix2D background)
     
    net.algart.multimatrix.MultiMatrix2D
    process(net.algart.multimatrix.MultiMatrix2D background, int[] serializedContours)
     
    protected boolean
     
    setCacheUnpackedContours(boolean cacheUnpackedContours)
     
    setDefaultFiller(Integer defaultFiller)
     
    setDoAction(boolean doAction)
     
    setElementType(Class<?> elementType)
     
    setElementType(String elementType)
     
    setIndexingBase(net.algart.executors.modules.core.common.numbers.IndexingBase indexingBase)
     
    setNeedToProcessDiagonals(boolean needToProcessDiagonals)
     
    setSizeX(int sizeX)
     
    setSizeY(int sizeY)
     
    setStartX(int startX)
     
    setStartY(int startY)
     
    setZeroResultForEmptyContours(boolean zeroResultForEmptyContours)
     

    Methods inherited from class net.algart.executors.modules.core.common.matrices.MultiMatrix2DFilter

    allowInputNonAlgartDepth, process, process, sourceMultiMatrix

    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, visibleOutputPortName, visibleResultsInformation

    Methods 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, translateCurrentDirectory

    Methods 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, propertyName

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface net.algart.executors.api.ReadOnlyExecutionInput

    isReadOnly
  • Field Details

  • Constructor Details

    • FillContours

      public FillContours()
  • Method Details

    • isDoAction

      public boolean isDoAction()
    • setDoAction

      public FillContours setDoAction(boolean doAction)
    • getElementType

      public final Class<?> getElementType()
    • setElementType

      public FillContours setElementType(Class<?> elementType)
    • setElementType

      public FillContours setElementType(String elementType)
    • isNeedToProcessDiagonals

      public boolean isNeedToProcessDiagonals()
    • setNeedToProcessDiagonals

      public FillContours setNeedToProcessDiagonals(boolean needToProcessDiagonals)
    • isCacheUnpackedContours

      public boolean isCacheUnpackedContours()
    • setCacheUnpackedContours

      public FillContours setCacheUnpackedContours(boolean cacheUnpackedContours)
    • isZeroResultForEmptyContours

      public boolean isZeroResultForEmptyContours()
    • setZeroResultForEmptyContours

      public FillContours setZeroResultForEmptyContours(boolean zeroResultForEmptyContours)
    • getStartX

      public int getStartX()
    • setStartX

      public FillContours setStartX(int startX)
    • getStartY

      public int getStartY()
    • setStartY

      public FillContours setStartY(int startY)
    • getSizeX

      public int getSizeX()
    • setSizeX

      public FillContours setSizeX(int sizeX)
    • getSizeY

      public int getSizeY()
    • setSizeY

      public FillContours setSizeY(int sizeY)
    • getIndexingBase

      public net.algart.executors.modules.core.common.numbers.IndexingBase getIndexingBase()
    • setIndexingBase

      public FillContours setIndexingBase(net.algart.executors.modules.core.common.numbers.IndexingBase indexingBase)
    • getDefaultFiller

      public Integer getDefaultFiller()
    • setDefaultFiller

      public FillContours setDefaultFiller(Integer defaultFiller)
    • process

      public net.algart.multimatrix.MultiMatrix2D process(net.algart.multimatrix.MultiMatrix2D background)
      Specified by:
      process in class net.algart.executors.modules.core.common.matrices.MultiMatrix2DFilter
    • process

      public net.algart.multimatrix.MultiMatrix2D process(net.algart.multimatrix.MultiMatrix2D background, int[] serializedContours)
    • allowUninitializedInput

      protected boolean allowUninitializedInput()
      Overrides:
      allowUninitializedInput in class net.algart.executors.modules.core.common.matrices.MultiMatrix2DFilter
    • resultRequired

      protected boolean resultRequired()
      Overrides:
      resultRequired in class net.algart.executors.modules.core.common.matrices.MultiMatrix2DFilter