[][src]Struct opencv::quality::QualityMSE

pub struct QualityMSE { /* fields omitted */ }

Full reference mean square error algorithm https://en.wikipedia.org/wiki/Mean_squared_error

Implementations

impl QualityMSE[src]

impl QualityMSE[src]

pub fn create(ref_: &dyn ToInputArray) -> Result<Ptr<QualityMSE>>[src]

Create an object which calculates quality

Parameters

  • ref: input image to use as the reference for comparison

pub fn compute(
    ref_: &dyn ToInputArray,
    cmp: &dyn ToInputArray,
    quality_map: &mut dyn ToOutputArray
) -> Result<Scalar>
[src]

static method for computing quality

Parameters

  • ref: reference image
  • cmp: comparison image=
  • qualityMap: output quality map, or cv::noArray()

Returns

cv::Scalar with per-channel quality values. Values range from 0 (best) to max float (worst)

Trait Implementations

impl AlgorithmTrait for QualityMSE[src]

impl Boxed for QualityMSE[src]

impl Drop for QualityMSE[src]

impl QualityBase for QualityMSE[src]

impl QualityMSETrait for QualityMSE[src]

impl Send for QualityMSE[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.