[][src]Struct opencv::types::PtrOfThinPlateSplineShapeTransformer

pub struct PtrOfThinPlateSplineShapeTransformer { /* fields omitted */ }

Methods

impl PtrOfThinPlateSplineShapeTransformer[src]

Trait Implementations

impl Algorithm for PtrOfThinPlateSplineShapeTransformer[src]

fn clear(&mut self) -> Result<()>[src]

Clears the algorithm state

fn empty(&self) -> Result<bool>[src]

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read

fn save(&self, filename: &str) -> Result<()>[src]

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs). Read more

fn get_default_name(&self) -> Result<String>[src]

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string. Read more

impl ShapeTransformer for PtrOfThinPlateSplineShapeTransformer[src]

fn estimate_transformation(
    &mut self,
    transforming_shape: &Mat,
    target_shape: &Mat,
    matches: &mut VectorOfDMatch
) -> Result<()>
[src]

Estimate the transformation parameters of the current transformer algorithm, based on point matches. Read more

fn apply_transformation(&mut self, input: &Mat, output: &mut Mat) -> Result<f32>[src]

Apply a transformation, given a pre-estimated transformation parameters. Read more

fn warp_image(
    &self,
    transforming_image: &Mat,
    output: &mut Mat,
    flags: i32,
    border_mode: i32,
    border_value: Scalar
) -> Result<()>
[src]

Apply a transformation, given a pre-estimated transformation parameters, to an Image. Read more

impl ThinPlateSplineShapeTransformer for PtrOfThinPlateSplineShapeTransformer[src]

fn set_regularization_parameter(&mut self, beta: f64) -> Result<()>[src]

Set the regularization parameter for relaxing the exact interpolation requirements of the TPS algorithm. Read more

fn get_regularization_parameter(&self) -> Result<f64>[src]

impl Send for PtrOfThinPlateSplineShapeTransformer[src]

impl Drop for PtrOfThinPlateSplineShapeTransformer[src]

Auto Trait Implementations

Blanket Implementations

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.

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

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

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