[−][src]Enum azure_kinect::bindings::k4a_color_control_command_t
Color sensor control commands
\remarks The current settings can be read with k4a_device_get_color_control(). The settings can be set with k4a_device_set_color_control().
\remarks Control values set on a device are reset only when the device is power cycled. The device will retain the settings even if the \ref k4a_device_t is closed or the application is restarted.
\see k4a_color_control_mode_t
\xmlonly
Variants
Exposure time setting.
\details May be set to ::K4A_COLOR_CONTROL_MODE_AUTO or ::K4A_COLOR_CONTROL_MODE_MANUAL.
\details The Azure Kinect supports a limited number of fixed expsore settings. When setting this, expect the exposure to be rounded up to the nearest setting. Exceptions are 1) The last value in the table is the upper limit, so a value larger than this will be overridden to the largest entry in the table. 2) The exposure time cannot be larger than the equivelent FPS. So expect 100ms exposure time to be reduced to 30ms or 33.33ms when the camera is started. The most recent copy of the table 'device_exposure_mapping' is in https://github.com/microsoft/Azure-Kinect-Sensor-SDK/blob/develop/src/color/color_priv.h
\details Exposure time is measured in microseconds.
Exposure or Framerate priority setting.
\details May only be set to ::K4A_COLOR_CONTROL_MODE_MANUAL.
\details Value of 0 means framerate priority. Value of 1 means exposure priority.
\details Using exposure priority may impact the framerate of both the color and depth cameras.
\details Deprecated starting in 1.2.0. Please discontinue usage, firmware does not support this.
Brightness setting.
\details May only be set to ::K4A_COLOR_CONTROL_MODE_MANUAL.
\details The valid range is 0 to 255. The default value is 128.
Contrast setting.
\details May only be set to ::K4A_COLOR_CONTROL_MODE_MANUAL.
Saturation setting.
\details May only be set to ::K4A_COLOR_CONTROL_MODE_MANUAL.
Sharpness setting.
\details May only be set to ::K4A_COLOR_CONTROL_MODE_MANUAL.
White balance setting.
\details May be set to ::K4A_COLOR_CONTROL_MODE_AUTO or ::K4A_COLOR_CONTROL_MODE_MANUAL.
\details The unit is degrees Kelvin. The setting must be set to a value evenly divisible by 10 degrees.
Backlight compensation setting.
\details May only be set to ::K4A_COLOR_CONTROL_MODE_MANUAL.
\details Value of 0 means backlight compensation is disabled. Value of 1 means backlight compensation is enabled.
Gain setting.
\details May only be set to ::K4A_COLOR_CONTROL_MODE_MANUAL.
Powerline frequency setting.
\details May only be set to ::K4A_COLOR_CONTROL_MODE_MANUAL.
\details Value of 1 sets the powerline compensation to 50 Hz. Value of 2 sets the powerline compensation to 60 Hz.
Trait Implementations
impl Clone for k4a_color_control_command_t
[src]
fn clone(&self) -> k4a_color_control_command_t
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for k4a_color_control_command_t
[src]
impl Debug for k4a_color_control_command_t
[src]
impl Eq for k4a_color_control_command_t
[src]
impl Hash for k4a_color_control_command_t
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<k4a_color_control_command_t> for k4a_color_control_command_t
[src]
fn eq(&self, other: &k4a_color_control_command_t) -> bool
[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for k4a_color_control_command_t
[src]
impl StructuralPartialEq for k4a_color_control_command_t
[src]
Auto Trait Implementations
impl RefUnwindSafe for k4a_color_control_command_t
impl Send for k4a_color_control_command_t
impl Sync for k4a_color_control_command_t
impl Unpin for k4a_color_control_command_t
impl UnwindSafe for k4a_color_control_command_t
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,