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.drawing.DrawContours
All Implemented Interfaces:
AutoCloseable, net.algart.executors.api.ReadOnlyExecutionInput

public final class DrawContours extends net.algart.executors.modules.core.common.matrices.MultiMatrix2DFilter
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
     
    static enum 
     

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

    net.algart.executors.api.Executor.SystemParameter, net.algart.executors.api.Executor.Timing
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    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, GLOBAL_SHARED_SESSION_ID, SHOW_INFO_ON_STARTUP
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected boolean
     
    int
     
    int
     
     
     
    int
     
    int
     
    int
     
    int
     
    long
     
    int
     
    int
     
    boolean
     
    boolean
     
    net.algart.multimatrix.MultiMatrix2D
    process(net.algart.contours.Contours contours, net.algart.multimatrix.MultiMatrix2D background)
     
    net.algart.multimatrix.MultiMatrix2D
    process(net.algart.multimatrix.MultiMatrix2D source)
     
    setContrastBackground(boolean contrastBackground)
     
    setDimX(int dimX)
     
    setDimY(int dimY)
     
     
     
    setFirstIndex(int firstIndex)
     
    setImageStartX(int imageStartX)
     
    setImageStartY(int imageStartY)
     
    setNeedToProcessDiagonals(boolean needToProcessDiagonals)
     
    setNumberOfContours(int numberOfContours)
     
    setRandSeed(long randSeed)
     
    setScale(int scale)
     
    setStrictByteMultiplier(int strictByteMultiplier)
     

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

    allowInputNonAlgartDepth, process, process, resultRequired, 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, executorModel, executorModel, executorPlatform, executorResourceFolder, fillSystemOutputs, fineAllocatedMemory, finishTimingOfExecutingAll, freeAllInputPortData, freeAllOutputPortData, freeAllPortData, getCurrentDirectory, getEndProcessingTimeStamp, getServiceTime, getStartProcessingTimeStamp, infoTime, initialize, isCancellingExecutionRequested, isCancellingFurtherExecutionRequested, isMultithreadingEnvironment, isTimingEnabled, isUsingVisibleResultParameter, isVisiblePort, isVisibleResultDisabled, logDebug, logDebug, loggingEnabled, logInfo, logInfo, logTrace, logTrace, onChangeParameter, onChangeParameterAutomatic, parameterControlValueType, parameterJavaType, postprocess, requestCancellingFurtherExecution, requestContinuingFurtherExecution, requestOutput, reset, resetTiming, setCurrentDirectory, setDefaultInputMat, setDefaultInputNumbers, setDefaultInputPort, setDefaultInputScalar, setDefaultOutputMat, setDefaultOutputNumbers, setDefaultOutputPort, setDefaultOutputScalar, setEndProcessingTimeStamp, setMultithreadingEnvironment, setStartProcessingTimeStamp, setTimingEnabled, showStatus, showStatus, skipStandardAutomaticParameters, startTimingOfExecutingAll, status, statusData, toString, translateCurrentDirectory, useVisibleResultParameter, valueOfLogLevel, 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, allTasksAfterExecutingAll, allTasksBeforeExecutingAll, availableExecutorModelArray, availableExecutorModelDescriptions, beforeExecutingAll, checkInputNecessary, clearSession, contextPath, getCaller, getContextId, getContextName, getContextPath, getData, getData, getDoubleScalar, getDoubleScalar, getExecutorId, getExecutorModelDescription, 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, hasDefaultInputPort, hasDefaultOutputPort, hasInputPort, hasOutputPort, initializeExecutionSystem, interrupt, isAllOutputsNecessary, isClosed, isInputNecessary, isInterrupted, isInterruptionRequested, isOutputNecessary, isReadOnlyInput, isVisibleResultNecessary, needToRepeat, newExecutionBlock, parameters, putDoubleScalar, putDoubleScalar, putIntScalar, putIntScalar, putJsonScalar, putJsonScalar, putLongScalar, putLongScalar, putMat, putMat, putNumbers, putNumbers, putNumbers, putNumbers, putScalar, putScalar, putStringScalar, putStringScalar, recommendedCategory, recommendedName, registerExecutionBlockLoader, removeInputPort, removeOneTimeTaskAfterExecutingAll, removeOutputPort, removeTaskAfterExecutingAll, removeTaskBeforeExecutingAll, replacePort, setAllOutputsNecessary, setBooleanParameter, setCaller, setContextId, setContextId, setContextName, setContextPath, setDoubleParameter, setInterruptionRequested, setIntParameter, setLongParameter, setOwnerId, setSessionId, setStringParameter, setVisibleResultNecessary

    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

    • DrawContours

      public DrawContours()
  • Method Details

    • getDrawnFeatures

      public DrawContours.DrawnFeatures getDrawnFeatures()
    • setDrawnFeatures

      public DrawContours setDrawnFeatures(DrawContours.DrawnFeatures drawnFeatures)
    • getStrictByteMultiplier

      public int getStrictByteMultiplier()
    • setStrictByteMultiplier

      public DrawContours setStrictByteMultiplier(int strictByteMultiplier)
    • getDrawnContourKinds

      public DrawContours.DrawnContourKinds getDrawnContourKinds()
    • setDrawnContourKinds

      public DrawContours setDrawnContourKinds(DrawContours.DrawnContourKinds drawnContourKinds)
    • getFirstIndex

      public int getFirstIndex()
    • setFirstIndex

      public DrawContours setFirstIndex(int firstIndex)
    • getNumberOfContours

      public int getNumberOfContours()
    • setNumberOfContours

      public DrawContours setNumberOfContours(int numberOfContours)
    • getDimX

      public int getDimX()
    • setDimX

      public DrawContours setDimX(int dimX)
    • getDimY

      public int getDimY()
    • setDimY

      public DrawContours setDimY(int dimY)
    • isNeedToProcessDiagonals

      public boolean isNeedToProcessDiagonals()
    • setNeedToProcessDiagonals

      public DrawContours setNeedToProcessDiagonals(boolean needToProcessDiagonals)
    • getScale

      public int getScale()
    • setScale

      public DrawContours setScale(int scale)
    • getImageStartX

      public int getImageStartX()
    • setImageStartX

      public DrawContours setImageStartX(int imageStartX)
    • getImageStartY

      public int getImageStartY()
    • setImageStartY

      public DrawContours setImageStartY(int imageStartY)
    • getRandSeed

      public long getRandSeed()
    • setRandSeed

      public DrawContours setRandSeed(long randSeed)
    • isContrastBackground

      public boolean isContrastBackground()
    • setContrastBackground

      public DrawContours setContrastBackground(boolean contrastBackground)
    • process

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

      public net.algart.multimatrix.MultiMatrix2D process(net.algart.contours.Contours contours, net.algart.multimatrix.MultiMatrix2D background)
    • allowUninitializedInput

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