Struct TrackerCSRT_Params

Source
pub struct TrackerCSRT_Params { /* private fields */ }

Implementations§

Trait Implementations§

Source§

impl Boxed for TrackerCSRT_Params

Source§

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

Wrap the specified raw pointer Read more
Source§

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

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

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

Return the underlying raw pointer. Read more
Source§

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

Return the underlying mutable raw pointer Read more
Source§

impl Clone for TrackerCSRT_Params

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 TrackerCSRT_Params

Source§

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

Formats the value using the given formatter. Read more
Source§

impl Drop for TrackerCSRT_Params

Source§

fn drop(&mut self)

Executes the destructor for this type. Read more
Source§

impl TrackerCSRT_ParamsTrait for TrackerCSRT_Params

Source§

fn as_raw_mut_TrackerCSRT_Params(&mut self) -> *mut c_void

Source§

fn set_use_hog(&mut self, val: bool)

Source§

fn set_use_color_names(&mut self, val: bool)

Source§

fn set_use_gray(&mut self, val: bool)

Source§

fn set_use_rgb(&mut self, val: bool)

Source§

fn set_use_channel_weights(&mut self, val: bool)

Source§

fn set_use_segmentation(&mut self, val: bool)

Source§

fn set_window_function(&mut self, val: &str)

Window function: “hann”, “cheb”, “kaiser”
Source§

fn set_kaiser_alpha(&mut self, val: f32)

Source§

fn set_cheb_attenuation(&mut self, val: f32)

Source§

fn set_template_size(&mut self, val: f32)

Source§

fn set_gsl_sigma(&mut self, val: f32)

Source§

fn set_hog_orientations(&mut self, val: f32)

Source§

fn set_hog_clip(&mut self, val: f32)

Source§

fn set_padding(&mut self, val: f32)

Source§

fn set_filter_lr(&mut self, val: f32)

Source§

fn set_weights_lr(&mut self, val: f32)

Source§

fn set_num_hog_channels_used(&mut self, val: i32)

Source§

fn set_admm_iterations(&mut self, val: i32)

Source§

fn set_histogram_bins(&mut self, val: i32)

Source§

fn set_histogram_lr(&mut self, val: f32)

Source§

fn set_background_ratio(&mut self, val: i32)

Source§

fn set_number_of_scales(&mut self, val: i32)

Source§

fn set_scale_sigma_factor(&mut self, val: f32)

Source§

fn set_scale_model_max_area(&mut self, val: f32)

Source§

fn set_scale_lr(&mut self, val: f32)

Source§

fn set_scale_step(&mut self, val: f32)

Source§

fn set_psr_threshold(&mut self, val: f32)

we lost the target, if the psr is lower than this.
Source§

impl TrackerCSRT_ParamsTraitConst for TrackerCSRT_Params

Source§

fn as_raw_TrackerCSRT_Params(&self) -> *const c_void

Source§

fn use_hog(&self) -> bool

Source§

fn use_color_names(&self) -> bool

Source§

fn use_gray(&self) -> bool

Source§

fn use_rgb(&self) -> bool

Source§

fn use_channel_weights(&self) -> bool

Source§

fn use_segmentation(&self) -> bool

Source§

fn window_function(&self) -> String

Window function: “hann”, “cheb”, “kaiser”
Source§

fn kaiser_alpha(&self) -> f32

Source§

fn cheb_attenuation(&self) -> f32

Source§

fn template_size(&self) -> f32

Source§

fn gsl_sigma(&self) -> f32

Source§

fn hog_orientations(&self) -> f32

Source§

fn hog_clip(&self) -> f32

Source§

fn padding(&self) -> f32

Source§

fn filter_lr(&self) -> f32

Source§

fn weights_lr(&self) -> f32

Source§

fn num_hog_channels_used(&self) -> i32

Source§

fn admm_iterations(&self) -> i32

Source§

fn histogram_bins(&self) -> i32

Source§

fn histogram_lr(&self) -> f32

Source§

fn background_ratio(&self) -> i32

Source§

fn number_of_scales(&self) -> i32

Source§

fn scale_sigma_factor(&self) -> f32

Source§

fn scale_model_max_area(&self) -> f32

Source§

fn scale_lr(&self) -> f32

Source§

fn scale_step(&self) -> f32

Source§

fn psr_threshold(&self) -> f32

we lost the target, if the psr is lower than this.
Source§

impl Send for TrackerCSRT_Params

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, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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.