Class RGBThresholdOperation
- java.lang.Object
-
- edu.wpi.grip.core.operations.composite.ThresholdOperation
-
- edu.wpi.grip.core.operations.composite.RGBThresholdOperation
-
- All Implemented Interfaces:
Operation
public class RGBThresholdOperation extends ThresholdOperation
AnOperationthat converts a color image into a binary image based on threshold ranges for each channel.
-
-
Field Summary
-
Fields inherited from class edu.wpi.grip.core.operations.composite.ThresholdOperation
dataArray
-
-
Constructor Summary
Constructors Constructor Description RGBThresholdOperation(InputSocket.Factory inputSocketFactory, OutputSocket.Factory outputSocketFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<InputSocket>getInputSockets()java.util.List<OutputSocket>getOutputSockets()voidperform()Performs thisOperation.-
Methods inherited from class edu.wpi.grip.core.operations.composite.ThresholdOperation
reallocateMatIfInputSizeOrWidthChanged
-
-
-
-
Constructor Detail
-
RGBThresholdOperation
@Inject public RGBThresholdOperation(InputSocket.Factory inputSocketFactory, OutputSocket.Factory outputSocketFactory)
-
-
Method Detail
-
getInputSockets
public java.util.List<InputSocket> getInputSockets()
- Returns:
- A list of sockets for the inputs that the operation expects.
-
getOutputSockets
public java.util.List<OutputSocket> getOutputSockets()
- Returns:
- A list of sockets for the outputs that the operation produces.
-
perform
public void perform()
Description copied from interface:OperationPerforms thisOperation.
-
-