pub struct Gmle { /* private fields */ }Expand description
Configuration for Gaussian maximum-likelihood estimation.
Implementations§
Source§impl Gmle
impl Gmle
Sourcepub fn iterations(self, value: usize) -> Self
pub fn iterations(self, value: usize) -> Self
Set the maximum EM iteration count.
Sourcepub fn relative_update_tolerance(self, value: Option<f32>) -> Self
pub fn relative_update_tolerance(self, value: Option<f32>) -> Self
Set the relative update stopping tolerance.
None disables this stopping criterion.
Sourcepub fn filter_epsilon(self, value: f32) -> Self
pub fn filter_epsilon(self, value: f32) -> Self
Set the positive denominator floor used in multiplicative updates.
Sourcepub fn snr(self, value: f32) -> Self
pub fn snr(self, value: f32) -> Self
Set the positive signal-to-noise ratio used to derive readout noise.
Sourcepub fn roughness(self, value: f32) -> Self
pub fn roughness(self, value: f32) -> Self
Set the nonnegative roughness factor used to derive TV weight.
Sourcepub fn tv_epsilon(self, value: f32) -> Self
pub fn tv_epsilon(self, value: f32) -> Self
Set the positive epsilon used in TV gradient magnitude.
Sourcepub fn channel_mode(self, value: ChannelMode) -> Self
pub fn channel_mode(self, value: ChannelMode) -> Self
Set how image::DynamicImage channels are restored.
Sourcepub fn range_policy(self, value: RangePolicy) -> Self
pub fn range_policy(self, value: RangePolicy) -> Self
Set output range handling after restoration.
Sourcepub fn collect_history(self, value: bool) -> Self
pub fn collect_history(self, value: bool) -> Self
Enable or disable objective and residual history in SolveReport.
Trait Implementations§
impl StructuralPartialEq for Gmle
Auto Trait Implementations§
impl Freeze for Gmle
impl RefUnwindSafe for Gmle
impl Send for Gmle
impl Sync for Gmle
impl Unpin for Gmle
impl UnsafeUnpin for Gmle
impl UnwindSafe for Gmle
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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