Struct opencv::aruco::EstimateParameters
source · pub struct EstimateParameters { /* private fields */ }Expand description
Pose estimation parameters
Parameters
- pattern: Defines center this system and axes direction (default PatternPos::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 @ref calib3d_solvePnP_flags (default SOLVEPNP_ITERATIVE).
See also
PatternPos, solvePnP(), @ref tutorial_aruco_detection
Implementations
sourceimpl EstimateParameters
impl EstimateParameters
pub fn default() -> Result<EstimateParameters>
pub fn create() -> Result<Ptr<EstimateParameters>>
Trait Implementations
sourceimpl Boxed for EstimateParameters
impl Boxed for EstimateParameters
sourceimpl Drop for EstimateParameters
impl Drop for EstimateParameters
sourceimpl EstimateParametersTrait for EstimateParameters
impl EstimateParametersTrait for EstimateParameters
fn as_raw_mut_EstimateParameters(&mut self) -> *mut c_void
fn set_pattern(&mut self, val: PatternPos)
fn set_use_extrinsic_guess(&mut self, val: bool)
fn set_solve_pnp_method(&mut self, val: SolvePnPMethod)
sourceimpl EstimateParametersTraitConst for EstimateParameters
impl EstimateParametersTraitConst for EstimateParameters
fn as_raw_EstimateParameters(&self) -> *const c_void
fn pattern(&self) -> PatternPos
fn use_extrinsic_guess(&self) -> bool
fn solve_pnp_method(&self) -> SolvePnPMethod
impl Send for EstimateParameters
Auto Trait Implementations
impl RefUnwindSafe for EstimateParameters
impl !Sync for EstimateParameters
impl Unpin for EstimateParameters
impl UnwindSafe for EstimateParameters
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more