pub trait Detail_TrackerContribFeatureHAARTrait: Detail_TrackerContribFeatureHAARTraitConst + Detail_TrackerContribFeatureTrait {
// Required method
fn as_raw_mut_Detail_TrackerContribFeatureHAAR(&mut self) -> *mut c_void;
// Provided methods
fn extract_selected(
&mut self,
sel_features: Vector<i32>,
images: &Vector<Mat>,
response: &mut impl MatTrait,
) -> Result<bool> { ... }
fn selection(
&mut self,
response: &mut impl MatTrait,
npoints: i32,
) -> Result<()> { ... }
fn swap_feature(&mut self, source: i32, target: i32) -> Result<bool> { ... }
}Expand description
Mutable methods for crate::tracking::Detail_TrackerContribFeatureHAAR
Required Methods§
fn as_raw_mut_Detail_TrackerContribFeatureHAAR(&mut self) -> *mut c_void
Provided Methods§
Sourcefn extract_selected(
&mut self,
sel_features: Vector<i32>,
images: &Vector<Mat>,
response: &mut impl MatTrait,
) -> Result<bool>
fn extract_selected( &mut self, sel_features: Vector<i32>, images: &Vector<Mat>, response: &mut impl MatTrait, ) -> Result<bool>
Compute the features only for the selected indices in the images collection
§Parameters
- selFeatures: indices of selected features
- images: The images
- response: Collection of response for the specific TrackerContribFeature
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.