opencv::aruco

Struct EstimateParameters

Source
pub struct EstimateParameters { /* private fields */ }
๐Ÿ‘ŽDeprecated: Use Board::matchImagePoints and cv::solvePnP
Expand description

Pose estimation parameters

ยงParameters

  • pattern: Defines center this system and axes direction (default PatternPositionType::ARUCO_CCW_CENTER).
  • useExtrinsicGuess: Parameter used for SOLVEPNP_ITERATIVE. If true (1), the function uses the provided rvec and tvec values as initial approximations of the rotation and translation vectors, respectively, and further optimizes them (default false).
  • solvePnPMethod: Method for solving a PnP problem: see [calib3d_solvePnP_flags] (default SOLVEPNP_ITERATIVE).

Deprecated: Use Board::matchImagePoints and cv::solvePnP

ยงSee also

PatternPositionType, solvePnP()

Implementationsยง

Trait Implementationsยง

Sourceยง

impl Boxed for EstimateParameters

Sourceยง

unsafe fn from_raw( ptr: <EstimateParameters as OpenCVFromExtern>::ExternReceive, ) -> Self

Wrap the specified raw pointer Read more
Sourceยง

fn into_raw( self, ) -> <EstimateParameters as OpenCVTypeExternContainer>::ExternSendMut

Return the underlying raw pointer while consuming this wrapper. Read more
Sourceยง

fn as_raw( &self, ) -> <EstimateParameters as OpenCVTypeExternContainer>::ExternSend

Return the underlying raw pointer. Read more
Sourceยง

fn as_raw_mut( &mut self, ) -> <EstimateParameters as OpenCVTypeExternContainer>::ExternSendMut

Return the underlying mutable raw pointer Read more
Sourceยง

impl Clone for EstimateParameters

Sourceยง

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 ยท Sourceยง

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Sourceยง

impl Debug for EstimateParameters

Sourceยง

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Sourceยง

impl Drop for EstimateParameters

Sourceยง

fn drop(&mut self)

Executes the destructor for this type. Read more
Sourceยง

impl EstimateParametersTrait for EstimateParameters

Sourceยง

impl EstimateParametersTraitConst for EstimateParameters

Sourceยง

impl Send for EstimateParameters

Auto Trait Implementationsยง

Blanket Implementationsยง

Sourceยง

impl<T> Any for T
where T: 'static + ?Sized,

Sourceยง

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Sourceยง

impl<T> Borrow<T> for T
where T: ?Sized,

Sourceยง

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Sourceยง

impl<T> BorrowMut<T> for T
where T: ?Sized,

Sourceยง

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Sourceยง

impl<T> CloneToUninit for T
where T: Clone,

Sourceยง

unsafe fn clone_to_uninit(&self, dst: *mut u8)

๐Ÿ”ฌThis is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Sourceยง

impl<T> From<T> for T

Sourceยง

fn from(t: T) -> T

Returns the argument unchanged.

Sourceยง

impl<T, U> Into<U> for T
where U: From<T>,

Sourceยง

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Sourceยง

impl<Mat> ModifyInplace for Mat
where Mat: Boxed,

Sourceยง

unsafe fn modify_inplace<Res>( &mut self, f: impl FnOnce(&Mat, &mut Mat) -> Res, ) -> Res

Helper function to call OpenCV functions that allow in-place modification of a Mat or another similar object. By passing a mutable reference to the Mat to this function your closure will get called with the read reference and a write references to the same Mat. This is unsafe in a general case as it leads to having non-exclusive mutable access to the internal data, but it can be useful for some performance sensitive operations. One example of an OpenCV function that allows such in-place modification is imgproc::threshold. Read more
Sourceยง

impl<T> ToOwned for T
where T: Clone,

Sourceยง

type Owned = T

The resulting type after obtaining ownership.
Sourceยง

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Sourceยง

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Sourceยง

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Sourceยง

type Error = Infallible

The type returned in the event of a conversion error.
Sourceยง

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Sourceยง

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Sourceยง

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

The type returned in the event of a conversion error.
Sourceยง

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.