[][src]Enum opencv::xphoto::InpaintTypes

#[repr(C)]pub enum InpaintTypes {
    INPAINT_SHIFTMAP,
    INPAINT_FSR_BEST,
    INPAINT_FSR_FAST,
}

Various inpainting algorithms

See also

inpaint

Variants

INPAINT_SHIFTMAP

This algorithm searches for dominant correspondences (transformations) of image patches and tries to seamlessly fill-in the area to be inpainted using this transformations

INPAINT_FSR_BEST

Performs Frequency Selective Reconstruction (FSR). One of the two quality profiles BEST and FAST can be chosen, depending on the time available for reconstruction. See GenserPCS2018 and SeilerTIP2015 for details.

The algorithm may be utilized for the following areas of application:

  1. %Error Concealment (Inpainting). The sampling mask indicates the missing pixels of the distorted input image to be reconstructed.
  2. Non-Regular Sampling. For more information on how to choose a good sampling mask, please review GroscheICIP2018 and GroscheIST2018.

1-channel grayscale or 3-channel BGR image are accepted.

Conventional accepted ranges:

  • 0-255 for CV_8U
  • 0-65535 for CV_16U
  • 0-1 for CV_32F/CV_64F.
INPAINT_FSR_FAST

See #INPAINT_FSR_BEST

Trait Implementations

impl Clone for InpaintTypes[src]

impl Copy for InpaintTypes[src]

impl Debug for InpaintTypes[src]

impl PartialEq<InpaintTypes> for InpaintTypes[src]

impl StructuralPartialEq for InpaintTypes[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.