Class FilterParticlesOrPoresBySizes
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.core.common.matrices.MultiMatrixChannel2DFilter
net.algart.executors.modules.cv.matrices.objects.FilterParticlesOrPoresBySizes
- All Implemented Interfaces:
AutoCloseable,net.algart.executors.api.ReadOnlyExecutionInput,net.algart.executors.modules.core.common.ChannelOperation
public final class FilterParticlesOrPoresBySizes
extends net.algart.executors.modules.core.common.matrices.MultiMatrixChannel2DFilter
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.algart.executors.api.Executor
net.algart.executors.api.Executor.Timing -
Field Summary
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_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 TypeMethodDescriptionnet.algart.arrays.Matrix<? extends net.algart.arrays.UpdatablePArray>filter(net.algart.arrays.Matrix<? extends net.algart.arrays.PArray> objects) net.algart.matrices.scanning.ConnectivityTypedoubledoubledoublegetMode()intdoublebooleannet.algart.matrices.scanning.ConnectivityTypeprotected net.algart.arrays.Matrix<? extends net.algart.arrays.PArray>processChannel(net.algart.arrays.Matrix<? extends net.algart.arrays.PArray> matrix) setConditionLogic(BinaryFilterParticlesOrPoresBySizes.ConditionLogic conditionLogic) setConnectivityType(net.algart.matrices.scanning.ConnectivityType connectivityType) setIgnoreZeros(boolean ignoreZeros) setMaxArea(double maxArea) setMaxArea(String maxArea) setMaxPerimeter(double maxPerimeter) setMaxPerimeter(String maxPerimeter) setMaxSize(double maxSize) setMaxSize(String maxSize) voidsetNumberOfSlices(int numberOfSlices) setParticlesOrPores(BinaryFilterParticlesOrPoresBySizes.ParticlesOrPores particlesOrPores) setPixelSize(double pixelSize) Methods inherited from class net.algart.executors.modules.core.common.matrices.MultiMatrixChannel2DFilter
currentChannel, numberOfChannels, processMethods inherited from class net.algart.executors.modules.core.common.matrices.MultiMatrix2DFilter
allowInputNonAlgartDepth, allowUninitializedInput, process, process, resultRequired, sourceMultiMatrixMethods 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, 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, reset, resetTiming, setDefaultInputMat, setDefaultInputNumbers, setDefaultInputPort, setDefaultInputScalar, setDefaultOutputMat, setDefaultOutputNumbers, setDefaultOutputPort, setDefaultOutputScalar, setEndProcessingTimeStamp, setMultithreadingEnvironment, setStartProcessingTimeStamp, setTimingEnabled, showStatus, showStatus, skipStandardAutomaticParameters, startTimingOfExecutingAll, status, statusData, toString, useVisibleResultParameter, valueOfLogLevel, visibleOutputPortName, 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, allTasksAfterExecutingAll, allTasksBeforeExecutingAll, availableExecutorModelArray, availableExecutorModelDescriptions, beforeExecutingAll, checkInputNecessary, clearSession, contextPath, freeAllInputPortData, freeAllOutputPortData, freeAllPortData, getCaller, getContextId, getContextName, getContextPath, getCurrentDirectory, 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, removeOutputData, removeOutputPort, removeTaskAfterExecutingAll, removeTaskBeforeExecutingAll, replacePort, requestDefaultOutput, requestOutput, setAllOutputsNecessary, setBooleanParameter, setCaller, setContextId, setContextId, setContextName, setContextPath, setCurrentDirectory, setDoubleParameter, 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.modules.core.common.ChannelOperation
colorChannel, colorChannel, colorChannelMethods inherited from interface net.algart.executors.api.ReadOnlyExecutionInput
isReadOnly
-
Constructor Details
-
FilterParticlesOrPoresBySizes
public FilterParticlesOrPoresBySizes()
-
-
Method Details
-
getPixelSize
public double getPixelSize() -
setPixelSize
-
getConnectivityType
public net.algart.matrices.scanning.ConnectivityType getConnectivityType() -
poresConnectivityType
public net.algart.matrices.scanning.ConnectivityType poresConnectivityType() -
setConnectivityType
public FilterParticlesOrPoresBySizes setConnectivityType(net.algart.matrices.scanning.ConnectivityType connectivityType) -
getParticlesOrPores
-
setParticlesOrPores
public FilterParticlesOrPoresBySizes setParticlesOrPores(BinaryFilterParticlesOrPoresBySizes.ParticlesOrPores particlesOrPores) -
getMode
-
setMode
-
getMaxSize
public double getMaxSize() -
setMaxSize
-
setMaxSize
-
getMaxArea
public double getMaxArea() -
setMaxArea
-
setMaxArea
-
getMaxPerimeter
public double getMaxPerimeter() -
setMaxPerimeter
-
setMaxPerimeter
-
getConditionLogic
-
setConditionLogic
public FilterParticlesOrPoresBySizes setConditionLogic(BinaryFilterParticlesOrPoresBySizes.ConditionLogic conditionLogic) -
isIgnoreZeros
public boolean isIgnoreZeros() -
setIgnoreZeros
-
getNumberOfSlices
public int getNumberOfSlices() -
setNumberOfSlices
public void setNumberOfSlices(int numberOfSlices) -
processChannel
protected net.algart.arrays.Matrix<? extends net.algart.arrays.PArray> processChannel(net.algart.arrays.Matrix<? extends net.algart.arrays.PArray> matrix) - Specified by:
processChannelin classnet.algart.executors.modules.core.common.matrices.MultiMatrixChannel2DFilter
-
filter
public net.algart.arrays.Matrix<? extends net.algart.arrays.UpdatablePArray> filter(net.algart.arrays.Matrix<? extends net.algart.arrays.PArray> objects)
-