pub struct CameraMetadata {Show 20 fields
pub sensor_make: Option<String>,
pub sensor_model: Option<String>,
pub camera_model: Option<String>,
pub lens_model: Option<String>,
pub focal_length: Option<f64>,
pub aperture: Option<f64>,
pub iso: Option<u32>,
pub exposure_time: Option<f64>,
pub white_balance: Option<f64>,
pub capture_date: Option<String>,
pub color_matrix: Option<[f64; 9]>,
pub color_matrix2: Option<[f64; 9]>,
pub forward_matrix1: Option<[f64; 9]>,
pub forward_matrix2: Option<[f64; 9]>,
pub calibration_matrix1: Option<[f64; 9]>,
pub calibration_matrix2: Option<[f64; 9]>,
pub calibration_illuminant1: Option<i32>,
pub calibration_illuminant2: Option<i32>,
pub calibration_illuminant: Option<String>,
pub wb_multipliers: Option<[f32; 3]>,
}Expand description
Camera metadata extracted from the MCRAW header block
Fields§
§sensor_make: Option<String>§sensor_model: Option<String>§camera_model: Option<String>§lens_model: Option<String>§focal_length: Option<f64>§aperture: Option<f64>§iso: Option<u32>§exposure_time: Option<f64>§white_balance: Option<f64>§capture_date: Option<String>§color_matrix: Option<[f64; 9]>§color_matrix2: Option<[f64; 9]>§forward_matrix1: Option<[f64; 9]>§forward_matrix2: Option<[f64; 9]>§calibration_matrix1: Option<[f64; 9]>§calibration_matrix2: Option<[f64; 9]>§calibration_illuminant1: Option<i32>§calibration_illuminant2: Option<i32>§calibration_illuminant: Option<String>§wb_multipliers: Option<[f32; 3]>Trait Implementations§
Source§impl Clone for CameraMetadata
impl Clone for CameraMetadata
Source§fn clone(&self) -> CameraMetadata
fn clone(&self) -> CameraMetadata
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CameraMetadata
impl Debug for CameraMetadata
Auto Trait Implementations§
impl Freeze for CameraMetadata
impl RefUnwindSafe for CameraMetadata
impl Send for CameraMetadata
impl Sync for CameraMetadata
impl Unpin for CameraMetadata
impl UnsafeUnpin for CameraMetadata
impl UnwindSafe for CameraMetadata
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more