#[repr(i32)]pub enum AeConstraintMode {
ConstraintNormal = 0,
ConstraintHighlight = 1,
ConstraintShadows = 2,
ConstraintCustom = 3,
}
Expand description
Specify a constraint mode for the AE algorithm to use.
The constraint modes determine how the measured scene brightness is adjusted to reach the desired target exposure. Constraint modes may be platform specific, and not all constraint modes may be supported.
Variants§
ConstraintNormal = 0
Default constraint mode.
This mode aims to balance the exposure of different parts of the image so as to reach a reasonable average level. However, highlights in the image may appear over-exposed and lowlights may appear under-exposed.
ConstraintHighlight = 1
Highlight constraint mode.
This mode adjusts the exposure levels in order to try and avoid over-exposing the brightest parts (highlights) of an image. Other non-highlight parts of the image may appear under-exposed.
ConstraintShadows = 2
Shadows constraint mode.
This mode adjusts the exposure levels in order to try and avoid under-exposing the dark parts (shadows) of an image. Other normally exposed parts of the image may appear over-exposed.
ConstraintCustom = 3
Custom constraint mode.
Trait Implementations§
Source§impl Clone for AeConstraintMode
impl Clone for AeConstraintMode
Source§fn clone(&self) -> AeConstraintMode
fn clone(&self) -> AeConstraintMode
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more