Class CameraProperty
- java.lang.Object
-
- com.epson.moverio.hardware.camera.CameraProperty
-
public class CameraProperty extends java.lang.Object
This class defines the properties of the camera equipped to the Moverio. To change properties, capture the CameraProperty instance by using the getProperty method of the CameraDevice, and change the desired settings by using the CameraProperty dedicated method.- Since:
- 1.0.0
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CAPTURE_DATA_FORMAT_ARGB_8888
ARGB8888 capture data format.static java.lang.String
CAPTURE_DATA_FORMAT_H264
H264 capture data format.static java.lang.String
CAPTURE_DATA_FORMAT_RGB_565
RGB565 capture data format.static java.lang.String
CAPTURE_DATA_FORMAT_UNKNOWN
Unknown capture data format.static java.lang.String
CAPTURE_DATA_FORMAT_YUY2
YUY2 capture data format.static java.lang.String
EXPOSURE_MODE_AUTO
Automatic exposure adjustment mode.static java.lang.String
EXPOSURE_MODE_MANUAL
Manual exposure adjustment mode.static java.lang.String
EXPOSURE_MODE_UNKNOWN
Unknown exposure adjustment mode.static java.lang.String
FOCUS_MODE_AUTO
Automatic focus mode.static java.lang.String
FOCUS_MODE_MANUAL
Manual focus mode.static java.lang.String
FOCUS_MODE_OFF
Fixed focus mode.static java.lang.String
FOCUS_MODE_UNKNOWN
Unknown focus mode.static java.lang.String
INDICATOR_MODE_AUTO
Automatic indicator mode.static java.lang.String
INDICATOR_MODE_OFF
Indicator off mode.static java.lang.String
INDICATOR_MODE_ON
Indicator lighting mode.static java.lang.String
INDICATOR_MODE_UNKNOWN
Unknown indicator mode.static java.lang.String
POWER_LINE_FREQUENCY_CONTROL_MODE_50HZ
50-Hz power line frequency control mode.static java.lang.String
POWER_LINE_FREQUENCY_CONTROL_MODE_60HZ
60-Hz power line frequency control mode.static java.lang.String
POWER_LINE_FREQUENCY_CONTROL_MODE_DISABLE
Disabling of power line frequency control mode.static java.lang.String
POWER_LINE_FREQUENCY_CONTROL_MODE_UNKNOWN
Unknown power line frequency control mode.static java.lang.String
WHITE_BALANCE_MODE_AUTO
Automatic white balance adjustment mode.static java.lang.String
WHITE_BALANCE_MODE_CLOUDY_DAYLIGHT
Cloudy white balance adjustment mode (6000K).static java.lang.String
WHITE_BALANCE_MODE_DAYLIGHT
Sunlight white balance adjustment mode (5500K).static java.lang.String
WHITE_BALANCE_MODE_FLUORESCENT
Fluorescent lamp white balance adjustment mode (4200K).static java.lang.String
WHITE_BALANCE_MODE_INCANDESCENT
Incandescent lamp white balance adjustment mode (3200K).static java.lang.String
WHITE_BALANCE_MODE_TWILIGHT
Twilight white balance adjustment mode (3500K).static java.lang.String
WHITE_BALANCE_MODE_UNKNOWN
Unknown white balance adjustment mode.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getBrightness()
Gets the camera brightness.int
getBrightnessMax()
Gets the maximum camera brightness value.int
getBrightnessMin()
Gets the minimum camera brightness value.java.lang.String
getCaptureDataFormat()
Gets the capture data format.int
getCaptureFps()
Gets the camera frame rate.int[]
getCaptureSize()
Gets the camera resolution.java.lang.String
getExposureMode()
Gets the camera exposure adjustment mode.int
getExposureStep()
Gets the camera exposure compensation coefficient.int
getExposureStepMax()
Gets the maximum value of the camera exposure compensation coefficient.int
getExposureStepMin()
Gets the minimum value of the camera exposure compensation coefficient.int
getFocusDistance()
Gets the camera focus distance from the focusing plane to the subject.int
getFocusDistanceMax()
Gets the maximum value of the camera focus distance from the focusing plane to the subject.int
getFocusDistanceMin()
Gets the minimum value of the camera focus distance from the focusing plane to the subject.java.lang.String
getFocusMode()
Gets the camera focus mode.int
getGain()
Gets the camera gain compensation coefficient.int
getGainMax()
Gets the maximum value of the camera gain compensation coefficient.int
getGainMin()
Gets the minimum value of the camera gain compensation coefficient.java.lang.String
getIndicatorMode()
Gets the indicator mode.java.lang.String
getPowerLineFrequencyControlMode()
Gets the power line frequency control mode of the camera.int
getSharpness()
Gets the camera sharpness compensation coefficient.int
getSharpnessMax()
Gets the maximum camera brightness value.int
getSharpnessMin()
Gets the minimum camera brightness value.java.util.List<java.lang.String>
getSupportedCaptureDataFormat()
Gets the capture data format supported by the camera.java.util.List<int[]>
getSupportedCaptureInfo()
Gets the resolution and frame rate supported by the camera.java.util.List<java.lang.String>
getSupportedFocusMode()
Gets the list of supported focus control mode.java.util.List<java.lang.String>
getSupportedIndicatorMode()
Gets the indicator mode supported by the camera.java.util.List<java.lang.String>
getSupportedPowerLineFrequencyControlMode()
Gets the list of supported power line frequency control mode.java.lang.String
getWhiteBalanceMode()
Gets the camera white balance adjustment mode.boolean
isGainControlSupported()
Returns true if gain control is supported.boolean
isSharpnessControlSupported()
Returns true if sharpness is supported.void
setBrightness(int value)
Sets the camera brightness.void
setCaptureDataFormat(java.lang.String format)
Sets the capture data format.void
setCaptureFps(int fps)
Sets the camera frame rate.void
setCaptureSize(int width, int height)
Sets the camera resolution.void
setExposureMode(java.lang.String mode)
Sets the camera exposure adjustment mode.void
setExposureStep(int value)
Sets the camera exposure compensation coefficient.void
setFocusDistance(int value)
Sets the camera focus distance from the focusing plane to the subject.void
setFocusMode(java.lang.String mode)
Sets the camera focus mode.void
setGain(int value)
Sets the camera gain compensation coefficient.void
setIndicatorMode(java.lang.String mode)
Sets the indicator mode.void
setPowerLineFrequencyControlMode(java.lang.String mode)
Sets the power line frequency control mode of the camera.void
setSharpness(int value)
Sets the camera sharpness compensation coefficient.void
setWhiteBalanceMode(java.lang.String mode)
Sets the camera white balance adjustment mode.
-
-
-
Field Detail
-
EXPOSURE_MODE_AUTO
public static final java.lang.String EXPOSURE_MODE_AUTO
Automatic exposure adjustment mode.- Since:
- 1.0.0
- See Also:
- Constant Field Values
-
EXPOSURE_MODE_MANUAL
public static final java.lang.String EXPOSURE_MODE_MANUAL
Manual exposure adjustment mode.- Since:
- 1.0.0
- See Also:
- Constant Field Values
-
EXPOSURE_MODE_UNKNOWN
public static final java.lang.String EXPOSURE_MODE_UNKNOWN
Unknown exposure adjustment mode.- Since:
- 1.0.0
- See Also:
- Constant Field Values
-
WHITE_BALANCE_MODE_AUTO
public static final java.lang.String WHITE_BALANCE_MODE_AUTO
Automatic white balance adjustment mode.- Since:
- 1.0.0
- See Also:
- Constant Field Values
-
WHITE_BALANCE_MODE_CLOUDY_DAYLIGHT
public static final java.lang.String WHITE_BALANCE_MODE_CLOUDY_DAYLIGHT
Cloudy white balance adjustment mode (6000K).- Since:
- 1.0.0
- See Also:
- Constant Field Values
-
WHITE_BALANCE_MODE_DAYLIGHT
public static final java.lang.String WHITE_BALANCE_MODE_DAYLIGHT
Sunlight white balance adjustment mode (5500K).- Since:
- 1.0.0
- See Also:
- Constant Field Values
-
WHITE_BALANCE_MODE_FLUORESCENT
public static final java.lang.String WHITE_BALANCE_MODE_FLUORESCENT
Fluorescent lamp white balance adjustment mode (4200K).- Since:
- 1.0.0
- See Also:
- Constant Field Values
-
WHITE_BALANCE_MODE_INCANDESCENT
public static final java.lang.String WHITE_BALANCE_MODE_INCANDESCENT
Incandescent lamp white balance adjustment mode (3200K).- Since:
- 1.0.0
- See Also:
- Constant Field Values
-
WHITE_BALANCE_MODE_TWILIGHT
public static final java.lang.String WHITE_BALANCE_MODE_TWILIGHT
Twilight white balance adjustment mode (3500K).- Since:
- 1.0.0
- See Also:
- Constant Field Values
-
WHITE_BALANCE_MODE_UNKNOWN
public static final java.lang.String WHITE_BALANCE_MODE_UNKNOWN
Unknown white balance adjustment mode.- Since:
- 1.0.0
- See Also:
- Constant Field Values
-
FOCUS_MODE_AUTO
public static final java.lang.String FOCUS_MODE_AUTO
Automatic focus mode.- Since:
- 1.2.0
- See Also:
- Constant Field Values
-
FOCUS_MODE_MANUAL
public static final java.lang.String FOCUS_MODE_MANUAL
Manual focus mode.- Since:
- 1.2.0
- See Also:
- Constant Field Values
-
FOCUS_MODE_OFF
public static final java.lang.String FOCUS_MODE_OFF
Fixed focus mode. Focus adjustment is not possible.- Since:
- 1.2.0
- See Also:
- Constant Field Values
-
FOCUS_MODE_UNKNOWN
public static final java.lang.String FOCUS_MODE_UNKNOWN
Unknown focus mode.- Since:
- 1.2.0
- See Also:
- Constant Field Values
-
POWER_LINE_FREQUENCY_CONTROL_MODE_50HZ
public static final java.lang.String POWER_LINE_FREQUENCY_CONTROL_MODE_50HZ
50-Hz power line frequency control mode.- Since:
- 1.0.0
- See Also:
- Constant Field Values
-
POWER_LINE_FREQUENCY_CONTROL_MODE_60HZ
public static final java.lang.String POWER_LINE_FREQUENCY_CONTROL_MODE_60HZ
60-Hz power line frequency control mode.- Since:
- 1.0.0
- See Also:
- Constant Field Values
-
POWER_LINE_FREQUENCY_CONTROL_MODE_DISABLE
public static final java.lang.String POWER_LINE_FREQUENCY_CONTROL_MODE_DISABLE
Disabling of power line frequency control mode.- Since:
- 1.2.0
- See Also:
- Constant Field Values
-
POWER_LINE_FREQUENCY_CONTROL_MODE_UNKNOWN
public static final java.lang.String POWER_LINE_FREQUENCY_CONTROL_MODE_UNKNOWN
Unknown power line frequency control mode.- Since:
- 1.0.0
- See Also:
- Constant Field Values
-
CAPTURE_DATA_FORMAT_RGB_565
public static final java.lang.String CAPTURE_DATA_FORMAT_RGB_565
RGB565 capture data format.- Since:
- 1.2.0
- See Also:
- Constant Field Values
-
CAPTURE_DATA_FORMAT_ARGB_8888
public static final java.lang.String CAPTURE_DATA_FORMAT_ARGB_8888
ARGB8888 capture data format.- Since:
- 1.2.0
- See Also:
- Constant Field Values
-
CAPTURE_DATA_FORMAT_YUY2
public static final java.lang.String CAPTURE_DATA_FORMAT_YUY2
YUY2 capture data format.- Since:
- 1.2.0
- See Also:
- Constant Field Values
-
CAPTURE_DATA_FORMAT_H264
public static final java.lang.String CAPTURE_DATA_FORMAT_H264
H264 capture data format.- Since:
- 1.2.0
- See Also:
- Constant Field Values
-
CAPTURE_DATA_FORMAT_UNKNOWN
public static final java.lang.String CAPTURE_DATA_FORMAT_UNKNOWN
Unknown capture data format.- Since:
- 1.2.0
- See Also:
- Constant Field Values
-
INDICATOR_MODE_AUTO
public static final java.lang.String INDICATOR_MODE_AUTO
Automatic indicator mode.- Since:
- 1.2.0
- See Also:
- Constant Field Values
-
INDICATOR_MODE_ON
public static final java.lang.String INDICATOR_MODE_ON
Indicator lighting mode.- Since:
- 1.2.0
- See Also:
- Constant Field Values
-
INDICATOR_MODE_OFF
public static final java.lang.String INDICATOR_MODE_OFF
Indicator off mode.- Since:
- 1.2.0
- See Also:
- Constant Field Values
-
INDICATOR_MODE_UNKNOWN
public static final java.lang.String INDICATOR_MODE_UNKNOWN
Unknown indicator mode.- Since:
- 1.2.0
- See Also:
- Constant Field Values
-
-
Method Detail
-
setExposureStep
public void setExposureStep(int value)
Sets the camera exposure compensation coefficient.- Parameters:
value
- Exposure compensation coefficient- Since:
- 1.0.0
-
getExposureStep
public int getExposureStep()
Gets the camera exposure compensation coefficient.- Returns:
- Exposure compensation coefficient
- Since:
- 1.0.0
-
getExposureStepMin
public int getExposureStepMin()
Gets the minimum value of the camera exposure compensation coefficient.- Returns:
- Minimum value of the exposure compensation coefficient
- Since:
- 1.0.0
-
getExposureStepMax
public int getExposureStepMax()
Gets the maximum value of the camera exposure compensation coefficient.- Returns:
- Maximum value of the exposure compensation coefficient
- Since:
- 1.0.0
-
setBrightness
public void setBrightness(int value)
Sets the camera brightness.- Parameters:
value
- Brightness- Since:
- 1.0.0
-
getBrightness
public int getBrightness()
Gets the camera brightness.- Returns:
- Brightness
- Since:
- 1.0.0
-
getBrightnessMin
public int getBrightnessMin()
Gets the minimum camera brightness value.- Returns:
- Minimum brightness value
- Since:
- 1.0.0
-
getBrightnessMax
public int getBrightnessMax()
Gets the maximum camera brightness value.- Returns:
- Maximum brightness value
- Since:
- 1.0.0
-
setSharpness
public void setSharpness(int value)
Sets the camera sharpness compensation coefficient.- Parameters:
value
- sharpness compensation coefficient- Since:
- 1.0.0
-
getSharpness
public int getSharpness()
Gets the camera sharpness compensation coefficient.- Returns:
- Sharpness compensation coefficient
- Since:
- 1.0.0
-
getSharpnessMin
public int getSharpnessMin()
Gets the minimum camera brightness value.- Returns:
- Minimum brightness value
- Since:
- 1.0.0
-
getSharpnessMax
public int getSharpnessMax()
Gets the maximum camera brightness value.- Returns:
- Maximum brightness value
- Since:
- 1.0.0
-
isSharpnessControlSupported
public boolean isSharpnessControlSupported()
Returns true if sharpness is supported. Application should call this before trying to setSharpness.- Returns:
- true if sharpness is supported.
- Since:
- 1.2.0
-
setGain
public void setGain(int value)
Sets the camera gain compensation coefficient.- Parameters:
value
- Gain compensation coefficient- Since:
- 1.2.0
-
getGain
public int getGain()
Gets the camera gain compensation coefficient.- Returns:
- Gain compensation coefficient
- Since:
- 1.2.0
-
getGainMin
public int getGainMin()
Gets the minimum value of the camera gain compensation coefficient.- Returns:
- Minimum value of the gain compensation coefficient
- Since:
- 1.2.0
-
getGainMax
public int getGainMax()
Gets the maximum value of the camera gain compensation coefficient.- Returns:
- Maximum value of the gain compensation coefficient
- Since:
- 1.2.0
-
isGainControlSupported
public boolean isGainControlSupported()
Returns true if gain control is supported. Application should call this before trying to setGain.- Returns:
- true if gain is supported.
- Since:
- 1.2.0
-
setFocusDistance
public void setFocusDistance(int value)
Sets the camera focus distance from the focusing plane to the subject.- Parameters:
value
- Focus distance in millimetres- Since:
- 1.2.0
-
getFocusDistance
public int getFocusDistance()
Gets the camera focus distance from the focusing plane to the subject.- Returns:
- Focus distance in millimetres
- Since:
- 1.2.0
-
getFocusDistanceMin
public int getFocusDistanceMin()
Gets the minimum value of the camera focus distance from the focusing plane to the subject.- Returns:
- Minimum value of the focus distance in millimetres
- Since:
- 1.2.0
-
getFocusDistanceMax
public int getFocusDistanceMax()
Gets the maximum value of the camera focus distance from the focusing plane to the subject.- Returns:
- Maximum value of the focus distance in millimetres
- Since:
- 1.2.0
-
setExposureMode
public void setExposureMode(java.lang.String mode)
Sets the camera exposure adjustment mode.- Parameters:
mode
- Exposure adjustment mode- Since:
- 1.0.0
-
getExposureMode
public java.lang.String getExposureMode()
Gets the camera exposure adjustment mode.- Returns:
- Exposure adjustment mode
- Since:
- 1.0.0
-
setWhiteBalanceMode
public void setWhiteBalanceMode(java.lang.String mode)
Sets the camera white balance adjustment mode.- Parameters:
mode
- White balance adjustment mode- Since:
- 1.0.0
-
getWhiteBalanceMode
public java.lang.String getWhiteBalanceMode()
Gets the camera white balance adjustment mode.- Returns:
- White balance adjustment mode
- Since:
- 1.0.0
-
setFocusMode
public void setFocusMode(java.lang.String mode)
Sets the camera focus mode.- Parameters:
mode
- Focus mode- Since:
- 1.2.0
-
getFocusMode
public java.lang.String getFocusMode()
Gets the camera focus mode.- Returns:
- Focus mode
- Since:
- 1.2.0
-
getSupportedFocusMode
public java.util.List<java.lang.String> getSupportedFocusMode()
Gets the list of supported focus control mode.- Returns:
- The list of supported focus control mode
- Since:
- 1.2.0
-
setPowerLineFrequencyControlMode
public void setPowerLineFrequencyControlMode(java.lang.String mode)
Sets the power line frequency control mode of the camera.- Parameters:
mode
- Power line frequency control mode- Since:
- 1.0.0
-
getPowerLineFrequencyControlMode
public java.lang.String getPowerLineFrequencyControlMode()
Gets the power line frequency control mode of the camera.- Returns:
- Power line frequency control mode
- Since:
- 1.0.0
-
getSupportedPowerLineFrequencyControlMode
public java.util.List<java.lang.String> getSupportedPowerLineFrequencyControlMode()
Gets the list of supported power line frequency control mode.- Returns:
- The list of supported power line frequency control mode
- Since:
- 1.2.0
-
setCaptureSize
public void setCaptureSize(int width, int height)
Sets the camera resolution.- Parameters:
width
- Frame widthheight
- Frame height- Since:
- 1.0.0
-
getCaptureSize
public int[] getCaptureSize()
Gets the camera resolution.- Returns:
- Resolution {Frame width, Frame height}
- Since:
- 1.0.0
-
setCaptureFps
public void setCaptureFps(int fps)
Sets the camera frame rate.- Parameters:
fps
- Frame rate- Since:
- 1.0.0
-
getCaptureFps
public int getCaptureFps()
Gets the camera frame rate.- Returns:
- Frame rate
- Since:
- 1.0.0
-
getSupportedCaptureInfo
public java.util.List<int[]> getSupportedCaptureInfo()
Gets the resolution and frame rate supported by the camera.- Returns:
- Supported resolution and frame rate
- Since:
- 1.0.0
-
setCaptureDataFormat
public void setCaptureDataFormat(java.lang.String format)
Sets the capture data format.- Parameters:
format
- Capture data format- Since:
- 1.2.0
-
getCaptureDataFormat
public java.lang.String getCaptureDataFormat()
Gets the capture data format.- Returns:
- Capture data format
- Since:
- 1.2.0
-
getSupportedCaptureDataFormat
public java.util.List<java.lang.String> getSupportedCaptureDataFormat()
Gets the capture data format supported by the camera.- Returns:
- Supported capture data format
- Since:
- 1.2.0
-
setIndicatorMode
public void setIndicatorMode(java.lang.String mode)
Sets the indicator mode.- Parameters:
mode
- Indicator mode- Since:
- 1.2.0
-
getIndicatorMode
public java.lang.String getIndicatorMode()
Gets the indicator mode.- Returns:
- Indicator mode
- Since:
- 1.2.0
-
getSupportedIndicatorMode
public java.util.List<java.lang.String> getSupportedIndicatorMode()
Gets the indicator mode supported by the camera.- Returns:
- Supported indicator mode
- Since:
- 1.2.0
-
-