Package org.photonvision.vision.camera
Class LibcameraGpuSettables
java.lang.Object
org.photonvision.vision.processes.VisionSourceSettables
org.photonvision.vision.camera.LibcameraGpuSettables
-
Field Summary
Fields inherited from class org.photonvision.vision.processes.VisionSourceSettables
frameStaticProperties, logger, videoModes
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
getFOV()
double
double
double
double
org.photonvision.raspi.LibCameraJNI.SensorModel
getModel()
void
setAutoExposure
(boolean cameraAutoExposure) void
setAutoWhiteBalance
(boolean autowb) void
setAwbGain
(int red, int blue) void
setBlueGain
(int blue) void
setBrightness
(int brightness) void
setExposureRaw
(double exposureRaw) void
setGain
(int gain) void
setRedGain
(int red) void
setRotation
(ImageRotationMode rotationMode) protected void
setVideoModeInternal
(VideoMode videoMode) void
setWhiteBalanceTemp
(double temp) Methods inherited from class org.photonvision.vision.processes.VisionSourceSettables
addCalibration, getConfiguration, getFrameStaticProperties, setFOV, setVideoMode, setVideoModeIndex, setVideoModeInternal
-
Field Details
-
r_ptr
public long r_ptr -
CAMERA_LOCK
-
-
Constructor Details
-
LibcameraGpuSettables
-
-
Method Details
-
setRotation
-
getRotation
-
getFOV
public double getFOV()- Overrides:
getFOV
in classVisionSourceSettables
-
setAutoExposure
public void setAutoExposure(boolean cameraAutoExposure) - Specified by:
setAutoExposure
in classVisionSourceSettables
-
setExposureRaw
public void setExposureRaw(double exposureRaw) - Specified by:
setExposureRaw
in classVisionSourceSettables
-
setBrightness
public void setBrightness(int brightness) - Specified by:
setBrightness
in classVisionSourceSettables
-
setGain
public void setGain(int gain) - Specified by:
setGain
in classVisionSourceSettables
-
setRedGain
public void setRedGain(int red) - Overrides:
setRedGain
in classVisionSourceSettables
-
setBlueGain
public void setBlueGain(int blue) - Overrides:
setBlueGain
in classVisionSourceSettables
-
setAwbGain
public void setAwbGain(int red, int blue) -
getCurrentVideoMode
- Specified by:
getCurrentVideoMode
in classVisionSourceSettables
-
setVideoModeInternal
- Specified by:
setVideoModeInternal
in classVisionSourceSettables
-
getAllVideoModes
- Specified by:
getAllVideoModes
in classVisionSourceSettables
-
getModel
public org.photonvision.raspi.LibCameraJNI.SensorModel getModel() -
getMinExposureRaw
public double getMinExposureRaw()- Specified by:
getMinExposureRaw
in classVisionSourceSettables
-
getMaxExposureRaw
public double getMaxExposureRaw()- Specified by:
getMaxExposureRaw
in classVisionSourceSettables
-
setAutoWhiteBalance
public void setAutoWhiteBalance(boolean autowb) - Specified by:
setAutoWhiteBalance
in classVisionSourceSettables
-
setWhiteBalanceTemp
public void setWhiteBalanceTemp(double temp) - Specified by:
setWhiteBalanceTemp
in classVisionSourceSettables
-
getMaxWhiteBalanceTemp
public double getMaxWhiteBalanceTemp()- Specified by:
getMaxWhiteBalanceTemp
in classVisionSourceSettables
-
getMinWhiteBalanceTemp
public double getMinWhiteBalanceTemp()- Specified by:
getMinWhiteBalanceTemp
in classVisionSourceSettables
-