[−][src]Struct opencv::types::PtrOfThinPlateSplineShapeTransformer
Methods
impl PtrOfThinPlateSplineShapeTransformer
[src]
pub fn as_raw_PtrOfThinPlateSplineShapeTransformer(&self) -> *mut c_void
[src]
pub unsafe fn from_raw_ptr(ptr: *mut c_void) -> Self
[src]
Trait Implementations
impl Algorithm for PtrOfThinPlateSplineShapeTransformer
[src]
fn as_raw_Algorithm(&self) -> *mut c_void
[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 as_raw_ShapeTransformer(&self) -> *mut c_void
[src]
fn estimate_transformation(
&mut self,
transforming_shape: &Mat,
target_shape: &Mat,
matches: &mut VectorOfDMatch
) -> Result<()>
[src]
&mut self,
transforming_shape: &Mat,
target_shape: &Mat,
matches: &mut VectorOfDMatch
) -> Result<()>
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]
&self,
transforming_image: &Mat,
output: &mut Mat,
flags: i32,
border_mode: i32,
border_value: Scalar
) -> Result<()>
Apply a transformation, given a pre-estimated transformation parameters, to an Image. Read more
impl ThinPlateSplineShapeTransformer for PtrOfThinPlateSplineShapeTransformer
[src]
fn as_raw_ThinPlateSplineShapeTransformer(&self) -> *mut c_void
[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
impl Unpin for PtrOfThinPlateSplineShapeTransformer
impl !Sync for PtrOfThinPlateSplineShapeTransformer
impl RefUnwindSafe for PtrOfThinPlateSplineShapeTransformer
impl UnwindSafe for PtrOfThinPlateSplineShapeTransformer
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,