Class CpuImageProcessor
java.lang.Object
org.photonvision.vision.frame.FrameProvider
org.photonvision.vision.frame.provider.CpuImageProcessor
- Direct Known Subclasses:
FileFrameProvider
,USBFrameProvider
-
Nested Class Summary
-
Field Summary
Fields inherited from class org.photonvision.vision.frame.FrameProvider
sequenceID
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal Frame
get()
void
requestFrameCopies
(boolean copyInput, boolean copyOutput) Ask the camera to provide either the input, output, or both frames.void
requestFrameRotation
(ImageRotationMode rotationMode) Ask the camera to rotate frames it outputsvoid
Ask the camera to produce a certain kind of processed image (e.g.void
requestHsvSettings
(HSVPipe.HSVParams params) Ask the camera to rotate frames it outputsMethods inherited from class org.photonvision.vision.frame.FrameProvider
getName
-
Constructor Details
-
CpuImageProcessor
public CpuImageProcessor()
-
-
Method Details
-
get
-
requestFrameThresholdType
Description copied from class:FrameProvider
Ask the camera to produce a certain kind of processed image (e.g. HSV or greyscale)- Specified by:
requestFrameThresholdType
in classFrameProvider
-
requestFrameRotation
Description copied from class:FrameProvider
Ask the camera to rotate frames it outputs- Specified by:
requestFrameRotation
in classFrameProvider
-
requestHsvSettings
Ask the camera to rotate frames it outputs- Specified by:
requestHsvSettings
in classFrameProvider
-
requestFrameCopies
public void requestFrameCopies(boolean copyInput, boolean copyOutput) Description copied from class:FrameProvider
Ask the camera to provide either the input, output, or both frames.- Specified by:
requestFrameCopies
in classFrameProvider
-