pub trait Detail_EstimatorTrait: Detail_EstimatorTraitConst {
    // Required method
    fn as_raw_mut_Detail_Estimator(&mut self) -> *mut c_void;

    // Provided method
    fn apply(
        &mut self,
        features: &Vector<Detail_ImageFeatures>,
        pairwise_matches: &Vector<Detail_MatchesInfo>,
        cameras: &mut Vector<Detail_CameraParams>
    ) -> Result<bool> { ... }
}
Expand description

Required Methods§

Provided Methods§

source

fn apply( &mut self, features: &Vector<Detail_ImageFeatures>, pairwise_matches: &Vector<Detail_MatchesInfo>, cameras: &mut Vector<Detail_CameraParams> ) -> Result<bool>

Estimates camera parameters.

Parameters
  • features: Features of images
  • pairwise_matches: Pairwise matches of images
  • cameras: Estimated camera parameters
Returns

True in case of success, false otherwise

Implementors§