Class HSVThresholdOperation
- java.lang.Object
-
- edu.wpi.grip.core.operations.composite.ThresholdOperation
-
- edu.wpi.grip.core.operations.composite.HSVThresholdOperation
-
- All Implemented Interfaces:
Operation
public class HSVThresholdOperation extends ThresholdOperation
AnOperation
that converts a color image into a binary image based on the HSV threshold ranges for each channel.
-
-
Field Summary
-
Fields inherited from class edu.wpi.grip.core.operations.composite.ThresholdOperation
dataArray
-
-
Constructor Summary
Constructors Constructor Description HSVThresholdOperation(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()
void
perform()
Performs thisOperation
.-
Methods inherited from class edu.wpi.grip.core.operations.composite.ThresholdOperation
reallocateMatIfInputSizeOrWidthChanged
-
-
-
-
Constructor Detail
-
HSVThresholdOperation
@Inject public HSVThresholdOperation(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:Operation
Performs thisOperation
.
-
-