pub struct ColourCorrectionMatrix(pub [[f32; 3]; 3]);
Expand description
The 3x3 matrix that converts camera RGB to sRGB within the imaging pipeline.
This should describe the matrix that is used after pixels have been white-balanced, but before any gamma transformation. The 3x3 matrix is stored in conventional reading order in an array of 9 floating point values.
ColourCorrectionMatrix can only be applied in a Request when the AWB is disabled.
\sa AwbEnable \sa ColourTemperature
Tuple Fields§
§0: [[f32; 3]; 3]
Trait Implementations§
Source§impl Clone for ColourCorrectionMatrix
impl Clone for ColourCorrectionMatrix
Source§fn clone(&self) -> ColourCorrectionMatrix
fn clone(&self) -> ColourCorrectionMatrix
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ColourCorrectionMatrix
impl Debug for ColourCorrectionMatrix
Source§impl Deref for ColourCorrectionMatrix
impl Deref for ColourCorrectionMatrix
Source§impl DerefMut for ColourCorrectionMatrix
impl DerefMut for ColourCorrectionMatrix
Source§impl From<ColourCorrectionMatrix> for ControlValue
impl From<ColourCorrectionMatrix> for ControlValue
Source§fn from(val: ColourCorrectionMatrix) -> Self
fn from(val: ColourCorrectionMatrix) -> Self
Converts to this type from the input type.
Source§impl TryFrom<ControlValue> for ColourCorrectionMatrix
impl TryFrom<ControlValue> for ColourCorrectionMatrix
Source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
impl Control for ColourCorrectionMatrix
Auto Trait Implementations§
impl Freeze for ColourCorrectionMatrix
impl RefUnwindSafe for ColourCorrectionMatrix
impl Send for ColourCorrectionMatrix
impl Sync for ColourCorrectionMatrix
impl Unpin for ColourCorrectionMatrix
impl UnwindSafe for ColourCorrectionMatrix
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more