Struct BoxedRefMut

Source
pub struct BoxedRefMut<'r, T: Boxed> { /* private fields */ }
Expand description

Mutable version of BoxedRef, implements the traits that take &mut self.

Implementations§

Source§

impl<T: Boxed + Clone> BoxedRefMut<'_, T>

Source

pub fn clone_pointee(&self) -> T

Clones the pointee of this BoxedRefMut

Trait Implementations§

Source§

impl AKAZETrait for BoxedRefMut<'_, AKAZE>

Source§

fn as_raw_mut_AKAZE( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_descriptor_type(&mut self, dtype: AKAZE_DescriptorType) -> Result<()>

Source§

fn set_descriptor_size(&mut self, dsize: i32) -> Result<()>

Source§

fn set_descriptor_channels(&mut self, dch: i32) -> Result<()>

Source§

fn set_threshold(&mut self, threshold: f64) -> Result<()>

Source§

fn set_n_octaves(&mut self, octaves: i32) -> Result<()>

Source§

fn set_n_octave_layers(&mut self, octave_layers: i32) -> Result<()>

Source§

fn set_diffusivity(&mut self, diff: KAZE_DiffusivityType) -> Result<()>

Source§

fn set_max_points(&mut self, max_points: i32) -> Result<()>

Source§

impl AKAZETraitConst for BoxedRefMut<'_, AKAZE>

Source§

impl ANN_MLPTrait for BoxedRefMut<'_, ANN_MLP>

Source§

fn as_raw_mut_ANN_MLP( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_train_method( &mut self, method: i32, param1: f64, param2: f64, ) -> Result<()>

Sets training method and common parameters. Read more
Source§

fn set_train_method_def(&mut self, method: i32) -> Result<()>

Sets training method and common parameters. Read more
Source§

fn set_activation_function( &mut self, typ: i32, param1: f64, param2: f64, ) -> Result<()>

Initialize the activation function for each neuron. Currently the default and the only fully supported activation function is ANN_MLP::SIGMOID_SYM. Read more
Source§

fn set_activation_function_def(&mut self, typ: i32) -> Result<()>

Initialize the activation function for each neuron. Currently the default and the only fully supported activation function is ANN_MLP::SIGMOID_SYM. Read more
Source§

fn set_layer_sizes(&mut self, _layer_sizes: &impl ToInputArray) -> Result<()>

Integer vector specifying the number of neurons in each layer including the input and output layers. The very first element specifies the number of elements in the input layer. The last element - number of elements in the output layer. Default value is empty Mat. Read more
Source§

fn set_term_criteria(&mut self, val: TermCriteria) -> Result<()>

Termination criteria of the training algorithm. You can specify the maximum number of iterations (maxCount) and/or how much the error could change between the iterations to make the algorithm continue (epsilon). Default value is TermCriteria(TermCriteria::MAX_ITER + TermCriteria::EPS, 1000, 0.01). Read more
Source§

fn set_backprop_weight_scale(&mut self, val: f64) -> Result<()>

BPROP: Strength of the weight gradient term. The recommended value is about 0.1. Default value is 0.1. Read more
Source§

fn set_backprop_momentum_scale(&mut self, val: f64) -> Result<()>

BPROP: Strength of the momentum term (the difference between weights on the 2 previous iterations). This parameter provides some inertia to smooth the random fluctuations of the weights. It can vary from 0 (the feature is disabled) to 1 and beyond. The value 0.1 or so is good enough. Default value is 0.1. Read more
Source§

fn set_rprop_dw0(&mut self, val: f64) -> Result<()>

RPROP: Initial value inline formula of update-values inline formula. Default value is 0.1. Read more
Source§

fn set_rprop_dw_plus(&mut self, val: f64) -> Result<()>

RPROP: Increase factor inline formula. It must be >1. Default value is 1.2. Read more
Source§

fn set_rprop_dw_minus(&mut self, val: f64) -> Result<()>

RPROP: Decrease factor inline formula. It must be <1. Default value is 0.5. Read more
Source§

fn set_rprop_dw_min(&mut self, val: f64) -> Result<()>

RPROP: Update-values lower limit inline formula. It must be positive. Default value is FLT_EPSILON. Read more
Source§

fn set_rprop_dw_max(&mut self, val: f64) -> Result<()>

RPROP: Update-values upper limit inline formula. It must be >1. Default value is 50. Read more
Source§

fn set_anneal_initial_t(&mut self, val: f64) -> Result<()>

ANNEAL: Update initial temperature. It must be >=0. Default value is 10. Read more
Source§

fn set_anneal_final_t(&mut self, val: f64) -> Result<()>

ANNEAL: Update final temperature. It must be >=0 and less than initialT. Default value is 0.1. Read more
Source§

fn set_anneal_cooling_ratio(&mut self, val: f64) -> Result<()>

ANNEAL: Update cooling ratio. It must be >0 and less than 1. Default value is 0.95. Read more
Source§

fn set_anneal_ite_per_step(&mut self, val: i32) -> Result<()>

ANNEAL: Update iteration per step. It must be >0 . Default value is 10. Read more
Source§

fn set_anneal_energy_rng(&mut self, rng: &impl RNGTraitConst) -> Result<()>

Set/initialize anneal RNG
Source§

impl ANN_MLPTraitConst for BoxedRefMut<'_, ANN_MLP>

Source§

fn as_raw_ANN_MLP(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_train_method(&self) -> Result<i32>

Returns current training method
Source§

fn get_layer_sizes(&self) -> Result<Mat>

Integer vector specifying the number of neurons in each layer including the input and output layers. The very first element specifies the number of elements in the input layer. The last element - number of elements in the output layer. Read more
Source§

fn get_term_criteria(&self) -> Result<TermCriteria>

Termination criteria of the training algorithm. You can specify the maximum number of iterations (maxCount) and/or how much the error could change between the iterations to make the algorithm continue (epsilon). Default value is TermCriteria(TermCriteria::MAX_ITER + TermCriteria::EPS, 1000, 0.01). Read more
Source§

fn get_backprop_weight_scale(&self) -> Result<f64>

BPROP: Strength of the weight gradient term. The recommended value is about 0.1. Default value is 0.1. Read more
Source§

fn get_backprop_momentum_scale(&self) -> Result<f64>

BPROP: Strength of the momentum term (the difference between weights on the 2 previous iterations). This parameter provides some inertia to smooth the random fluctuations of the weights. It can vary from 0 (the feature is disabled) to 1 and beyond. The value 0.1 or so is good enough. Default value is 0.1. Read more
Source§

fn get_rprop_dw0(&self) -> Result<f64>

RPROP: Initial value inline formula of update-values inline formula. Default value is 0.1. Read more
Source§

fn get_rprop_dw_plus(&self) -> Result<f64>

RPROP: Increase factor inline formula. It must be >1. Default value is 1.2. Read more
Source§

fn get_rprop_dw_minus(&self) -> Result<f64>

RPROP: Decrease factor inline formula. It must be <1. Default value is 0.5. Read more
Source§

fn get_rprop_dw_min(&self) -> Result<f64>

RPROP: Update-values lower limit inline formula. It must be positive. Default value is FLT_EPSILON. Read more
Source§

fn get_rprop_dw_max(&self) -> Result<f64>

RPROP: Update-values upper limit inline formula. It must be >1. Default value is 50. Read more
Source§

fn get_anneal_initial_t(&self) -> Result<f64>

ANNEAL: Update initial temperature. It must be >=0. Default value is 10. Read more
Source§

fn get_anneal_final_t(&self) -> Result<f64>

ANNEAL: Update final temperature. It must be >=0 and less than initialT. Default value is 0.1. Read more
Source§

fn get_anneal_cooling_ratio(&self) -> Result<f64>

ANNEAL: Update cooling ratio. It must be >0 and less than 1. Default value is 0.95. Read more
Source§

fn get_anneal_ite_per_step(&self) -> Result<i32>

ANNEAL: Update iteration per step. It must be >0 . Default value is 10. Read more
Source§

fn get_weights(&self, layer_idx: i32) -> Result<Mat>

Source§

impl AbsLayerTrait for BoxedRefMut<'_, AbsLayer>

Source§

fn as_raw_mut_AbsLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl AbsLayerTraitConst for BoxedRefMut<'_, AbsLayer>

Source§

fn as_raw_AbsLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl AccumLayerTrait for BoxedRefMut<'_, AccumLayer>

Source§

fn as_raw_mut_AccumLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl AccumLayerTraitConst for BoxedRefMut<'_, AccumLayer>

Source§

fn as_raw_AccumLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl AcosLayerTrait for BoxedRefMut<'_, AcosLayer>

Source§

fn as_raw_mut_AcosLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl AcosLayerTraitConst for BoxedRefMut<'_, AcosLayer>

Source§

fn as_raw_AcosLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl AcoshLayerTrait for BoxedRefMut<'_, AcoshLayer>

Source§

fn as_raw_mut_AcoshLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl AcoshLayerTraitConst for BoxedRefMut<'_, AcoshLayer>

Source§

fn as_raw_AcoshLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl ActivationLayerInt8Trait for BoxedRefMut<'_, ActivationLayerInt8>

Source§

fn as_raw_mut_ActivationLayerInt8( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ActivationLayerInt8TraitConst for BoxedRefMut<'_, ActivationLayerInt8>

Source§

fn as_raw_ActivationLayerInt8( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl ActivationLayerTrait for BoxedRefMut<'_, AbsLayer>

Source§

fn as_raw_mut_ActivationLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ActivationLayerTrait for BoxedRefMut<'_, AcosLayer>

Source§

fn as_raw_mut_ActivationLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ActivationLayerTrait for BoxedRefMut<'_, AcoshLayer>

Source§

fn as_raw_mut_ActivationLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ActivationLayerTrait for BoxedRefMut<'_, ActivationLayer>

Source§

fn as_raw_mut_ActivationLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ActivationLayerTrait for BoxedRefMut<'_, ActivationLayerInt8>

Source§

fn as_raw_mut_ActivationLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ActivationLayerTrait for BoxedRefMut<'_, AsinLayer>

Source§

fn as_raw_mut_ActivationLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ActivationLayerTrait for BoxedRefMut<'_, AsinhLayer>

Source§

fn as_raw_mut_ActivationLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ActivationLayerTrait for BoxedRefMut<'_, AtanLayer>

Source§

fn as_raw_mut_ActivationLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ActivationLayerTrait for BoxedRefMut<'_, AtanhLayer>

Source§

fn as_raw_mut_ActivationLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ActivationLayerTrait for BoxedRefMut<'_, BNLLLayer>

Source§

fn as_raw_mut_ActivationLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ActivationLayerTrait for BoxedRefMut<'_, BatchNormLayer>

Source§

fn as_raw_mut_ActivationLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ActivationLayerTrait for BoxedRefMut<'_, BatchNormLayerInt8>

Source§

fn as_raw_mut_ActivationLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ActivationLayerTrait for BoxedRefMut<'_, CeilLayer>

Source§

fn as_raw_mut_ActivationLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ActivationLayerTrait for BoxedRefMut<'_, CeluLayer>

Source§

fn as_raw_mut_ActivationLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ActivationLayerTrait for BoxedRefMut<'_, ChannelsPReLULayer>

Source§

fn as_raw_mut_ActivationLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ActivationLayerTrait for BoxedRefMut<'_, CosLayer>

Source§

fn as_raw_mut_ActivationLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ActivationLayerTrait for BoxedRefMut<'_, CoshLayer>

Source§

fn as_raw_mut_ActivationLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ActivationLayerTrait for BoxedRefMut<'_, ELULayer>

Source§

fn as_raw_mut_ActivationLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ActivationLayerTrait for BoxedRefMut<'_, ErfLayer>

Source§

fn as_raw_mut_ActivationLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ActivationLayerTrait for BoxedRefMut<'_, ExpLayer>

Source§

fn as_raw_mut_ActivationLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ActivationLayerTrait for BoxedRefMut<'_, FloorLayer>

Source§

fn as_raw_mut_ActivationLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ActivationLayerTrait for BoxedRefMut<'_, GeluApproximationLayer>

Source§

fn as_raw_mut_ActivationLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ActivationLayerTrait for BoxedRefMut<'_, GeluLayer>

Source§

fn as_raw_mut_ActivationLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ActivationLayerTrait for BoxedRefMut<'_, HardSigmoidLayer>

Source§

fn as_raw_mut_ActivationLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ActivationLayerTrait for BoxedRefMut<'_, HardSwishLayer>

Source§

fn as_raw_mut_ActivationLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ActivationLayerTrait for BoxedRefMut<'_, LogLayer>

Source§

fn as_raw_mut_ActivationLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ActivationLayerTrait for BoxedRefMut<'_, MishLayer>

Source§

fn as_raw_mut_ActivationLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ActivationLayerTrait for BoxedRefMut<'_, NotLayer>

Source§

fn as_raw_mut_ActivationLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ActivationLayerTrait for BoxedRefMut<'_, PowerLayer>

Source§

fn as_raw_mut_ActivationLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ActivationLayerTrait for BoxedRefMut<'_, ReLU6Layer>

Source§

fn as_raw_mut_ActivationLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ActivationLayerTrait for BoxedRefMut<'_, ReLULayer>

Source§

fn as_raw_mut_ActivationLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ActivationLayerTrait for BoxedRefMut<'_, ReciprocalLayer>

Source§

fn as_raw_mut_ActivationLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ActivationLayerTrait for BoxedRefMut<'_, RoundLayer>

Source§

fn as_raw_mut_ActivationLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ActivationLayerTrait for BoxedRefMut<'_, SeluLayer>

Source§

fn as_raw_mut_ActivationLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ActivationLayerTrait for BoxedRefMut<'_, ShrinkLayer>

Source§

fn as_raw_mut_ActivationLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ActivationLayerTrait for BoxedRefMut<'_, SigmoidLayer>

Source§

fn as_raw_mut_ActivationLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ActivationLayerTrait for BoxedRefMut<'_, SignLayer>

Source§

fn as_raw_mut_ActivationLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ActivationLayerTrait for BoxedRefMut<'_, SinLayer>

Source§

fn as_raw_mut_ActivationLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ActivationLayerTrait for BoxedRefMut<'_, SinhLayer>

Source§

fn as_raw_mut_ActivationLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ActivationLayerTrait for BoxedRefMut<'_, SoftplusLayer>

Source§

fn as_raw_mut_ActivationLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ActivationLayerTrait for BoxedRefMut<'_, SoftsignLayer>

Source§

fn as_raw_mut_ActivationLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ActivationLayerTrait for BoxedRefMut<'_, SqrtLayer>

Source§

fn as_raw_mut_ActivationLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ActivationLayerTrait for BoxedRefMut<'_, SwishLayer>

Source§

fn as_raw_mut_ActivationLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ActivationLayerTrait for BoxedRefMut<'_, TanHLayer>

Source§

fn as_raw_mut_ActivationLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ActivationLayerTrait for BoxedRefMut<'_, TanLayer>

Source§

fn as_raw_mut_ActivationLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ActivationLayerTrait for BoxedRefMut<'_, ThresholdedReluLayer>

Source§

fn as_raw_mut_ActivationLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ActivationLayerTraitConst for BoxedRefMut<'_, AbsLayer>

Source§

fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

fn forward_slice_1( &self, src: &[i32], lut: &[i32], dst: &mut [i32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

impl ActivationLayerTraitConst for BoxedRefMut<'_, AcosLayer>

Source§

fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

fn forward_slice_1( &self, src: &[i32], lut: &[i32], dst: &mut [i32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

impl ActivationLayerTraitConst for BoxedRefMut<'_, AcoshLayer>

Source§

fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

fn forward_slice_1( &self, src: &[i32], lut: &[i32], dst: &mut [i32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

impl ActivationLayerTraitConst for BoxedRefMut<'_, ActivationLayer>

Source§

fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

fn forward_slice_1( &self, src: &[i32], lut: &[i32], dst: &mut [i32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

impl ActivationLayerTraitConst for BoxedRefMut<'_, ActivationLayerInt8>

Source§

fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

fn forward_slice_1( &self, src: &[i32], lut: &[i32], dst: &mut [i32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

impl ActivationLayerTraitConst for BoxedRefMut<'_, AsinLayer>

Source§

fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

fn forward_slice_1( &self, src: &[i32], lut: &[i32], dst: &mut [i32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

impl ActivationLayerTraitConst for BoxedRefMut<'_, AsinhLayer>

Source§

fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

fn forward_slice_1( &self, src: &[i32], lut: &[i32], dst: &mut [i32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

impl ActivationLayerTraitConst for BoxedRefMut<'_, AtanLayer>

Source§

fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

fn forward_slice_1( &self, src: &[i32], lut: &[i32], dst: &mut [i32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

impl ActivationLayerTraitConst for BoxedRefMut<'_, AtanhLayer>

Source§

fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

fn forward_slice_1( &self, src: &[i32], lut: &[i32], dst: &mut [i32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

impl ActivationLayerTraitConst for BoxedRefMut<'_, BNLLLayer>

Source§

fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

fn forward_slice_1( &self, src: &[i32], lut: &[i32], dst: &mut [i32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

impl ActivationLayerTraitConst for BoxedRefMut<'_, BatchNormLayer>

Source§

fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

fn forward_slice_1( &self, src: &[i32], lut: &[i32], dst: &mut [i32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

impl ActivationLayerTraitConst for BoxedRefMut<'_, BatchNormLayerInt8>

Source§

fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

fn forward_slice_1( &self, src: &[i32], lut: &[i32], dst: &mut [i32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

impl ActivationLayerTraitConst for BoxedRefMut<'_, CeilLayer>

Source§

fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

fn forward_slice_1( &self, src: &[i32], lut: &[i32], dst: &mut [i32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

impl ActivationLayerTraitConst for BoxedRefMut<'_, CeluLayer>

Source§

fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

fn forward_slice_1( &self, src: &[i32], lut: &[i32], dst: &mut [i32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

impl ActivationLayerTraitConst for BoxedRefMut<'_, ChannelsPReLULayer>

Source§

fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

fn forward_slice_1( &self, src: &[i32], lut: &[i32], dst: &mut [i32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

impl ActivationLayerTraitConst for BoxedRefMut<'_, CosLayer>

Source§

fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

fn forward_slice_1( &self, src: &[i32], lut: &[i32], dst: &mut [i32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

impl ActivationLayerTraitConst for BoxedRefMut<'_, CoshLayer>

Source§

fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

fn forward_slice_1( &self, src: &[i32], lut: &[i32], dst: &mut [i32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

impl ActivationLayerTraitConst for BoxedRefMut<'_, ELULayer>

Source§

fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

fn forward_slice_1( &self, src: &[i32], lut: &[i32], dst: &mut [i32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

impl ActivationLayerTraitConst for BoxedRefMut<'_, ErfLayer>

Source§

fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

fn forward_slice_1( &self, src: &[i32], lut: &[i32], dst: &mut [i32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

impl ActivationLayerTraitConst for BoxedRefMut<'_, ExpLayer>

Source§

fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

fn forward_slice_1( &self, src: &[i32], lut: &[i32], dst: &mut [i32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

impl ActivationLayerTraitConst for BoxedRefMut<'_, FloorLayer>

Source§

fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

fn forward_slice_1( &self, src: &[i32], lut: &[i32], dst: &mut [i32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

impl ActivationLayerTraitConst for BoxedRefMut<'_, GeluApproximationLayer>

Source§

fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

fn forward_slice_1( &self, src: &[i32], lut: &[i32], dst: &mut [i32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

impl ActivationLayerTraitConst for BoxedRefMut<'_, GeluLayer>

Source§

fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

fn forward_slice_1( &self, src: &[i32], lut: &[i32], dst: &mut [i32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

impl ActivationLayerTraitConst for BoxedRefMut<'_, HardSigmoidLayer>

Source§

fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

fn forward_slice_1( &self, src: &[i32], lut: &[i32], dst: &mut [i32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

impl ActivationLayerTraitConst for BoxedRefMut<'_, HardSwishLayer>

Source§

fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

fn forward_slice_1( &self, src: &[i32], lut: &[i32], dst: &mut [i32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

impl ActivationLayerTraitConst for BoxedRefMut<'_, LogLayer>

Source§

fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

fn forward_slice_1( &self, src: &[i32], lut: &[i32], dst: &mut [i32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

impl ActivationLayerTraitConst for BoxedRefMut<'_, MishLayer>

Source§

fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

fn forward_slice_1( &self, src: &[i32], lut: &[i32], dst: &mut [i32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

impl ActivationLayerTraitConst for BoxedRefMut<'_, NotLayer>

Source§

fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

fn forward_slice_1( &self, src: &[i32], lut: &[i32], dst: &mut [i32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

impl ActivationLayerTraitConst for BoxedRefMut<'_, PowerLayer>

Source§

fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

fn forward_slice_1( &self, src: &[i32], lut: &[i32], dst: &mut [i32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

impl ActivationLayerTraitConst for BoxedRefMut<'_, ReLU6Layer>

Source§

fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

fn forward_slice_1( &self, src: &[i32], lut: &[i32], dst: &mut [i32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

impl ActivationLayerTraitConst for BoxedRefMut<'_, ReLULayer>

Source§

fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

fn forward_slice_1( &self, src: &[i32], lut: &[i32], dst: &mut [i32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

impl ActivationLayerTraitConst for BoxedRefMut<'_, ReciprocalLayer>

Source§

fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

fn forward_slice_1( &self, src: &[i32], lut: &[i32], dst: &mut [i32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

impl ActivationLayerTraitConst for BoxedRefMut<'_, RoundLayer>

Source§

fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

fn forward_slice_1( &self, src: &[i32], lut: &[i32], dst: &mut [i32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

impl ActivationLayerTraitConst for BoxedRefMut<'_, SeluLayer>

Source§

fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

fn forward_slice_1( &self, src: &[i32], lut: &[i32], dst: &mut [i32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

impl ActivationLayerTraitConst for BoxedRefMut<'_, ShrinkLayer>

Source§

fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

fn forward_slice_1( &self, src: &[i32], lut: &[i32], dst: &mut [i32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

impl ActivationLayerTraitConst for BoxedRefMut<'_, SigmoidLayer>

Source§

fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

fn forward_slice_1( &self, src: &[i32], lut: &[i32], dst: &mut [i32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

impl ActivationLayerTraitConst for BoxedRefMut<'_, SignLayer>

Source§

fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

fn forward_slice_1( &self, src: &[i32], lut: &[i32], dst: &mut [i32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

impl ActivationLayerTraitConst for BoxedRefMut<'_, SinLayer>

Source§

fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

fn forward_slice_1( &self, src: &[i32], lut: &[i32], dst: &mut [i32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

impl ActivationLayerTraitConst for BoxedRefMut<'_, SinhLayer>

Source§

fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

fn forward_slice_1( &self, src: &[i32], lut: &[i32], dst: &mut [i32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

impl ActivationLayerTraitConst for BoxedRefMut<'_, SoftplusLayer>

Source§

fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

fn forward_slice_1( &self, src: &[i32], lut: &[i32], dst: &mut [i32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

impl ActivationLayerTraitConst for BoxedRefMut<'_, SoftsignLayer>

Source§

fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

fn forward_slice_1( &self, src: &[i32], lut: &[i32], dst: &mut [i32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

impl ActivationLayerTraitConst for BoxedRefMut<'_, SqrtLayer>

Source§

fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

fn forward_slice_1( &self, src: &[i32], lut: &[i32], dst: &mut [i32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

impl ActivationLayerTraitConst for BoxedRefMut<'_, SwishLayer>

Source§

fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

fn forward_slice_1( &self, src: &[i32], lut: &[i32], dst: &mut [i32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

impl ActivationLayerTraitConst for BoxedRefMut<'_, TanHLayer>

Source§

fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

fn forward_slice_1( &self, src: &[i32], lut: &[i32], dst: &mut [i32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

impl ActivationLayerTraitConst for BoxedRefMut<'_, TanLayer>

Source§

fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

fn forward_slice_1( &self, src: &[i32], lut: &[i32], dst: &mut [i32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

impl ActivationLayerTraitConst for BoxedRefMut<'_, ThresholdedReluLayer>

Source§

fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

fn forward_slice_1( &self, src: &[i32], lut: &[i32], dst: &mut [i32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>

Source§

impl AdaptiveManifoldFilterTrait for BoxedRefMut<'_, AdaptiveManifoldFilter>

Source§

fn as_raw_mut_AdaptiveManifoldFilter( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn filter( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, joint: &impl ToInputArray, ) -> Result<()>

Apply high-dimensional filtering using adaptive manifolds. Read more
Source§

fn filter_def( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, ) -> Result<()>

Apply high-dimensional filtering using adaptive manifolds. Read more
Source§

fn collect_garbage(&mut self) -> Result<()>

Source§

fn set_sigma_s(&mut self, val: f64) -> Result<()>

See also Read more
Source§

fn set_sigma_r(&mut self, val: f64) -> Result<()>

See also Read more
Source§

fn set_tree_height(&mut self, val: i32) -> Result<()>

See also Read more
Source§

fn set_pca_iterations(&mut self, val: i32) -> Result<()>

See also Read more
Source§

fn set_adjust_outliers(&mut self, val: bool) -> Result<()>

See also Read more
Source§

fn set_use_rng(&mut self, val: bool) -> Result<()>

See also Read more
Source§

impl AdaptiveManifoldFilterTraitConst for BoxedRefMut<'_, AdaptiveManifoldFilter>

Source§

fn as_raw_AdaptiveManifoldFilter( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_sigma_s(&self) -> Result<f64>

See also Read more
Source§

fn get_sigma_r(&self) -> Result<f64>

See also Read more
Source§

fn get_tree_height(&self) -> Result<i32>

See also Read more
Source§

fn get_pca_iterations(&self) -> Result<i32>

See also Read more
Source§

fn get_adjust_outliers(&self) -> Result<bool>

See also Read more
Source§

fn get_use_rng(&self) -> Result<bool>

See also Read more
Source§

impl AffineFeature2DTrait for BoxedRefMut<'_, AffineFeature2D>

Source§

fn as_raw_mut_AffineFeature2D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn detect( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<Elliptic_KeyPoint>, mask: &impl ToInputArray, ) -> Result<()>

Detects keypoints in the image using the wrapped detector and performs affine adaptation to augment them with their elliptic regions. Read more
Source§

fn detect_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<Elliptic_KeyPoint>, ) -> Result<()>

Detects keypoints in the image using the wrapped detector and performs affine adaptation to augment them with their elliptic regions. Read more
Source§

fn detect_and_compute( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<Elliptic_KeyPoint>, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool, ) -> Result<()>

Detects keypoints and computes descriptors for their surrounding regions, after warping them into circles. Read more
Source§

fn detect_and_compute_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<Elliptic_KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Detects keypoints and computes descriptors for their surrounding regions, after warping them into circles. Read more
Source§

impl AffineFeature2DTrait for BoxedRefMut<'_, TBMR>

Source§

fn as_raw_mut_AffineFeature2D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn detect( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<Elliptic_KeyPoint>, mask: &impl ToInputArray, ) -> Result<()>

Detects keypoints in the image using the wrapped detector and performs affine adaptation to augment them with their elliptic regions. Read more
Source§

fn detect_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<Elliptic_KeyPoint>, ) -> Result<()>

Detects keypoints in the image using the wrapped detector and performs affine adaptation to augment them with their elliptic regions. Read more
Source§

fn detect_and_compute( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<Elliptic_KeyPoint>, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool, ) -> Result<()>

Detects keypoints and computes descriptors for their surrounding regions, after warping them into circles. Read more
Source§

fn detect_and_compute_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<Elliptic_KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Detects keypoints and computes descriptors for their surrounding regions, after warping them into circles. Read more
Source§

impl AffineFeature2DTraitConst for BoxedRefMut<'_, AffineFeature2D>

Source§

fn as_raw_AffineFeature2D( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl AffineFeature2DTraitConst for BoxedRefMut<'_, TBMR>

Source§

fn as_raw_AffineFeature2D( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl AffineFeatureTrait for BoxedRefMut<'_, AffineFeature>

Source§

fn as_raw_mut_AffineFeature( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_view_params( &mut self, tilts: &Vector<f32>, rolls: &Vector<f32>, ) -> Result<()>

Source§

impl AffineFeatureTraitConst for BoxedRefMut<'_, AffineFeature>

Source§

fn as_raw_AffineFeature( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_view_params( &self, tilts: &mut Vector<f32>, rolls: &mut Vector<f32>, ) -> Result<()>

Source§

fn get_default_name(&self) -> Result<String>

Source§

impl AffineTransformerTrait for BoxedRefMut<'_, AffineTransformer>

Source§

fn as_raw_mut_AffineTransformer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_full_affine(&mut self, full_affine: bool) -> Result<()>

Source§

impl AffineTransformerTraitConst for BoxedRefMut<'_, AffineTransformer>

Source§

fn as_raw_AffineTransformer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_full_affine(&self) -> Result<bool>

Source§

impl AffineWarperTrait for BoxedRefMut<'_, AffineWarper>

Source§

fn as_raw_mut_AffineWarper( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl AffineWarperTraitConst for BoxedRefMut<'_, AffineWarper>

Source§

fn as_raw_AffineWarper(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn create(&self, scale: f32) -> Result<Ptr<Detail_RotationWarper>>

Source§

impl AgastFeatureDetectorTrait for BoxedRefMut<'_, AgastFeatureDetector>

Source§

fn as_raw_mut_AgastFeatureDetector( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_threshold(&mut self, threshold: i32) -> Result<()>

Source§

fn set_nonmax_suppression(&mut self, f: bool) -> Result<()>

Source§

fn set_type(&mut self, typ: AgastFeatureDetector_DetectorType) -> Result<()>

Source§

impl AgastFeatureDetectorTraitConst for BoxedRefMut<'_, AgastFeatureDetector>

Source§

impl AlgorithmTrait for BoxedRefMut<'_, AKAZE>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, ANN_MLP>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, AbsLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, AccumLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, AcosLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, AcoshLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, ActivationLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, ActivationLayerInt8>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, AdaptiveManifoldFilter>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, AffineFeature>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, AffineFeature2D>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, AffineTransformer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, AgastFeatureDetector>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, Algorithm>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, AlignExposures>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, AlignMTB>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, ArgLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, ArucoDetector>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, AsinLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, AsinhLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, AtanLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, AtanhLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, AttentionLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, AverageHash>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, BEBLID>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, BFMatcher>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, BIF>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, BNLLLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, BRISK>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, BackgroundSubtractor>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, BackgroundSubtractorCNT>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, BackgroundSubtractorGMG>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, BackgroundSubtractorGSOC>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, BackgroundSubtractorKNN>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, BackgroundSubtractorLSBP>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, BackgroundSubtractorMOG>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, BackgroundSubtractorMOG2>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, BaseCascadeClassifier>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, BaseConvolutionLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, BasicFaceRecognizer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, BatchNormLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, BatchNormLayerInt8>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, BinaryDescriptor>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, BinaryDescriptorMatcher>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, BlankLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, BlockMeanHash>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, Boost>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, BoostDesc>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, BriefDescriptorExtractor>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, CLAHE>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, CUDA_BackgroundSubtractorFGD>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, CUDA_BackgroundSubtractorGMG>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, CUDA_BackgroundSubtractorMOG>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, CUDA_BackgroundSubtractorMOG2>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, CUDA_BroxOpticalFlow>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, CUDA_CLAHE>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, CUDA_CannyEdgeDetector>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, CUDA_CascadeClassifier>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, CUDA_CornernessCriteria>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, CUDA_CornersDetector>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, CUDA_DenseOpticalFlow>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, CUDA_DensePyrLKOpticalFlow>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, CUDA_DescriptorMatcher>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, CUDA_DisparityBilateralFilter>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, CUDA_FarnebackOpticalFlow>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, CUDA_FastFeatureDetector>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, CUDA_Feature2DAsync>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, CUDA_HOG>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, CUDA_HoughCirclesDetector>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, CUDA_HoughLinesDetector>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, CUDA_HoughSegmentDetector>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, CUDA_ImagePyramid>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, CUDA_NvidiaHWOpticalFlow>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, CUDA_NvidiaOpticalFlow_1_0>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, CUDA_NvidiaOpticalFlow_2_0>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, CUDA_ORB>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, CUDA_OpticalFlowDual_TVL1>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, CUDA_SparseOpticalFlow>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, CUDA_SparsePyrLKOpticalFlow>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, CUDA_StereoBM>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, CUDA_StereoBeliefPropagation>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, CUDA_StereoConstantSpaceBP>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, CUDA_StereoSGM>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, CUDA_TemplateMatching>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, CalibrateCRF>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, CalibrateDebevec>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, CalibrateRobertson>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, CeilLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, CeluLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, ChannelsPReLULayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, CharucoDetector>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, ChiHistogramCostExtractor>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, ColorMomentHash>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, CompareLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, ConcatLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, ConjGradSolver>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, ConstLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, ContourFitting>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, Convolution>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, ConvolutionLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, ConvolutionLayerInt8>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, CorrelationLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, CosLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, CoshLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, CropAndResizeLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, CropLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, CumSumLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, CustomPattern>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, DAISY>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, DFT>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, DISOpticalFlow>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, DTFilter>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, DTrees>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, DataAugmentationLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, DeconvolutionLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, DenseOpticalFlow>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, DenseRLOFOpticalFlow>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, DepthCleaner>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, DepthToSpaceLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, DequantizeLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, DescriptorMatcher>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, DetectionOutputLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, DisparityFilter>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, DisparityWLSFilter>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, DownhillSolver>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, DualTVL1OpticalFlow>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, ELULayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, EM>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, EMDHistogramCostExtractor>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, EMDL1HistogramCostExtractor>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, ERFilter>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, EdgeAwareInterpolator>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, EdgeBoxes>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, EdgeDrawing>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, EigenFaceRecognizer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, EinsumLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, EltwiseLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, EltwiseLayerInt8>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, ErfLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, ExpLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, ExpandLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, FREAK>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, FaceRecognizer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, Facemark>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, FacemarkAAM>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, FacemarkKazemi>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, FacemarkLBF>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, FacemarkTrain>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, FarnebackOpticalFlow>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, FastBilateralSolverFilter>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, FastFeatureDetector>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, FastGlobalSmootherFilter>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, FastICPOdometry>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, FastLineDetector>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, Feature2D>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, Filter>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, FisherFaceRecognizer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, FlannBasedMatcher>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, FlattenLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, FloorLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, FlowWarpLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, FreeType2>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, GFTTDetector>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, GPCTree>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, GRULayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, GatherElementsLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, GatherLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, GeluApproximationLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, GeluLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, GemmLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, GeneralizedHough>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, GeneralizedHoughBallard>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, GeneralizedHoughGuil>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, GraphSegmentation>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, GrayCodePattern>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, GrayworldWB>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, GroupNormLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, GuidedFilter>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, HardSigmoidLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, HardSwishLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, HarrisLaplaceFeatureDetector>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, HausdorffDistanceExtractor>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, HfsSegment>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, HistogramCostExtractor>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, HistogramPhaseUnwrapping>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, ICPOdometry>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, ImgHashBase>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, InnerProductLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, InnerProductLayerInt8>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, InstanceNormLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, InterpLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, KAZE>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, KNearest>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, LATCH>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, LBPHFaceRecognizer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, LMSolver>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, LRNLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, LSDDetector>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, LSTMLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, LUCID>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, Layer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, LayerNormLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, LearningBasedWB>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, LineSegmentDetector>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, LogLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, LogisticRegression>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, LookUpTable>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, MACE>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, MCC_CCheckerDetector>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, MSDDetector>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, MSER>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, MVNLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, MarrHildrethHash>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, MatMulLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, MaxUnpoolLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, MergeDebevec>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, MergeExposures>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, MergeMertens>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, MergeRobertson>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, MinProblemSolver>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, MishLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, MotionSaliency>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, MotionSaliencyBinWangApr2014>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, NaryEltwiseLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, NormHistogramCostExtractor>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, NormalBayesClassifier>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, NormalizeBBoxLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, NotLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, ORB>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, Objectness>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, ObjectnessBING>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, Odometry>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, OpticalFlowPCAFlow>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, PCTSignatures>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, PCTSignaturesSQFD>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, PHash>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, PaddingLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, PermuteLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, PhaseUnwrapping>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, Plot2d>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, PoolingLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, PoolingLayerInt8>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, PowerLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, PriorBoxLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, ProposalLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, QualityBRISQUE>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, QualityBase>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, QualityGMSD>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, QualityMSE>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, QualityPSNR>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, QualitySSIM>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, QuantizeLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, RFFeatureGetter>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, RICInterpolator>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, RNNLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, RTrees>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, RadialVarianceHash>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, Rapid_GOSTracker>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, Rapid_OLSTracker>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, Rapid_Rapid>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, Rapid_Tracker>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, ReLU6Layer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, ReLULayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, ReciprocalLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, ReduceLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, RegionLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, ReorgLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, RequantizeLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, ReshapeLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, ResizeLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, Retina>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, RetinaFastToneMapping>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, RgbdICPOdometry>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, RgbdNormals>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, RgbdOdometry>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, RgbdPlane>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, RidgeDetectionFilter>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, RoundLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, SIFT>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, SURF>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, SVM>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, SVMSGD>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, SVM_Kernel>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, Saliency>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, ScaleLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, ScaleLayerInt8>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, ScanSegment>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, ScatterLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, ScatterNDLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, SelectiveSearchSegmentation>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, SelectiveSearchSegmentationStrategy>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, SelectiveSearchSegmentationStrategyColor>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, SelectiveSearchSegmentationStrategyFill>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, SelectiveSearchSegmentationStrategyMultiple>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, SelectiveSearchSegmentationStrategySize>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, SelectiveSearchSegmentationStrategyTexture>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, SeluLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, ShapeContextDistanceExtractor>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, ShapeDistanceExtractor>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, ShapeTransformer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, ShiftLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, ShiftLayerInt8>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, ShrinkLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, ShuffleChannelLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, SigmoidLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, SignLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, SimpleBlobDetector>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, SimpleWB>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, SinLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, SinhLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, SinusoidalPattern>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, SliceLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, SoftmaxLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, SoftmaxLayerInt8>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, SoftplusLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, SoftsignLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, SpaceToDepthLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, SparseMatchInterpolator>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, SparseOpticalFlow>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, SparsePyrLKOpticalFlow>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, SparseRLOFOpticalFlow>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, SplitLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, SqrtLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, StarDetector>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, StatModel>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, StaticSaliency>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, StaticSaliencyFineGrained>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, StaticSaliencySpectralResidual>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, StereoBM>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, StereoMatcher>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, StereoSGBM>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, StructuredEdgeDetection>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, StructuredLightPattern>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, SuperRes_BroxOpticalFlow>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, SuperRes_DenseOpticalFlowExt>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, SuperRes_DualTVL1OpticalFlow>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, SuperRes_FarnebackOpticalFlow>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, SuperRes_PyrLKOpticalFlow>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, SuperRes_SuperResolution>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, SuperpixelLSC>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, SuperpixelSEEDS>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, SuperpixelSLIC>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, SwishLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, SyntheticSequenceGenerator>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, TBMR>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, TEBLID>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, TanHLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, TanLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, ThinPlateSplineShapeTransformer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, ThresholdedReluLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, TileLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, Tonemap>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, TonemapDrago>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, TonemapDurand>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, TonemapMantiuk>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, TonemapReinhard>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, TopKLayer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, TransientAreasSegmentationModule>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, VGG>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, VariationalRefinement>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTrait for BoxedRefMut<'_, WhiteBalancer>

Source§

fn as_raw_mut_Algorithm( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, AKAZE>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, ANN_MLP>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, AbsLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, AccumLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, AcosLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, AcoshLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, ActivationLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, ActivationLayerInt8>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, AdaptiveManifoldFilter>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, AffineFeature>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, AffineFeature2D>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, AffineTransformer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, AgastFeatureDetector>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, Algorithm>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, AlignExposures>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, AlignMTB>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, ArgLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, ArucoDetector>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, AsinLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, AsinhLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, AtanLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, AtanhLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, AttentionLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, AverageHash>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, BEBLID>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, BFMatcher>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, BIF>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, BNLLLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, BRISK>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, BackgroundSubtractor>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, BackgroundSubtractorCNT>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, BackgroundSubtractorGMG>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, BackgroundSubtractorGSOC>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, BackgroundSubtractorKNN>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, BackgroundSubtractorLSBP>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, BackgroundSubtractorMOG>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, BackgroundSubtractorMOG2>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, BaseCascadeClassifier>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, BaseConvolutionLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, BasicFaceRecognizer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, BatchNormLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, BatchNormLayerInt8>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, BinaryDescriptor>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, BinaryDescriptorMatcher>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, BlankLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, BlockMeanHash>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, Boost>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, BoostDesc>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, BriefDescriptorExtractor>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, CLAHE>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, CUDA_BackgroundSubtractorFGD>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, CUDA_BackgroundSubtractorGMG>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, CUDA_BackgroundSubtractorMOG>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, CUDA_BackgroundSubtractorMOG2>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, CUDA_BroxOpticalFlow>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, CUDA_CLAHE>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, CUDA_CannyEdgeDetector>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, CUDA_CascadeClassifier>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, CUDA_CornernessCriteria>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, CUDA_CornersDetector>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, CUDA_DenseOpticalFlow>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, CUDA_DensePyrLKOpticalFlow>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, CUDA_DescriptorMatcher>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, CUDA_DisparityBilateralFilter>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, CUDA_FarnebackOpticalFlow>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, CUDA_FastFeatureDetector>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, CUDA_Feature2DAsync>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, CUDA_HOG>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, CUDA_HoughCirclesDetector>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, CUDA_HoughLinesDetector>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, CUDA_HoughSegmentDetector>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, CUDA_ImagePyramid>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, CUDA_NvidiaHWOpticalFlow>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, CUDA_NvidiaOpticalFlow_1_0>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, CUDA_NvidiaOpticalFlow_2_0>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, CUDA_ORB>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, CUDA_OpticalFlowDual_TVL1>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, CUDA_SparseOpticalFlow>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, CUDA_SparsePyrLKOpticalFlow>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, CUDA_StereoBM>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, CUDA_StereoBeliefPropagation>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, CUDA_StereoConstantSpaceBP>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, CUDA_StereoSGM>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, CUDA_TemplateMatching>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, CalibrateCRF>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, CalibrateDebevec>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, CalibrateRobertson>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, CeilLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, CeluLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, ChannelsPReLULayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, CharucoDetector>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, ChiHistogramCostExtractor>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, ColorMomentHash>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, CompareLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, ConcatLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, ConjGradSolver>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, ConstLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, ContourFitting>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, Convolution>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, ConvolutionLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, ConvolutionLayerInt8>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, CorrelationLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, CosLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, CoshLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, CropAndResizeLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, CropLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, CumSumLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, CustomPattern>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, DAISY>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, DFT>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, DISOpticalFlow>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, DTFilter>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, DTrees>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, DataAugmentationLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, DeconvolutionLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, DenseOpticalFlow>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, DenseRLOFOpticalFlow>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, DepthCleaner>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, DepthToSpaceLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, DequantizeLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, DescriptorMatcher>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, DetectionOutputLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, DisparityFilter>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, DisparityWLSFilter>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, DownhillSolver>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, DualTVL1OpticalFlow>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, ELULayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, EM>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, EMDHistogramCostExtractor>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, EMDL1HistogramCostExtractor>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, ERFilter>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, EdgeAwareInterpolator>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, EdgeBoxes>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, EdgeDrawing>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, EigenFaceRecognizer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, EinsumLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, EltwiseLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, EltwiseLayerInt8>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, ErfLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, ExpLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, ExpandLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, FREAK>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, FaceRecognizer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, Facemark>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, FacemarkAAM>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, FacemarkKazemi>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, FacemarkLBF>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, FacemarkTrain>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, FarnebackOpticalFlow>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, FastBilateralSolverFilter>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, FastFeatureDetector>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, FastGlobalSmootherFilter>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, FastICPOdometry>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, FastLineDetector>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, Feature2D>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, Filter>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, FisherFaceRecognizer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, FlannBasedMatcher>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, FlattenLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, FloorLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, FlowWarpLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, FreeType2>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, GFTTDetector>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, GPCTree>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, GRULayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, GatherElementsLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, GatherLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, GeluApproximationLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, GeluLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, GemmLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, GeneralizedHough>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, GeneralizedHoughBallard>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, GeneralizedHoughGuil>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, GraphSegmentation>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, GrayCodePattern>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, GrayworldWB>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, GroupNormLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, GuidedFilter>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, HardSigmoidLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, HardSwishLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, HarrisLaplaceFeatureDetector>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, HausdorffDistanceExtractor>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, HfsSegment>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, HistogramCostExtractor>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, HistogramPhaseUnwrapping>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, ICPOdometry>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, ImgHashBase>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, InnerProductLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, InnerProductLayerInt8>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, InstanceNormLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, InterpLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, KAZE>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, KNearest>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, LATCH>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, LBPHFaceRecognizer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, LMSolver>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, LRNLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, LSDDetector>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, LSTMLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, LUCID>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, Layer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, LayerNormLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, LearningBasedWB>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, LineSegmentDetector>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, LogLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, LogisticRegression>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, LookUpTable>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, MACE>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, MCC_CCheckerDetector>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, MSDDetector>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, MSER>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, MVNLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, MarrHildrethHash>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, MatMulLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, MaxUnpoolLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, MergeDebevec>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, MergeExposures>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, MergeMertens>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, MergeRobertson>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, MinProblemSolver>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, MishLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, MotionSaliency>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, MotionSaliencyBinWangApr2014>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, NaryEltwiseLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, NormHistogramCostExtractor>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, NormalBayesClassifier>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, NormalizeBBoxLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, NotLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, ORB>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, Objectness>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, ObjectnessBING>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, Odometry>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, OpticalFlowPCAFlow>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, PCTSignatures>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, PCTSignaturesSQFD>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, PHash>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, PaddingLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, PermuteLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, PhaseUnwrapping>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, Plot2d>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, PoolingLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, PoolingLayerInt8>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, PowerLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, PriorBoxLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, ProposalLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, QualityBRISQUE>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, QualityBase>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, QualityGMSD>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, QualityMSE>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, QualityPSNR>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, QualitySSIM>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, QuantizeLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, RFFeatureGetter>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, RICInterpolator>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, RNNLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, RTrees>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, RadialVarianceHash>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, Rapid_GOSTracker>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, Rapid_OLSTracker>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, Rapid_Rapid>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, Rapid_Tracker>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, ReLU6Layer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, ReLULayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, ReciprocalLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, ReduceLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, RegionLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, ReorgLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, RequantizeLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, ReshapeLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, ResizeLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, Retina>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, RetinaFastToneMapping>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, RgbdICPOdometry>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, RgbdNormals>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, RgbdOdometry>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, RgbdPlane>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, RidgeDetectionFilter>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, RoundLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, SIFT>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, SURF>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, SVM>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, SVMSGD>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, SVM_Kernel>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, Saliency>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, ScaleLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, ScaleLayerInt8>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, ScanSegment>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, ScatterLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, ScatterNDLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, SelectiveSearchSegmentation>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, SelectiveSearchSegmentationStrategy>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, SelectiveSearchSegmentationStrategyColor>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, SelectiveSearchSegmentationStrategyFill>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, SelectiveSearchSegmentationStrategyMultiple>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, SelectiveSearchSegmentationStrategySize>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, SelectiveSearchSegmentationStrategyTexture>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, SeluLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, ShapeContextDistanceExtractor>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, ShapeDistanceExtractor>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, ShapeTransformer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, ShiftLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, ShiftLayerInt8>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, ShrinkLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, ShuffleChannelLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, SigmoidLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, SignLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, SimpleBlobDetector>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, SimpleWB>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, SinLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, SinhLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, SinusoidalPattern>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, SliceLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, SoftmaxLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, SoftmaxLayerInt8>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, SoftplusLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, SoftsignLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, SpaceToDepthLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, SparseMatchInterpolator>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, SparseOpticalFlow>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, SparsePyrLKOpticalFlow>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, SparseRLOFOpticalFlow>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, SplitLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, SqrtLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, StarDetector>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, StatModel>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, StaticSaliency>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, StaticSaliencyFineGrained>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, StaticSaliencySpectralResidual>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, StereoBM>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, StereoMatcher>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, StereoSGBM>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, StructuredEdgeDetection>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, StructuredLightPattern>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, SuperRes_BroxOpticalFlow>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, SuperRes_DenseOpticalFlowExt>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, SuperRes_DualTVL1OpticalFlow>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, SuperRes_FarnebackOpticalFlow>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, SuperRes_PyrLKOpticalFlow>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, SuperRes_SuperResolution>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, SuperpixelLSC>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, SuperpixelSEEDS>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, SuperpixelSLIC>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, SwishLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, SyntheticSequenceGenerator>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, TBMR>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, TEBLID>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, TanHLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, TanLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, ThinPlateSplineShapeTransformer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, ThresholdedReluLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, TileLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, Tonemap>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, TonemapDrago>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, TonemapDurand>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, TonemapMantiuk>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, TonemapReinhard>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, TopKLayer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, TransientAreasSegmentationModule>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, VGG>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, VariationalRefinement>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlgorithmTraitConst for BoxedRefMut<'_, WhiteBalancer>

Source§

fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
Source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
Source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§

impl AlignExposuresTrait for BoxedRefMut<'_, AlignExposures>

Source§

fn as_raw_mut_AlignExposures( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn process( &mut self, src: &impl ToInputArray, dst: &mut Vector<Mat>, times: &impl ToInputArray, response: &impl ToInputArray, ) -> Result<()>

Aligns images Read more
Source§

impl AlignExposuresTrait for BoxedRefMut<'_, AlignMTB>

Source§

fn as_raw_mut_AlignExposures( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn process( &mut self, src: &impl ToInputArray, dst: &mut Vector<Mat>, times: &impl ToInputArray, response: &impl ToInputArray, ) -> Result<()>

Aligns images Read more
Source§

impl AlignExposuresTraitConst for BoxedRefMut<'_, AlignExposures>

Source§

fn as_raw_AlignExposures( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl AlignExposuresTraitConst for BoxedRefMut<'_, AlignMTB>

Source§

fn as_raw_AlignExposures( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl AlignMTBTrait for BoxedRefMut<'_, AlignMTB>

Source§

fn as_raw_mut_AlignMTB( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn process_with_response( &mut self, src: &impl ToInputArray, dst: &mut Vector<Mat>, times: &impl ToInputArray, response: &impl ToInputArray, ) -> Result<()>

Source§

fn process( &mut self, src: &impl ToInputArray, dst: &mut Vector<Mat>, ) -> Result<()>

Short version of process, that doesn’t take extra arguments. Read more
Source§

fn calculate_shift( &mut self, img0: &impl ToInputArray, img1: &impl ToInputArray, ) -> Result<Point>

Calculates shift between two images, i. e. how to shift the second image to correspond it with the first. Read more
Source§

fn shift_mat( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, shift: Point, ) -> Result<()>

Helper function, that shift Mat filling new regions with zeros. Read more
Source§

fn compute_bitmaps( &mut self, img: &impl ToInputArray, tb: &mut impl ToOutputArray, eb: &mut impl ToOutputArray, ) -> Result<()>

Computes median threshold and exclude bitmaps of given image. Read more
Source§

fn set_max_bits(&mut self, max_bits: i32) -> Result<()>

Source§

fn set_exclude_range(&mut self, exclude_range: i32) -> Result<()>

Source§

fn set_cut(&mut self, value: bool) -> Result<()>

Source§

impl AlignMTBTraitConst for BoxedRefMut<'_, AlignMTB>

Source§

fn as_raw_AlignMTB(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_max_bits(&self) -> Result<i32>

Source§

fn get_exclude_range(&self) -> Result<i32>

Source§

fn get_cut(&self) -> Result<bool>

Source§

impl AnimationTrait for BoxedRefMut<'_, Animation>

Source§

fn as_raw_mut_Animation( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_loop_count(&mut self, val: i32)

Number of times the animation should loop. 0 means infinite looping. Read more
Source§

fn set_bgcolor(&mut self, val: Scalar)

Background color of the animation in BGRA format.
Source§

fn set_durations(&mut self, val: Vector<i32>)

Duration for each frame in milliseconds. Read more
Source§

fn set_frames(&mut self, val: Vector<Mat>)

Vector of frames, where each Mat represents a single frame.
Source§

fn set_still_image(&mut self, val: Mat)

image that can be used for the format in addition to the animation or if animation is not supported in the reader (like in PNG).
Source§

impl AnimationTraitConst for BoxedRefMut<'_, Animation>

Source§

fn as_raw_Animation(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn loop_count(&self) -> i32

Number of times the animation should loop. 0 means infinite looping. Read more
Source§

fn bgcolor(&self) -> Scalar

Background color of the animation in BGRA format.
Source§

fn durations(&self) -> Vector<i32>

Duration for each frame in milliseconds. Read more
Source§

fn frames(&self) -> Vector<Mat>

Vector of frames, where each Mat represents a single frame.
Source§

fn still_image(&self) -> Mat

image that can be used for the format in addition to the animation or if animation is not supported in the reader (like in PNG).
Source§

impl ArgLayerTrait for BoxedRefMut<'_, ArgLayer>

Source§

fn as_raw_mut_ArgLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ArgLayerTraitConst for BoxedRefMut<'_, ArgLayer>

Source§

fn as_raw_ArgLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl ArraysTrait for BoxedRefMut<'_, Arrays>

Source§

fn as_raw_mut_Arrays( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_vertex_array(&mut self, vertex: &impl ToInputArray) -> Result<()>

Sets an array of vertex coordinates. Read more
Source§

fn reset_vertex_array(&mut self) -> Result<()>

Resets vertex coordinates.
Source§

fn set_color_array(&mut self, color: &impl ToInputArray) -> Result<()>

Sets an array of vertex colors. Read more
Source§

fn reset_color_array(&mut self) -> Result<()>

Resets vertex colors.
Source§

fn set_normal_array(&mut self, normal: &impl ToInputArray) -> Result<()>

Sets an array of vertex normals. Read more
Source§

fn reset_normal_array(&mut self) -> Result<()>

Resets vertex normals.
Source§

fn set_tex_coord_array(&mut self, tex_coord: &impl ToInputArray) -> Result<()>

Sets an array of vertex texture coordinates. Read more
Source§

fn reset_tex_coord_array(&mut self) -> Result<()>

Resets vertex texture coordinates.
Source§

fn release(&mut self) -> Result<()>

Releases all inner buffers.
Source§

fn set_auto_release(&mut self, flag: bool) -> Result<()>

Sets auto release mode all inner buffers. Read more
Source§

impl ArraysTraitConst for BoxedRefMut<'_, Arrays>

Source§

fn as_raw_Arrays(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn bind(&self) -> Result<()>

Binds all vertex arrays.
Source§

fn size(&self) -> Result<i32>

Returns the vertex count.
Source§

fn empty(&self) -> Result<bool>

Source§

impl ArucoDetectorTrait for BoxedRefMut<'_, ArucoDetector>

Source§

fn as_raw_mut_ArucoDetector( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_dictionary( &mut self, dictionary: &impl DictionaryTraitConst, ) -> Result<()>

Sets and replaces the first dictionary in internal list to be used for marker detection. Read more
Source§

fn set_dictionaries(&mut self, dictionaries: &Vector<Dictionary>) -> Result<()>

Sets the entire collection of dictionaries to be used for marker detection, replacing any existing dictionaries. Read more
Source§

fn set_detector_parameters( &mut self, detector_parameters: &impl DetectorParametersTraitConst, ) -> Result<()>

Source§

fn set_refine_parameters( &mut self, refine_parameters: RefineParameters, ) -> Result<()>

Source§

fn write_1(&mut self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

simplified API for language bindings
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
Source§

impl ArucoDetectorTraitConst for BoxedRefMut<'_, ArucoDetector>

Source§

fn as_raw_ArucoDetector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn detect_markers( &self, image: &impl ToInputArray, corners: &mut impl ToOutputArray, ids: &mut impl ToOutputArray, rejected_img_points: &mut impl ToOutputArray, ) -> Result<()>

Basic marker detection Read more
Source§

fn detect_markers_def( &self, image: &impl ToInputArray, corners: &mut impl ToOutputArray, ids: &mut impl ToOutputArray, ) -> Result<()>

Basic marker detection Read more
Source§

fn refine_detected_markers( &self, image: &impl ToInputArray, board: &impl BoardTraitConst, detected_corners: &mut impl ToInputOutputArray, detected_ids: &mut impl ToInputOutputArray, rejected_corners: &mut impl ToInputOutputArray, camera_matrix: &impl ToInputArray, dist_coeffs: &impl ToInputArray, recovered_idxs: &mut impl ToOutputArray, ) -> Result<()>

Refine not detected markers based on the already detected and the board layout Read more
Source§

fn refine_detected_markers_def( &self, image: &impl ToInputArray, board: &impl BoardTraitConst, detected_corners: &mut impl ToInputOutputArray, detected_ids: &mut impl ToInputOutputArray, rejected_corners: &mut impl ToInputOutputArray, ) -> Result<()>

Refine not detected markers based on the already detected and the board layout Read more
Source§

fn detect_markers_multi_dict( &self, image: &impl ToInputArray, corners: &mut impl ToOutputArray, ids: &mut impl ToOutputArray, rejected_img_points: &mut impl ToOutputArray, dict_indices: &mut impl ToOutputArray, ) -> Result<()>

Basic marker detection Read more
Source§

fn detect_markers_multi_dict_def( &self, image: &impl ToInputArray, corners: &mut impl ToOutputArray, ids: &mut impl ToOutputArray, ) -> Result<()>

Basic marker detection Read more
Source§

fn get_dictionary(&self) -> Result<Dictionary>

Returns first dictionary from internal list used for marker detection. Read more
Source§

fn get_dictionaries(&self) -> Result<Vector<Dictionary>>

Returns all dictionaries currently used for marker detection as a vector. Read more
Source§

fn get_detector_parameters(&self) -> Result<DetectorParameters>

Source§

fn get_refine_parameters(&self) -> Result<RefineParameters>

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
Source§

impl AsinLayerTrait for BoxedRefMut<'_, AsinLayer>

Source§

fn as_raw_mut_AsinLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl AsinLayerTraitConst for BoxedRefMut<'_, AsinLayer>

Source§

fn as_raw_AsinLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl AsinhLayerTrait for BoxedRefMut<'_, AsinhLayer>

Source§

fn as_raw_mut_AsinhLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl AsinhLayerTraitConst for BoxedRefMut<'_, AsinhLayer>

Source§

fn as_raw_AsinhLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl AsyncArrayTrait for BoxedRefMut<'_, AsyncArray>

Source§

fn as_raw_mut_AsyncArray( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set(&mut self, o: &impl AsyncArrayTraitConst)

Source§

fn release(&mut self)

Source§

fn set_1(&mut self, o: AsyncArray)

Source§

impl AsyncArrayTraitConst for BoxedRefMut<'_, AsyncArray>

Source§

fn as_raw_AsyncArray(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get(&self, dst: &mut impl ToOutputArray) -> Result<()>

Fetch the result. Read more
Source§

fn get_with_timeout( &self, dst: &mut impl ToOutputArray, timeout_ns: i64, ) -> Result<bool>

Retrieving the result with timeout Read more
Source§

fn get_with_timeout_f64( &self, dst: &mut impl ToOutputArray, timeout_ns: f64, ) -> Result<bool>

Source§

fn wait_for(&self, timeout_ns: i64) -> Result<bool>

Source§

fn wait_for_f64(&self, timeout_ns: f64) -> Result<bool>

Source§

fn valid(&self) -> bool

Source§

impl AsyncPromiseTrait for BoxedRefMut<'_, AsyncPromise>

Source§

fn as_raw_mut_AsyncPromise( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set(&mut self, o: &impl AsyncPromiseTraitConst)

Source§

fn release(&mut self)

Source§

fn get_array_result(&mut self) -> Result<AsyncArray>

Returns associated AsyncArray Read more
Source§

fn set_value(&mut self, value: &impl ToInputArray) -> Result<()>

Stores asynchronous result. Read more
Source§

fn set_exception(&mut self, exception: &impl ExceptionTraitConst) -> Result<()>

Stores exception. Read more
Source§

fn set_1(&mut self, o: AsyncPromise)

Source§

impl AsyncPromiseTraitConst for BoxedRefMut<'_, AsyncPromise>

Source§

fn as_raw_AsyncPromise(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn _get_impl(&self) -> *mut c_void

Source§

impl AtanLayerTrait for BoxedRefMut<'_, AtanLayer>

Source§

fn as_raw_mut_AtanLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl AtanLayerTraitConst for BoxedRefMut<'_, AtanLayer>

Source§

fn as_raw_AtanLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl AtanhLayerTrait for BoxedRefMut<'_, AtanhLayer>

Source§

fn as_raw_mut_AtanhLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl AtanhLayerTraitConst for BoxedRefMut<'_, AtanhLayer>

Source§

fn as_raw_AtanhLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl AttentionLayerTrait for BoxedRefMut<'_, AttentionLayer>

Source§

fn as_raw_mut_AttentionLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl AttentionLayerTraitConst for BoxedRefMut<'_, AttentionLayer>

Source§

fn as_raw_AttentionLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl AutotunedIndexParamsTrait for BoxedRefMut<'_, AutotunedIndexParams>

Source§

fn as_raw_mut_AutotunedIndexParams( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl AutotunedIndexParamsTraitConst for BoxedRefMut<'_, AutotunedIndexParams>

Source§

fn as_raw_AutotunedIndexParams( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl AverageHashTrait for BoxedRefMut<'_, AverageHash>

Source§

fn as_raw_mut_AverageHash( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl AverageHashTraitConst for BoxedRefMut<'_, AverageHash>

Source§

fn as_raw_AverageHash(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl BEBLIDTrait for BoxedRefMut<'_, BEBLID>

Source§

fn as_raw_mut_BEBLID( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_scale_factor(&mut self, scale_factor: f32) -> Result<()>

Source§

impl BEBLIDTraitConst for BoxedRefMut<'_, BEBLID>

Source§

fn as_raw_BEBLID(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_scale_factor(&self) -> Result<f32>

Source§

fn get_default_name(&self) -> Result<String>

Source§

impl BFMatcherTrait for BoxedRefMut<'_, BFMatcher>

Source§

fn as_raw_mut_BFMatcher( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl BFMatcherTraitConst for BoxedRefMut<'_, BFMatcher>

Source§

fn as_raw_BFMatcher(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn is_mask_supported(&self) -> Result<bool>

Source§

fn clone(&self, empty_train_data: bool) -> Result<Ptr<DescriptorMatcher>>

C++ default parameters Read more
Source§

fn clone_def(&self) -> Result<Ptr<DescriptorMatcher>>

Source§

impl BIFTrait for BoxedRefMut<'_, BIF>

Source§

fn as_raw_mut_BIF( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl BIFTraitConst for BoxedRefMut<'_, BIF>

Source§

fn as_raw_BIF(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_num_bands(&self) -> Result<i32>

Returns Read more
Source§

fn get_num_rotations(&self) -> Result<i32>

Returns Read more
Source§

fn compute( &self, image: &impl ToInputArray, features: &mut impl ToOutputArray, ) -> Result<()>

Computes features sby input image. Read more
Source§

impl BNLLLayerTrait for BoxedRefMut<'_, BNLLLayer>

Source§

fn as_raw_mut_BNLLLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl BNLLLayerTraitConst for BoxedRefMut<'_, BNLLLayer>

Source§

fn as_raw_BNLLLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl BOWImgDescriptorExtractorTrait for BoxedRefMut<'_, BOWImgDescriptorExtractor>

Source§

fn as_raw_mut_BOWImgDescriptorExtractor( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_vocabulary(&mut self, vocabulary: &impl MatTraitConst) -> Result<()>

Sets a visual vocabulary. Read more
Source§

fn compute_desc( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, img_descriptor: &mut impl ToOutputArray, point_idxs_of_clusters: &mut Vector<Vector<i32>>, descriptors: &mut impl MatTrait, ) -> Result<()>

Computes an image descriptor using the set visual vocabulary. Read more
Source§

fn compute_desc_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, img_descriptor: &mut impl ToOutputArray, ) -> Result<()>

Computes an image descriptor using the set visual vocabulary. Read more
Source§

fn compute( &mut self, keypoint_descriptors: &impl ToInputArray, img_descriptor: &mut impl ToOutputArray, point_idxs_of_clusters: &mut Vector<Vector<i32>>, ) -> Result<()>

Computes an image descriptor using the set visual vocabulary. Read more
Source§

fn compute_def( &mut self, keypoint_descriptors: &impl ToInputArray, img_descriptor: &mut impl ToOutputArray, ) -> Result<()>

@overload Read more
Source§

fn compute2( &mut self, image: &impl MatTraitConst, keypoints: &mut Vector<KeyPoint>, img_descriptor: &mut impl MatTrait, ) -> Result<()>

Source§

impl BOWImgDescriptorExtractorTraitConst for BoxedRefMut<'_, BOWImgDescriptorExtractor>

Source§

fn as_raw_BOWImgDescriptorExtractor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_vocabulary(&self) -> Result<Mat>

Returns the set vocabulary.
Source§

fn descriptor_size(&self) -> Result<i32>

Returns an image descriptor size if the vocabulary is set. Otherwise, it returns 0.
Source§

fn descriptor_type(&self) -> Result<i32>

Returns an image descriptor type.
Source§

impl BOWKMeansTrainerTrait for BoxedRefMut<'_, BOWKMeansTrainer>

Source§

fn as_raw_mut_BOWKMeansTrainer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl BOWKMeansTrainerTraitConst for BoxedRefMut<'_, BOWKMeansTrainer>

Source§

fn as_raw_BOWKMeansTrainer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn cluster(&self) -> Result<Mat>

Source§

fn cluster_with_descriptor( &self, descriptors: &impl MatTraitConst, ) -> Result<Mat>

Source§

impl BOWTrainerTrait for BoxedRefMut<'_, BOWKMeansTrainer>

Source§

fn as_raw_mut_BOWTrainer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn add(&mut self, descriptors: &impl MatTraitConst) -> Result<()>

Adds descriptors to a training set. Read more
Source§

fn clear(&mut self) -> Result<()>

Source§

impl BOWTrainerTrait for BoxedRefMut<'_, BOWTrainer>

Source§

fn as_raw_mut_BOWTrainer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn add(&mut self, descriptors: &impl MatTraitConst) -> Result<()>

Adds descriptors to a training set. Read more
Source§

fn clear(&mut self) -> Result<()>

Source§

impl BOWTrainerTraitConst for BoxedRefMut<'_, BOWKMeansTrainer>

Source§

fn as_raw_BOWTrainer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_descriptors(&self) -> Result<Vector<Mat>>

Returns a training set of descriptors.
Source§

fn descriptors_count(&self) -> Result<i32>

Returns the count of all descriptors stored in the training set.
Source§

fn cluster(&self) -> Result<Mat>

Clusters train descriptors. Read more
Source§

fn cluster_with_descriptors( &self, descriptors: &impl MatTraitConst, ) -> Result<Mat>

Clusters train descriptors. Read more
Source§

impl BOWTrainerTraitConst for BoxedRefMut<'_, BOWTrainer>

Source§

fn as_raw_BOWTrainer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_descriptors(&self) -> Result<Vector<Mat>>

Returns a training set of descriptors.
Source§

fn descriptors_count(&self) -> Result<i32>

Returns the count of all descriptors stored in the training set.
Source§

fn cluster(&self) -> Result<Mat>

Clusters train descriptors. Read more
Source§

fn cluster_with_descriptors( &self, descriptors: &impl MatTraitConst, ) -> Result<Mat>

Clusters train descriptors. Read more
Source§

impl BRISKTrait for BoxedRefMut<'_, BRISK>

Source§

fn as_raw_mut_BRISK( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_threshold(&mut self, threshold: i32) -> Result<()>

Set detection threshold. Read more
Source§

fn set_octaves(&mut self, octaves: i32) -> Result<()>

Set detection octaves. Read more
Source§

fn set_pattern_scale(&mut self, pattern_scale: f32) -> Result<()>

Set detection patternScale. Read more
Source§

impl BRISKTraitConst for BoxedRefMut<'_, BRISK>

Source§

fn as_raw_BRISK(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_default_name(&self) -> Result<String>

Source§

fn get_threshold(&self) -> Result<i32>

Source§

fn get_octaves(&self) -> Result<i32>

Source§

fn get_pattern_scale(&self) -> Result<f32>

Source§

impl BackendNodeTrait for BoxedRefMut<'_, BackendNode>

Source§

fn as_raw_mut_BackendNode( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_backend_id(&mut self, val: i32)

Backend identifier.
Source§

impl BackendNodeTraitConst for BoxedRefMut<'_, BackendNode>

Source§

fn as_raw_BackendNode(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn backend_id(&self) -> i32

Backend identifier.
Source§

impl BackendWrapperTrait for BoxedRefMut<'_, BackendWrapper>

Source§

fn as_raw_mut_BackendWrapper( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_backend_id(&mut self, val: i32)

Backend identifier.
Source§

fn set_target_id(&mut self, val: i32)

Target identifier.
Source§

fn copy_to_host(&mut self) -> Result<()>

Transfer data to CPU host memory.
Source§

fn set_host_dirty(&mut self) -> Result<()>

Indicate that an actual data is on CPU.
Source§

impl BackendWrapperTraitConst for BoxedRefMut<'_, BackendWrapper>

Source§

fn as_raw_BackendWrapper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn backend_id(&self) -> i32

Backend identifier.
Source§

fn target_id(&self) -> i32

Target identifier.
Source§

impl BackgroundSubtractorCNTTrait for BoxedRefMut<'_, BackgroundSubtractorCNT>

Source§

fn as_raw_mut_BackgroundSubtractorCNT( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn apply( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray, learning_rate: f64, ) -> Result<()>

C++ default parameters Read more
Source§

fn apply_def( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray, ) -> Result<()>

Source§

fn set_min_pixel_stability(&mut self, value: i32) -> Result<()>

Sets the number of frames with same pixel color to consider stable.
Source§

fn set_max_pixel_stability(&mut self, value: i32) -> Result<()>

Sets the maximum allowed credit for a pixel in history.
Source§

fn set_use_history(&mut self, value: bool) -> Result<()>

Sets if we’re giving a pixel credit for being stable for a long time.
Source§

fn set_is_parallel(&mut self, value: bool) -> Result<()>

Sets if we’re parallelizing the algorithm.
Source§

impl BackgroundSubtractorCNTTraitConst for BoxedRefMut<'_, BackgroundSubtractorCNT>

Source§

fn as_raw_BackgroundSubtractorCNT( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_background_image( &self, background_image: &mut impl ToOutputArray, ) -> Result<()>

Source§

fn get_min_pixel_stability(&self) -> Result<i32>

Returns number of frames with same pixel color to consider stable.
Source§

fn get_max_pixel_stability(&self) -> Result<i32>

Returns maximum allowed credit for a pixel in history.
Source§

fn get_use_history(&self) -> Result<bool>

Returns if we’re giving a pixel credit for being stable for a long time.
Source§

fn get_is_parallel(&self) -> Result<bool>

Returns if we’re parallelizing the algorithm.
Source§

impl BackgroundSubtractorGMGTrait for BoxedRefMut<'_, BackgroundSubtractorGMG>

Source§

fn as_raw_mut_BackgroundSubtractorGMG( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn apply( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray, learning_rate: f64, ) -> Result<()>

Computes a foreground mask. Read more
Source§

fn apply_def( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray, ) -> Result<()>

Computes a foreground mask. Read more
Source§

fn set_max_features(&mut self, max_features: i32) -> Result<()>

Sets total number of distinct colors to maintain in histogram.
Source§

fn set_default_learning_rate(&mut self, lr: f64) -> Result<()>

Sets the learning rate of the algorithm.
Source§

fn set_num_frames(&mut self, nframes: i32) -> Result<()>

Sets the number of frames used to initialize background model.
Source§

fn set_quantization_levels(&mut self, nlevels: i32) -> Result<()>

Sets the parameter used for quantization of color-space
Source§

fn set_background_prior(&mut self, bgprior: f64) -> Result<()>

Sets the prior probability that each individual pixel is a background pixel.
Source§

fn set_smoothing_radius(&mut self, radius: i32) -> Result<()>

Sets the kernel radius used for morphological operations
Source§

fn set_decision_threshold(&mut self, thresh: f64) -> Result<()>

Sets the value of decision threshold.
Source§

fn set_update_background_model(&mut self, update: bool) -> Result<()>

Sets the status of background model update
Source§

fn set_min_val(&mut self, val: f64) -> Result<()>

Sets the minimum value taken on by pixels in image sequence.
Source§

fn set_max_val(&mut self, val: f64) -> Result<()>

Sets the maximum value taken on by pixels in image sequence.
Source§

impl BackgroundSubtractorGMGTraitConst for BoxedRefMut<'_, BackgroundSubtractorGMG>

Source§

fn as_raw_BackgroundSubtractorGMG( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_background_image( &self, background_image: &mut impl ToOutputArray, ) -> Result<()>

Source§

fn get_max_features(&self) -> Result<i32>

Returns total number of distinct colors to maintain in histogram.
Source§

fn get_default_learning_rate(&self) -> Result<f64>

Returns the learning rate of the algorithm. Read more
Source§

fn get_num_frames(&self) -> Result<i32>

Returns the number of frames used to initialize background model.
Source§

fn get_quantization_levels(&self) -> Result<i32>

Returns the parameter used for quantization of color-space. Read more
Source§

fn get_background_prior(&self) -> Result<f64>

Returns the prior probability that each individual pixel is a background pixel.
Source§

fn get_smoothing_radius(&self) -> Result<i32>

Returns the kernel radius used for morphological operations
Source§

fn get_decision_threshold(&self) -> Result<f64>

Returns the value of decision threshold. Read more
Source§

fn get_update_background_model(&self) -> Result<bool>

Returns the status of background model update
Source§

fn get_min_val(&self) -> Result<f64>

Returns the minimum value taken on by pixels in image sequence. Usually 0.
Source§

fn get_max_val(&self) -> Result<f64>

Returns the maximum value taken on by pixels in image sequence. e.g. 1.0 or 255.
Source§

impl BackgroundSubtractorGSOCTrait for BoxedRefMut<'_, BackgroundSubtractorGSOC>

Source§

fn as_raw_mut_BackgroundSubtractorGSOC( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn apply( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray, learning_rate: f64, ) -> Result<()>

C++ default parameters Read more
Source§

fn apply_def( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray, ) -> Result<()>

Source§

impl BackgroundSubtractorGSOCTraitConst for BoxedRefMut<'_, BackgroundSubtractorGSOC>

Source§

fn as_raw_BackgroundSubtractorGSOC( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_background_image( &self, background_image: &mut impl ToOutputArray, ) -> Result<()>

Source§

impl BackgroundSubtractorKNNTrait for BoxedRefMut<'_, BackgroundSubtractorKNN>

Source§

fn as_raw_mut_BackgroundSubtractorKNN( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_history(&mut self, history: i32) -> Result<()>

Sets the number of last frames that affect the background model
Source§

fn set_n_samples(&mut self, _n_n: i32) -> Result<()>

Sets the number of data samples in the background model. Read more
Source§

fn set_dist2_threshold(&mut self, _dist2_threshold: f64) -> Result<()>

Sets the threshold on the squared distance
Source§

fn setk_nn_samples(&mut self, _nk_nn: i32) -> Result<()>

Sets the k in the kNN. How many nearest neighbours need to match.
Source§

fn set_detect_shadows(&mut self, detect_shadows: bool) -> Result<()>

Enables or disables shadow detection
Source§

fn set_shadow_value(&mut self, value: i32) -> Result<()>

Sets the shadow value
Source§

fn set_shadow_threshold(&mut self, threshold: f64) -> Result<()>

Sets the shadow threshold
Source§

impl BackgroundSubtractorKNNTraitConst for BoxedRefMut<'_, BackgroundSubtractorKNN>

Source§

fn as_raw_BackgroundSubtractorKNN( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_history(&self) -> Result<i32>

Returns the number of last frames that affect the background model
Source§

fn get_n_samples(&self) -> Result<i32>

Returns the number of data samples in the background model
Source§

fn get_dist2_threshold(&self) -> Result<f64>

Returns the threshold on the squared distance between the pixel and the sample Read more
Source§

fn getk_nn_samples(&self) -> Result<i32>

Returns the number of neighbours, the k in the kNN. Read more
Source§

fn get_detect_shadows(&self) -> Result<bool>

Returns the shadow detection flag Read more
Source§

fn get_shadow_value(&self) -> Result<i32>

Returns the shadow value Read more
Source§

fn get_shadow_threshold(&self) -> Result<f64>

Returns the shadow threshold Read more
Source§

impl BackgroundSubtractorLSBPDescTrait for BoxedRefMut<'_, BackgroundSubtractorLSBPDesc>

Source§

fn as_raw_mut_BackgroundSubtractorLSBPDesc( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl BackgroundSubtractorLSBPDescTraitConst for BoxedRefMut<'_, BackgroundSubtractorLSBPDesc>

Source§

fn as_raw_BackgroundSubtractorLSBPDesc( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl BackgroundSubtractorLSBPTrait for BoxedRefMut<'_, BackgroundSubtractorLSBP>

Source§

fn as_raw_mut_BackgroundSubtractorLSBP( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn apply( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray, learning_rate: f64, ) -> Result<()>

C++ default parameters Read more
Source§

fn apply_def( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray, ) -> Result<()>

Source§

impl BackgroundSubtractorLSBPTraitConst for BoxedRefMut<'_, BackgroundSubtractorLSBP>

Source§

fn as_raw_BackgroundSubtractorLSBP( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_background_image( &self, background_image: &mut impl ToOutputArray, ) -> Result<()>

Source§

impl BackgroundSubtractorMOG2Trait for BoxedRefMut<'_, BackgroundSubtractorMOG2>

Source§

fn as_raw_mut_BackgroundSubtractorMOG2( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_history(&mut self, history: i32) -> Result<()>

Sets the number of last frames that affect the background model
Source§

fn set_n_mixtures(&mut self, nmixtures: i32) -> Result<()>

Sets the number of gaussian components in the background model. Read more
Source§

fn set_background_ratio(&mut self, ratio: f64) -> Result<()>

Sets the “background ratio” parameter of the algorithm
Source§

fn set_var_threshold(&mut self, var_threshold: f64) -> Result<()>

Sets the variance threshold for the pixel-model match
Source§

fn set_var_threshold_gen(&mut self, var_threshold_gen: f64) -> Result<()>

Sets the variance threshold for the pixel-model match used for new mixture component generation
Source§

fn set_var_init(&mut self, var_init: f64) -> Result<()>

Sets the initial variance of each gaussian component
Source§

fn set_var_min(&mut self, var_min: f64) -> Result<()>

Source§

fn set_var_max(&mut self, var_max: f64) -> Result<()>

Source§

fn set_complexity_reduction_threshold(&mut self, ct: f64) -> Result<()>

Sets the complexity reduction threshold
Source§

fn set_detect_shadows(&mut self, detect_shadows: bool) -> Result<()>

Enables or disables shadow detection
Source§

fn set_shadow_value(&mut self, value: i32) -> Result<()>

Sets the shadow value
Source§

fn set_shadow_threshold(&mut self, threshold: f64) -> Result<()>

Sets the shadow threshold
Source§

fn apply( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray, learning_rate: f64, ) -> Result<()>

Computes a foreground mask. Read more
Source§

fn apply_def( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray, ) -> Result<()>

Computes a foreground mask. Read more
Source§

impl BackgroundSubtractorMOG2Trait for BoxedRefMut<'_, CUDA_BackgroundSubtractorMOG2>

Source§

fn as_raw_mut_BackgroundSubtractorMOG2( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_history(&mut self, history: i32) -> Result<()>

Sets the number of last frames that affect the background model
Source§

fn set_n_mixtures(&mut self, nmixtures: i32) -> Result<()>

Sets the number of gaussian components in the background model. Read more
Source§

fn set_background_ratio(&mut self, ratio: f64) -> Result<()>

Sets the “background ratio” parameter of the algorithm
Source§

fn set_var_threshold(&mut self, var_threshold: f64) -> Result<()>

Sets the variance threshold for the pixel-model match
Source§

fn set_var_threshold_gen(&mut self, var_threshold_gen: f64) -> Result<()>

Sets the variance threshold for the pixel-model match used for new mixture component generation
Source§

fn set_var_init(&mut self, var_init: f64) -> Result<()>

Sets the initial variance of each gaussian component
Source§

fn set_var_min(&mut self, var_min: f64) -> Result<()>

Source§

fn set_var_max(&mut self, var_max: f64) -> Result<()>

Source§

fn set_complexity_reduction_threshold(&mut self, ct: f64) -> Result<()>

Sets the complexity reduction threshold
Source§

fn set_detect_shadows(&mut self, detect_shadows: bool) -> Result<()>

Enables or disables shadow detection
Source§

fn set_shadow_value(&mut self, value: i32) -> Result<()>

Sets the shadow value
Source§

fn set_shadow_threshold(&mut self, threshold: f64) -> Result<()>

Sets the shadow threshold
Source§

fn apply( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray, learning_rate: f64, ) -> Result<()>

Computes a foreground mask. Read more
Source§

fn apply_def( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray, ) -> Result<()>

Computes a foreground mask. Read more
Source§

impl BackgroundSubtractorMOG2TraitConst for BoxedRefMut<'_, BackgroundSubtractorMOG2>

Source§

fn as_raw_BackgroundSubtractorMOG2( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_history(&self) -> Result<i32>

Returns the number of last frames that affect the background model
Source§

fn get_n_mixtures(&self) -> Result<i32>

Returns the number of gaussian components in the background model
Source§

fn get_background_ratio(&self) -> Result<f64>

Returns the “background ratio” parameter of the algorithm Read more
Source§

fn get_var_threshold(&self) -> Result<f64>

Returns the variance threshold for the pixel-model match Read more
Source§

fn get_var_threshold_gen(&self) -> Result<f64>

Returns the variance threshold for the pixel-model match used for new mixture component generation Read more
Source§

fn get_var_init(&self) -> Result<f64>

Returns the initial variance of each gaussian component
Source§

fn get_var_min(&self) -> Result<f64>

Source§

fn get_var_max(&self) -> Result<f64>

Source§

fn get_complexity_reduction_threshold(&self) -> Result<f64>

Returns the complexity reduction threshold Read more
Source§

fn get_detect_shadows(&self) -> Result<bool>

Returns the shadow detection flag Read more
Source§

fn get_shadow_value(&self) -> Result<i32>

Returns the shadow value Read more
Source§

fn get_shadow_threshold(&self) -> Result<f64>

Returns the shadow threshold Read more
Source§

impl BackgroundSubtractorMOG2TraitConst for BoxedRefMut<'_, CUDA_BackgroundSubtractorMOG2>

Source§

fn as_raw_BackgroundSubtractorMOG2( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_history(&self) -> Result<i32>

Returns the number of last frames that affect the background model
Source§

fn get_n_mixtures(&self) -> Result<i32>

Returns the number of gaussian components in the background model
Source§

fn get_background_ratio(&self) -> Result<f64>

Returns the “background ratio” parameter of the algorithm Read more
Source§

fn get_var_threshold(&self) -> Result<f64>

Returns the variance threshold for the pixel-model match Read more
Source§

fn get_var_threshold_gen(&self) -> Result<f64>

Returns the variance threshold for the pixel-model match used for new mixture component generation Read more
Source§

fn get_var_init(&self) -> Result<f64>

Returns the initial variance of each gaussian component
Source§

fn get_var_min(&self) -> Result<f64>

Source§

fn get_var_max(&self) -> Result<f64>

Source§

fn get_complexity_reduction_threshold(&self) -> Result<f64>

Returns the complexity reduction threshold Read more
Source§

fn get_detect_shadows(&self) -> Result<bool>

Returns the shadow detection flag Read more
Source§

fn get_shadow_value(&self) -> Result<i32>

Returns the shadow value Read more
Source§

fn get_shadow_threshold(&self) -> Result<f64>

Returns the shadow threshold Read more
Source§

impl BackgroundSubtractorMOGTrait for BoxedRefMut<'_, BackgroundSubtractorMOG>

Source§

fn as_raw_mut_BackgroundSubtractorMOG( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_history(&mut self, nframes: i32) -> Result<()>

Source§

fn set_n_mixtures(&mut self, nmix: i32) -> Result<()>

Source§

fn set_background_ratio(&mut self, background_ratio: f64) -> Result<()>

Source§

fn set_noise_sigma(&mut self, noise_sigma: f64) -> Result<()>

Source§

impl BackgroundSubtractorMOGTraitConst for BoxedRefMut<'_, BackgroundSubtractorMOG>

Source§

fn as_raw_BackgroundSubtractorMOG( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_history(&self) -> Result<i32>

Source§

fn get_n_mixtures(&self) -> Result<i32>

Source§

fn get_background_ratio(&self) -> Result<f64>

Source§

fn get_noise_sigma(&self) -> Result<f64>

Source§

impl BackgroundSubtractorTrait for BoxedRefMut<'_, BackgroundSubtractor>

Source§

fn as_raw_mut_BackgroundSubtractor( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn apply( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray, learning_rate: f64, ) -> Result<()>

Computes a foreground mask. Read more
Source§

fn apply_def( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray, ) -> Result<()>

Computes a foreground mask. Read more
Source§

impl BackgroundSubtractorTrait for BoxedRefMut<'_, BackgroundSubtractorCNT>

Source§

fn as_raw_mut_BackgroundSubtractor( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn apply( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray, learning_rate: f64, ) -> Result<()>

Computes a foreground mask. Read more
Source§

fn apply_def( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray, ) -> Result<()>

Computes a foreground mask. Read more
Source§

impl BackgroundSubtractorTrait for BoxedRefMut<'_, BackgroundSubtractorGMG>

Source§

fn as_raw_mut_BackgroundSubtractor( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn apply( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray, learning_rate: f64, ) -> Result<()>

Computes a foreground mask. Read more
Source§

fn apply_def( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray, ) -> Result<()>

Computes a foreground mask. Read more
Source§

impl BackgroundSubtractorTrait for BoxedRefMut<'_, BackgroundSubtractorGSOC>

Source§

fn as_raw_mut_BackgroundSubtractor( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn apply( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray, learning_rate: f64, ) -> Result<()>

Computes a foreground mask. Read more
Source§

fn apply_def( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray, ) -> Result<()>

Computes a foreground mask. Read more
Source§

impl BackgroundSubtractorTrait for BoxedRefMut<'_, BackgroundSubtractorKNN>

Source§

fn as_raw_mut_BackgroundSubtractor( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn apply( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray, learning_rate: f64, ) -> Result<()>

Computes a foreground mask. Read more
Source§

fn apply_def( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray, ) -> Result<()>

Computes a foreground mask. Read more
Source§

impl BackgroundSubtractorTrait for BoxedRefMut<'_, BackgroundSubtractorLSBP>

Source§

fn as_raw_mut_BackgroundSubtractor( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn apply( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray, learning_rate: f64, ) -> Result<()>

Computes a foreground mask. Read more
Source§

fn apply_def( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray, ) -> Result<()>

Computes a foreground mask. Read more
Source§

impl BackgroundSubtractorTrait for BoxedRefMut<'_, BackgroundSubtractorMOG>

Source§

fn as_raw_mut_BackgroundSubtractor( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn apply( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray, learning_rate: f64, ) -> Result<()>

Computes a foreground mask. Read more
Source§

fn apply_def( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray, ) -> Result<()>

Computes a foreground mask. Read more
Source§

impl BackgroundSubtractorTrait for BoxedRefMut<'_, BackgroundSubtractorMOG2>

Source§

fn as_raw_mut_BackgroundSubtractor( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn apply( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray, learning_rate: f64, ) -> Result<()>

Computes a foreground mask. Read more
Source§

fn apply_def( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray, ) -> Result<()>

Computes a foreground mask. Read more
Source§

impl BackgroundSubtractorTrait for BoxedRefMut<'_, CUDA_BackgroundSubtractorFGD>

Source§

fn as_raw_mut_BackgroundSubtractor( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn apply( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray, learning_rate: f64, ) -> Result<()>

Computes a foreground mask. Read more
Source§

fn apply_def( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray, ) -> Result<()>

Computes a foreground mask. Read more
Source§

impl BackgroundSubtractorTrait for BoxedRefMut<'_, CUDA_BackgroundSubtractorGMG>

Source§

fn as_raw_mut_BackgroundSubtractor( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn apply( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray, learning_rate: f64, ) -> Result<()>

Computes a foreground mask. Read more
Source§

fn apply_def( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray, ) -> Result<()>

Computes a foreground mask. Read more
Source§

impl BackgroundSubtractorTrait for BoxedRefMut<'_, CUDA_BackgroundSubtractorMOG>

Source§

fn as_raw_mut_BackgroundSubtractor( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn apply( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray, learning_rate: f64, ) -> Result<()>

Computes a foreground mask. Read more
Source§

fn apply_def( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray, ) -> Result<()>

Computes a foreground mask. Read more
Source§

impl BackgroundSubtractorTrait for BoxedRefMut<'_, CUDA_BackgroundSubtractorMOG2>

Source§

fn as_raw_mut_BackgroundSubtractor( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn apply( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray, learning_rate: f64, ) -> Result<()>

Computes a foreground mask. Read more
Source§

fn apply_def( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray, ) -> Result<()>

Computes a foreground mask. Read more
Source§

impl BackgroundSubtractorTraitConst for BoxedRefMut<'_, BackgroundSubtractor>

Source§

fn as_raw_BackgroundSubtractor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_background_image( &self, background_image: &mut impl ToOutputArray, ) -> Result<()>

Computes a background image. Read more
Source§

impl BackgroundSubtractorTraitConst for BoxedRefMut<'_, BackgroundSubtractorCNT>

Source§

fn as_raw_BackgroundSubtractor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_background_image( &self, background_image: &mut impl ToOutputArray, ) -> Result<()>

Computes a background image. Read more
Source§

impl BackgroundSubtractorTraitConst for BoxedRefMut<'_, BackgroundSubtractorGMG>

Source§

fn as_raw_BackgroundSubtractor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_background_image( &self, background_image: &mut impl ToOutputArray, ) -> Result<()>

Computes a background image. Read more
Source§

impl BackgroundSubtractorTraitConst for BoxedRefMut<'_, BackgroundSubtractorGSOC>

Source§

fn as_raw_BackgroundSubtractor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_background_image( &self, background_image: &mut impl ToOutputArray, ) -> Result<()>

Computes a background image. Read more
Source§

impl BackgroundSubtractorTraitConst for BoxedRefMut<'_, BackgroundSubtractorKNN>

Source§

fn as_raw_BackgroundSubtractor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_background_image( &self, background_image: &mut impl ToOutputArray, ) -> Result<()>

Computes a background image. Read more
Source§

impl BackgroundSubtractorTraitConst for BoxedRefMut<'_, BackgroundSubtractorLSBP>

Source§

fn as_raw_BackgroundSubtractor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_background_image( &self, background_image: &mut impl ToOutputArray, ) -> Result<()>

Computes a background image. Read more
Source§

impl BackgroundSubtractorTraitConst for BoxedRefMut<'_, BackgroundSubtractorMOG>

Source§

fn as_raw_BackgroundSubtractor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_background_image( &self, background_image: &mut impl ToOutputArray, ) -> Result<()>

Computes a background image. Read more
Source§

impl BackgroundSubtractorTraitConst for BoxedRefMut<'_, BackgroundSubtractorMOG2>

Source§

fn as_raw_BackgroundSubtractor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_background_image( &self, background_image: &mut impl ToOutputArray, ) -> Result<()>

Computes a background image. Read more
Source§

impl BackgroundSubtractorTraitConst for BoxedRefMut<'_, CUDA_BackgroundSubtractorFGD>

Source§

fn as_raw_BackgroundSubtractor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_background_image( &self, background_image: &mut impl ToOutputArray, ) -> Result<()>

Computes a background image. Read more
Source§

impl BackgroundSubtractorTraitConst for BoxedRefMut<'_, CUDA_BackgroundSubtractorGMG>

Source§

fn as_raw_BackgroundSubtractor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_background_image( &self, background_image: &mut impl ToOutputArray, ) -> Result<()>

Computes a background image. Read more
Source§

impl BackgroundSubtractorTraitConst for BoxedRefMut<'_, CUDA_BackgroundSubtractorMOG>

Source§

fn as_raw_BackgroundSubtractor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_background_image( &self, background_image: &mut impl ToOutputArray, ) -> Result<()>

Computes a background image. Read more
Source§

impl BackgroundSubtractorTraitConst for BoxedRefMut<'_, CUDA_BackgroundSubtractorMOG2>

Source§

fn as_raw_BackgroundSubtractor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_background_image( &self, background_image: &mut impl ToOutputArray, ) -> Result<()>

Computes a background image. Read more
Source§

impl BarcodeDetectorTrait for BoxedRefMut<'_, BarcodeDetector>

Source§

fn as_raw_mut_BarcodeDetector( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_downsampling_threshold(&mut self, thresh: f64) -> Result<BarcodeDetector>

Set detector downsampling threshold. Read more
Source§

fn set_detector_scales( &mut self, sizes: &Vector<f32>, ) -> Result<BarcodeDetector>

Set detector box filter sizes. Read more
Source§

fn set_gradient_threshold(&mut self, thresh: f64) -> Result<BarcodeDetector>

Set detector gradient magnitude threshold. Read more
Source§

impl BarcodeDetectorTraitConst for BoxedRefMut<'_, BarcodeDetector>

Source§

fn as_raw_BarcodeDetector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn decode_with_type( &self, img: &impl ToInputArray, points: &impl ToInputArray, decoded_info: &mut Vector<String>, decoded_type: &mut Vector<String>, ) -> Result<bool>

Decodes barcode in image once it’s found by the detect() method. Read more
Source§

fn detect_and_decode_with_type( &self, img: &impl ToInputArray, decoded_info: &mut Vector<String>, decoded_type: &mut Vector<String>, points: &mut impl ToOutputArray, ) -> Result<bool>

Both detects and decodes barcode Read more
Source§

fn detect_and_decode_with_type_def( &self, img: &impl ToInputArray, decoded_info: &mut Vector<String>, decoded_type: &mut Vector<String>, ) -> Result<bool>

Both detects and decodes barcode Read more
Source§

fn get_downsampling_threshold(&self) -> Result<f64>

Get detector downsampling threshold. Read more
Source§

fn get_detector_scales(&self, sizes: &mut Vector<f32>) -> Result<()>

Returns detector box filter sizes. Read more
Source§

fn get_gradient_threshold(&self) -> Result<f64>

Get detector gradient magnitude threshold. Read more
Source§

impl BaseCascadeClassifierTrait for BoxedRefMut<'_, BaseCascadeClassifier>

Source§

fn as_raw_mut_BaseCascadeClassifier( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn load(&mut self, filename: &str) -> Result<bool>

Source§

fn detect_multi_scale( &mut self, image: &impl ToInputArray, objects: &mut Vector<Rect>, scale_factor: f64, min_neighbors: i32, flags: i32, min_size: Size, max_size: Size, ) -> Result<()>

Source§

fn detect_multi_scale_num( &mut self, image: &impl ToInputArray, objects: &mut Vector<Rect>, num_detections: &mut Vector<i32>, scale_factor: f64, min_neighbors: i32, flags: i32, min_size: Size, max_size: Size, ) -> Result<()>

Source§

fn detect_multi_scale_levels( &mut self, image: &impl ToInputArray, objects: &mut Vector<Rect>, reject_levels: &mut Vector<i32>, level_weights: &mut Vector<f64>, scale_factor: f64, min_neighbors: i32, flags: i32, min_size: Size, max_size: Size, output_reject_levels: bool, ) -> Result<()>

Source§

fn get_old_cascade(&mut self) -> Result<*mut c_void>

Source§

fn set_mask_generator( &mut self, mask_generator: &Ptr<BaseCascadeClassifier_MaskGenerator>, ) -> Result<()>

Source§

fn get_mask_generator( &mut self, ) -> Result<Ptr<BaseCascadeClassifier_MaskGenerator>>

Source§

impl BaseCascadeClassifierTraitConst for BoxedRefMut<'_, BaseCascadeClassifier>

Source§

fn as_raw_BaseCascadeClassifier( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn empty(&self) -> Result<bool>

Source§

fn is_old_format_cascade(&self) -> Result<bool>

Source§

fn get_original_window_size(&self) -> Result<Size>

Source§

fn get_feature_type(&self) -> Result<i32>

Source§

impl BaseCascadeClassifier_MaskGeneratorTrait for BoxedRefMut<'_, BaseCascadeClassifier_MaskGenerator>

Source§

fn as_raw_mut_BaseCascadeClassifier_MaskGenerator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn generate_mask(&mut self, src: &impl MatTraitConst) -> Result<Mat>

Source§

fn initialize_mask(&mut self, unnamed: &impl MatTraitConst) -> Result<()>

Source§

impl BaseCascadeClassifier_MaskGeneratorTraitConst for BoxedRefMut<'_, BaseCascadeClassifier_MaskGenerator>

Source§

fn as_raw_BaseCascadeClassifier_MaskGenerator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl BaseConvolutionLayerTrait for BoxedRefMut<'_, BaseConvolutionLayer>

Source§

fn as_raw_mut_BaseConvolutionLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_kernel(&mut self, val: Size)

Source§

fn set_stride(&mut self, val: Size)

Source§

fn set_pad(&mut self, val: Size)

Source§

fn set_dilation(&mut self, val: Size)

Source§

fn set_adjust_pad(&mut self, val: Size)

Source§

fn set_adjust_pads(&mut self, val: Vector<size_t>)

Source§

fn set_kernel_size(&mut self, val: Vector<size_t>)

Source§

fn set_strides(&mut self, val: Vector<size_t>)

Source§

fn set_dilations(&mut self, val: Vector<size_t>)

Source§

fn set_pads_begin(&mut self, val: Vector<size_t>)

Source§

fn set_pads_end(&mut self, val: Vector<size_t>)

Source§

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

Source§

fn set_num_output(&mut self, val: i32)

Source§

impl BaseConvolutionLayerTrait for BoxedRefMut<'_, ConvolutionLayer>

Source§

fn as_raw_mut_BaseConvolutionLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_kernel(&mut self, val: Size)

Source§

fn set_stride(&mut self, val: Size)

Source§

fn set_pad(&mut self, val: Size)

Source§

fn set_dilation(&mut self, val: Size)

Source§

fn set_adjust_pad(&mut self, val: Size)

Source§

fn set_adjust_pads(&mut self, val: Vector<size_t>)

Source§

fn set_kernel_size(&mut self, val: Vector<size_t>)

Source§

fn set_strides(&mut self, val: Vector<size_t>)

Source§

fn set_dilations(&mut self, val: Vector<size_t>)

Source§

fn set_pads_begin(&mut self, val: Vector<size_t>)

Source§

fn set_pads_end(&mut self, val: Vector<size_t>)

Source§

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

Source§

fn set_num_output(&mut self, val: i32)

Source§

impl BaseConvolutionLayerTrait for BoxedRefMut<'_, ConvolutionLayerInt8>

Source§

fn as_raw_mut_BaseConvolutionLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_kernel(&mut self, val: Size)

Source§

fn set_stride(&mut self, val: Size)

Source§

fn set_pad(&mut self, val: Size)

Source§

fn set_dilation(&mut self, val: Size)

Source§

fn set_adjust_pad(&mut self, val: Size)

Source§

fn set_adjust_pads(&mut self, val: Vector<size_t>)

Source§

fn set_kernel_size(&mut self, val: Vector<size_t>)

Source§

fn set_strides(&mut self, val: Vector<size_t>)

Source§

fn set_dilations(&mut self, val: Vector<size_t>)

Source§

fn set_pads_begin(&mut self, val: Vector<size_t>)

Source§

fn set_pads_end(&mut self, val: Vector<size_t>)

Source§

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

Source§

fn set_num_output(&mut self, val: i32)

Source§

impl BaseConvolutionLayerTrait for BoxedRefMut<'_, DeconvolutionLayer>

Source§

fn as_raw_mut_BaseConvolutionLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_kernel(&mut self, val: Size)

Source§

fn set_stride(&mut self, val: Size)

Source§

fn set_pad(&mut self, val: Size)

Source§

fn set_dilation(&mut self, val: Size)

Source§

fn set_adjust_pad(&mut self, val: Size)

Source§

fn set_adjust_pads(&mut self, val: Vector<size_t>)

Source§

fn set_kernel_size(&mut self, val: Vector<size_t>)

Source§

fn set_strides(&mut self, val: Vector<size_t>)

Source§

fn set_dilations(&mut self, val: Vector<size_t>)

Source§

fn set_pads_begin(&mut self, val: Vector<size_t>)

Source§

fn set_pads_end(&mut self, val: Vector<size_t>)

Source§

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

Source§

fn set_num_output(&mut self, val: i32)

Source§

impl BaseConvolutionLayerTraitConst for BoxedRefMut<'_, BaseConvolutionLayer>

Source§

fn as_raw_BaseConvolutionLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn kernel(&self) -> Size

Source§

fn stride(&self) -> Size

Source§

fn pad(&self) -> Size

Source§

fn dilation(&self) -> Size

Source§

fn adjust_pad(&self) -> Size

Source§

fn adjust_pads(&self) -> Vector<size_t>

Source§

fn kernel_size(&self) -> Vector<size_t>

Source§

fn strides(&self) -> Vector<size_t>

Source§

fn dilations(&self) -> Vector<size_t>

Source§

fn pads_begin(&self) -> Vector<size_t>

Source§

fn pads_end(&self) -> Vector<size_t>

Source§

fn pad_mode(&self) -> String

Source§

fn num_output(&self) -> i32

Source§

impl BaseConvolutionLayerTraitConst for BoxedRefMut<'_, ConvolutionLayer>

Source§

fn as_raw_BaseConvolutionLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn kernel(&self) -> Size

Source§

fn stride(&self) -> Size

Source§

fn pad(&self) -> Size

Source§

fn dilation(&self) -> Size

Source§

fn adjust_pad(&self) -> Size

Source§

fn adjust_pads(&self) -> Vector<size_t>

Source§

fn kernel_size(&self) -> Vector<size_t>

Source§

fn strides(&self) -> Vector<size_t>

Source§

fn dilations(&self) -> Vector<size_t>

Source§

fn pads_begin(&self) -> Vector<size_t>

Source§

fn pads_end(&self) -> Vector<size_t>

Source§

fn pad_mode(&self) -> String

Source§

fn num_output(&self) -> i32

Source§

impl BaseConvolutionLayerTraitConst for BoxedRefMut<'_, ConvolutionLayerInt8>

Source§

fn as_raw_BaseConvolutionLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn kernel(&self) -> Size

Source§

fn stride(&self) -> Size

Source§

fn pad(&self) -> Size

Source§

fn dilation(&self) -> Size

Source§

fn adjust_pad(&self) -> Size

Source§

fn adjust_pads(&self) -> Vector<size_t>

Source§

fn kernel_size(&self) -> Vector<size_t>

Source§

fn strides(&self) -> Vector<size_t>

Source§

fn dilations(&self) -> Vector<size_t>

Source§

fn pads_begin(&self) -> Vector<size_t>

Source§

fn pads_end(&self) -> Vector<size_t>

Source§

fn pad_mode(&self) -> String

Source§

fn num_output(&self) -> i32

Source§

impl BaseConvolutionLayerTraitConst for BoxedRefMut<'_, DeconvolutionLayer>

Source§

fn as_raw_BaseConvolutionLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn kernel(&self) -> Size

Source§

fn stride(&self) -> Size

Source§

fn pad(&self) -> Size

Source§

fn dilation(&self) -> Size

Source§

fn adjust_pad(&self) -> Size

Source§

fn adjust_pads(&self) -> Vector<size_t>

Source§

fn kernel_size(&self) -> Vector<size_t>

Source§

fn strides(&self) -> Vector<size_t>

Source§

fn dilations(&self) -> Vector<size_t>

Source§

fn pads_begin(&self) -> Vector<size_t>

Source§

fn pads_end(&self) -> Vector<size_t>

Source§

fn pad_mode(&self) -> String

Source§

fn num_output(&self) -> i32

Source§

impl BaseOCRTrait for BoxedRefMut<'_, BaseOCR>

Source§

fn as_raw_mut_BaseOCR( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn run( &mut self, image: &mut impl MatTrait, output_text: &mut String, component_rects: &mut Vector<Rect>, component_texts: &mut Vector<String>, component_confidences: &mut Vector<f32>, component_level: i32, ) -> Result<()>

C++ default parameters Read more
Source§

fn run_def( &mut self, image: &mut impl MatTrait, output_text: &mut String, ) -> Result<()>

Source§

fn run_mask( &mut self, image: &mut impl MatTrait, mask: &mut impl MatTrait, output_text: &mut String, component_rects: &mut Vector<Rect>, component_texts: &mut Vector<String>, component_confidences: &mut Vector<f32>, component_level: i32, ) -> Result<()>

C++ default parameters Read more
Source§

fn run_mask_def( &mut self, image: &mut impl MatTrait, mask: &mut impl MatTrait, output_text: &mut String, ) -> Result<()>

Source§

impl BaseOCRTrait for BoxedRefMut<'_, OCRBeamSearchDecoder>

Source§

fn as_raw_mut_BaseOCR( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn run( &mut self, image: &mut impl MatTrait, output_text: &mut String, component_rects: &mut Vector<Rect>, component_texts: &mut Vector<String>, component_confidences: &mut Vector<f32>, component_level: i32, ) -> Result<()>

C++ default parameters Read more
Source§

fn run_def( &mut self, image: &mut impl MatTrait, output_text: &mut String, ) -> Result<()>

Source§

fn run_mask( &mut self, image: &mut impl MatTrait, mask: &mut impl MatTrait, output_text: &mut String, component_rects: &mut Vector<Rect>, component_texts: &mut Vector<String>, component_confidences: &mut Vector<f32>, component_level: i32, ) -> Result<()>

C++ default parameters Read more
Source§

fn run_mask_def( &mut self, image: &mut impl MatTrait, mask: &mut impl MatTrait, output_text: &mut String, ) -> Result<()>

Source§

impl BaseOCRTrait for BoxedRefMut<'_, OCRHMMDecoder>

Source§

fn as_raw_mut_BaseOCR( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn run( &mut self, image: &mut impl MatTrait, output_text: &mut String, component_rects: &mut Vector<Rect>, component_texts: &mut Vector<String>, component_confidences: &mut Vector<f32>, component_level: i32, ) -> Result<()>

C++ default parameters Read more
Source§

fn run_def( &mut self, image: &mut impl MatTrait, output_text: &mut String, ) -> Result<()>

Source§

fn run_mask( &mut self, image: &mut impl MatTrait, mask: &mut impl MatTrait, output_text: &mut String, component_rects: &mut Vector<Rect>, component_texts: &mut Vector<String>, component_confidences: &mut Vector<f32>, component_level: i32, ) -> Result<()>

C++ default parameters Read more
Source§

fn run_mask_def( &mut self, image: &mut impl MatTrait, mask: &mut impl MatTrait, output_text: &mut String, ) -> Result<()>

Source§

impl BaseOCRTrait for BoxedRefMut<'_, OCRHolisticWordRecognizer>

Source§

fn as_raw_mut_BaseOCR( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn run( &mut self, image: &mut impl MatTrait, output_text: &mut String, component_rects: &mut Vector<Rect>, component_texts: &mut Vector<String>, component_confidences: &mut Vector<f32>, component_level: i32, ) -> Result<()>

C++ default parameters Read more
Source§

fn run_def( &mut self, image: &mut impl MatTrait, output_text: &mut String, ) -> Result<()>

Source§

fn run_mask( &mut self, image: &mut impl MatTrait, mask: &mut impl MatTrait, output_text: &mut String, component_rects: &mut Vector<Rect>, component_texts: &mut Vector<String>, component_confidences: &mut Vector<f32>, component_level: i32, ) -> Result<()>

C++ default parameters Read more
Source§

fn run_mask_def( &mut self, image: &mut impl MatTrait, mask: &mut impl MatTrait, output_text: &mut String, ) -> Result<()>

Source§

impl BaseOCRTrait for BoxedRefMut<'_, OCRTesseract>

Source§

fn as_raw_mut_BaseOCR( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn run( &mut self, image: &mut impl MatTrait, output_text: &mut String, component_rects: &mut Vector<Rect>, component_texts: &mut Vector<String>, component_confidences: &mut Vector<f32>, component_level: i32, ) -> Result<()>

C++ default parameters Read more
Source§

fn run_def( &mut self, image: &mut impl MatTrait, output_text: &mut String, ) -> Result<()>

Source§

fn run_mask( &mut self, image: &mut impl MatTrait, mask: &mut impl MatTrait, output_text: &mut String, component_rects: &mut Vector<Rect>, component_texts: &mut Vector<String>, component_confidences: &mut Vector<f32>, component_level: i32, ) -> Result<()>

C++ default parameters Read more
Source§

fn run_mask_def( &mut self, image: &mut impl MatTrait, mask: &mut impl MatTrait, output_text: &mut String, ) -> Result<()>

Source§

impl BaseOCRTraitConst for BoxedRefMut<'_, BaseOCR>

Source§

fn as_raw_BaseOCR(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl BaseOCRTraitConst for BoxedRefMut<'_, OCRBeamSearchDecoder>

Source§

fn as_raw_BaseOCR(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl BaseOCRTraitConst for BoxedRefMut<'_, OCRHMMDecoder>

Source§

fn as_raw_BaseOCR(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl BaseOCRTraitConst for BoxedRefMut<'_, OCRHolisticWordRecognizer>

Source§

fn as_raw_BaseOCR(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl BaseOCRTraitConst for BoxedRefMut<'_, OCRTesseract>

Source§

fn as_raw_BaseOCR(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl BaseSFMTrait for BoxedRefMut<'_, BaseSFM>

Source§

fn as_raw_mut_BaseSFM( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn run(&mut self, points2d: &impl ToInputArray) -> Result<()>

Source§

fn run_1( &mut self, points2d: &impl ToInputArray, k: &mut impl ToInputOutputArray, rs: &mut impl ToOutputArray, ts: &mut impl ToOutputArray, points3d: &mut impl ToOutputArray, ) -> Result<()>

Source§

fn run_2(&mut self, images: &Vector<String>) -> Result<()>

Source§

fn run_3( &mut self, images: &Vector<String>, k: &mut impl ToInputOutputArray, rs: &mut impl ToOutputArray, ts: &mut impl ToOutputArray, points3d: &mut impl ToOutputArray, ) -> Result<()>

Source§

fn get_points(&mut self, points3d: &mut impl ToOutputArray) -> Result<()>

Source§

fn get_cameras( &mut self, rs: &mut impl ToOutputArray, ts: &mut impl ToOutputArray, ) -> Result<()>

Source§

fn set_reconstruction_options( &mut self, libmv_reconstruction_options: libmv_ReconstructionOptions, ) -> Result<()>

Source§

fn set_camera_intrinsic_options( &mut self, libmv_camera_intrinsics_options: libmv_CameraIntrinsicsOptions, ) -> Result<()>

Source§

impl BaseSFMTrait for BoxedRefMut<'_, SFMLibmvEuclideanReconstruction>

Source§

fn as_raw_mut_BaseSFM( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn run(&mut self, points2d: &impl ToInputArray) -> Result<()>

Source§

fn run_1( &mut self, points2d: &impl ToInputArray, k: &mut impl ToInputOutputArray, rs: &mut impl ToOutputArray, ts: &mut impl ToOutputArray, points3d: &mut impl ToOutputArray, ) -> Result<()>

Source§

fn run_2(&mut self, images: &Vector<String>) -> Result<()>

Source§

fn run_3( &mut self, images: &Vector<String>, k: &mut impl ToInputOutputArray, rs: &mut impl ToOutputArray, ts: &mut impl ToOutputArray, points3d: &mut impl ToOutputArray, ) -> Result<()>

Source§

fn get_points(&mut self, points3d: &mut impl ToOutputArray) -> Result<()>

Source§

fn get_cameras( &mut self, rs: &mut impl ToOutputArray, ts: &mut impl ToOutputArray, ) -> Result<()>

Source§

fn set_reconstruction_options( &mut self, libmv_reconstruction_options: libmv_ReconstructionOptions, ) -> Result<()>

Source§

fn set_camera_intrinsic_options( &mut self, libmv_camera_intrinsics_options: libmv_CameraIntrinsicsOptions, ) -> Result<()>

Source§

impl BaseSFMTraitConst for BoxedRefMut<'_, BaseSFM>

Source§

fn as_raw_BaseSFM(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_error(&self) -> Result<f64>

Source§

fn get_intrinsics(&self) -> Result<Mat>

Source§

impl BaseSFMTraitConst for BoxedRefMut<'_, SFMLibmvEuclideanReconstruction>

Source§

fn as_raw_BaseSFM(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_error(&self) -> Result<f64>

Source§

fn get_intrinsics(&self) -> Result<Mat>

Source§

impl BasicFaceRecognizerTrait for BoxedRefMut<'_, BasicFaceRecognizer>

Source§

fn as_raw_mut_BasicFaceRecognizer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_num_components(&mut self, val: i32) -> Result<()>

See also Read more
Source§

fn set_threshold(&mut self, val: f64) -> Result<()>

See also Read more
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Source§

impl BasicFaceRecognizerTrait for BoxedRefMut<'_, EigenFaceRecognizer>

Source§

fn as_raw_mut_BasicFaceRecognizer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_num_components(&mut self, val: i32) -> Result<()>

See also Read more
Source§

fn set_threshold(&mut self, val: f64) -> Result<()>

See also Read more
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Source§

impl BasicFaceRecognizerTrait for BoxedRefMut<'_, FisherFaceRecognizer>

Source§

fn as_raw_mut_BasicFaceRecognizer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_num_components(&mut self, val: i32) -> Result<()>

See also Read more
Source§

fn set_threshold(&mut self, val: f64) -> Result<()>

See also Read more
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Source§

impl BasicFaceRecognizerTraitConst for BoxedRefMut<'_, BasicFaceRecognizer>

Source§

fn as_raw_BasicFaceRecognizer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_num_components(&self) -> Result<i32>

See also Read more
Source§

fn get_threshold(&self) -> Result<f64>

See also Read more
Source§

fn get_projections(&self) -> Result<Vector<Mat>>

Source§

fn get_labels(&self) -> Result<Mat>

Source§

fn get_eigen_values(&self) -> Result<Mat>

Source§

fn get_eigen_vectors(&self) -> Result<Mat>

Source§

fn get_mean(&self) -> Result<Mat>

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Source§

fn empty(&self) -> Result<bool>

Source§

impl BasicFaceRecognizerTraitConst for BoxedRefMut<'_, EigenFaceRecognizer>

Source§

fn as_raw_BasicFaceRecognizer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_num_components(&self) -> Result<i32>

See also Read more
Source§

fn get_threshold(&self) -> Result<f64>

See also Read more
Source§

fn get_projections(&self) -> Result<Vector<Mat>>

Source§

fn get_labels(&self) -> Result<Mat>

Source§

fn get_eigen_values(&self) -> Result<Mat>

Source§

fn get_eigen_vectors(&self) -> Result<Mat>

Source§

fn get_mean(&self) -> Result<Mat>

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Source§

fn empty(&self) -> Result<bool>

Source§

impl BasicFaceRecognizerTraitConst for BoxedRefMut<'_, FisherFaceRecognizer>

Source§

fn as_raw_BasicFaceRecognizer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_num_components(&self) -> Result<i32>

See also Read more
Source§

fn get_threshold(&self) -> Result<f64>

See also Read more
Source§

fn get_projections(&self) -> Result<Vector<Mat>>

Source§

fn get_labels(&self) -> Result<Mat>

Source§

fn get_eigen_values(&self) -> Result<Mat>

Source§

fn get_eigen_vectors(&self) -> Result<Mat>

Source§

fn get_mean(&self) -> Result<Mat>

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Source§

fn empty(&self) -> Result<bool>

Source§

impl BatchNormLayerInt8Trait for BoxedRefMut<'_, BatchNormLayerInt8>

Source§

fn as_raw_mut_BatchNormLayerInt8( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_input_sc(&mut self, val: f32)

Source§

fn set_output_sc(&mut self, val: f32)

Source§

fn set_input_zp(&mut self, val: i32)

Source§

fn set_output_zp(&mut self, val: i32)

Source§

impl BatchNormLayerInt8TraitConst for BoxedRefMut<'_, BatchNormLayerInt8>

Source§

fn as_raw_BatchNormLayerInt8( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn input_sc(&self) -> f32

Source§

fn output_sc(&self) -> f32

Source§

fn input_zp(&self) -> i32

Source§

fn output_zp(&self) -> i32

Source§

impl BatchNormLayerTrait for BoxedRefMut<'_, BatchNormLayer>

Source§

fn as_raw_mut_BatchNormLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_has_weights(&mut self, val: bool)

Source§

fn set_has_bias(&mut self, val: bool)

Source§

fn set_epsilon(&mut self, val: f32)

Source§

impl BatchNormLayerTrait for BoxedRefMut<'_, BatchNormLayerInt8>

Source§

fn as_raw_mut_BatchNormLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_has_weights(&mut self, val: bool)

Source§

fn set_has_bias(&mut self, val: bool)

Source§

fn set_epsilon(&mut self, val: f32)

Source§

impl BatchNormLayerTraitConst for BoxedRefMut<'_, BatchNormLayer>

Source§

fn as_raw_BatchNormLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn has_weights(&self) -> bool

Source§

fn has_bias(&self) -> bool

Source§

fn epsilon(&self) -> f32

Source§

impl BatchNormLayerTraitConst for BoxedRefMut<'_, BatchNormLayerInt8>

Source§

fn as_raw_BatchNormLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn has_weights(&self) -> bool

Source§

fn has_bias(&self) -> bool

Source§

fn epsilon(&self) -> f32

Source§

impl BinaryDescriptorMatcherTrait for BoxedRefMut<'_, BinaryDescriptorMatcher>

Source§

fn as_raw_mut_BinaryDescriptorMatcher( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn match_query( &mut self, query_descriptors: &impl MatTraitConst, matches: &mut Vector<DMatch>, masks: &Vector<Mat>, ) -> Result<()>

For every input query descriptor, retrieve the best matching one from a dataset provided from user or from the one internal to class Read more
Source§

fn match_query_def( &mut self, query_descriptors: &impl MatTraitConst, matches: &mut Vector<DMatch>, ) -> Result<()>

@overload Read more
Source§

fn knn_match_query( &mut self, query_descriptors: &impl MatTraitConst, matches: &mut Vector<Vector<DMatch>>, k: i32, masks: &Vector<Mat>, compact_result: bool, ) -> Result<()>

For every input query descriptor, retrieve the best k matching ones from a dataset provided from user or from the one internal to class Read more
Source§

fn knn_match_query_def( &mut self, query_descriptors: &impl MatTraitConst, matches: &mut Vector<Vector<DMatch>>, k: i32, ) -> Result<()>

@overload Read more
Source§

fn radius_match_1( &mut self, query_descriptors: &impl MatTraitConst, matches: &mut Vector<Vector<DMatch>>, max_distance: f32, masks: &Vector<Mat>, compact_result: bool, ) -> Result<()>

For every input query descriptor, retrieve, from a dataset provided from user or from the one internal to class, all the descriptors that are not further than maxDist from input query Read more
Source§

fn radius_match_def_1( &mut self, query_descriptors: &impl MatTraitConst, matches: &mut Vector<Vector<DMatch>>, max_distance: f32, ) -> Result<()>

@overload Read more
Source§

fn add(&mut self, descriptors: &Vector<Mat>) -> Result<()>

Store locally new descriptors to be inserted in dataset, without updating dataset. Read more
Source§

fn train(&mut self) -> Result<()>

Update dataset by inserting into it all descriptors that were stored locally by add function. Read more
Source§

fn clear(&mut self) -> Result<()>

Clear dataset and internal data
Source§

impl BinaryDescriptorMatcherTraitConst for BoxedRefMut<'_, BinaryDescriptorMatcher>

Source§

fn as_raw_BinaryDescriptorMatcher( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn match_( &self, query_descriptors: &impl MatTraitConst, train_descriptors: &impl MatTraitConst, matches: &mut Vector<DMatch>, mask: &impl MatTraitConst, ) -> Result<()>

For every input query descriptor, retrieve the best matching one from a dataset provided from user or from the one internal to class Read more
Source§

fn match__def( &self, query_descriptors: &impl MatTraitConst, train_descriptors: &impl MatTraitConst, matches: &mut Vector<DMatch>, ) -> Result<()>

For every input query descriptor, retrieve the best matching one from a dataset provided from user or from the one internal to class Read more
Source§

fn knn_match( &self, query_descriptors: &impl MatTraitConst, train_descriptors: &impl MatTraitConst, matches: &mut Vector<Vector<DMatch>>, k: i32, mask: &impl MatTraitConst, compact_result: bool, ) -> Result<()>

For every input query descriptor, retrieve the best k matching ones from a dataset provided from user or from the one internal to class Read more
Source§

fn knn_match_def( &self, query_descriptors: &impl MatTraitConst, train_descriptors: &impl MatTraitConst, matches: &mut Vector<Vector<DMatch>>, k: i32, ) -> Result<()>

For every input query descriptor, retrieve the best k matching ones from a dataset provided from user or from the one internal to class Read more
Source§

fn radius_match( &self, query_descriptors: &impl MatTraitConst, train_descriptors: &impl MatTraitConst, matches: &mut Vector<Vector<DMatch>>, max_distance: f32, mask: &impl MatTraitConst, compact_result: bool, ) -> Result<()>

For every input query descriptor, retrieve, from a dataset provided from user or from the one internal to class, all the descriptors that are not further than maxDist from input query Read more
Source§

fn radius_match_def( &self, query_descriptors: &impl MatTraitConst, train_descriptors: &impl MatTraitConst, matches: &mut Vector<Vector<DMatch>>, max_distance: f32, ) -> Result<()>

For every input query descriptor, retrieve, from a dataset provided from user or from the one internal to class, all the descriptors that are not further than maxDist from input query Read more
Source§

impl BinaryDescriptorTrait for BoxedRefMut<'_, BinaryDescriptor>

Source§

fn as_raw_mut_BinaryDescriptor( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn get_num_of_octaves(&mut self) -> Result<i32>

Get current number of octaves
Source§

fn set_num_of_octaves(&mut self, octaves: i32) -> Result<()>

Set number of octaves Read more
Source§

fn get_width_of_band(&mut self) -> Result<i32>

Get current width of bands
Source§

fn set_width_of_band(&mut self, width: i32) -> Result<()>

Set width of bands Read more
Source§

fn get_reduction_ratio(&mut self) -> Result<i32>

Get current reduction ratio (used in Gaussian pyramids)
Source§

fn set_reduction_ratio(&mut self, r_ratio: i32) -> Result<()>

Set reduction ratio (used in Gaussian pyramids) Read more
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Read parameters from a FileNode object and store them Read more
Source§

fn detect_1( &mut self, image: &impl MatTraitConst, keypoints: &mut Vector<KeyLine>, mask: &impl MatTraitConst, ) -> Result<()>

Requires line detection Read more
Source§

fn detect_def_1( &mut self, image: &impl MatTraitConst, keypoints: &mut Vector<KeyLine>, ) -> Result<()>

Requires line detection Read more
Source§

impl BinaryDescriptorTraitConst for BoxedRefMut<'_, BinaryDescriptor>

Source§

fn as_raw_BinaryDescriptor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Store parameters to a FileStorage object Read more
Source§

fn detect( &self, images: &Vector<Mat>, keylines: &mut Vector<Vector<KeyLine>>, masks: &Vector<Mat>, ) -> Result<()>

Requires line detection Read more
Source§

fn detect_def( &self, images: &Vector<Mat>, keylines: &mut Vector<Vector<KeyLine>>, ) -> Result<()>

@overload Read more
Source§

fn compute( &self, image: &impl MatTraitConst, keylines: &mut Vector<KeyLine>, descriptors: &mut impl MatTrait, return_float_descr: bool, ) -> Result<()>

Requires descriptors computation Read more
Source§

fn compute_def( &self, image: &impl MatTraitConst, keylines: &mut Vector<KeyLine>, descriptors: &mut impl MatTrait, ) -> Result<()>

Requires descriptors computation Read more
Source§

fn compute_1( &self, images: &Vector<Mat>, keylines: &mut Vector<Vector<KeyLine>>, descriptors: &mut Vector<Mat>, return_float_descr: bool, ) -> Result<()>

Requires descriptors computation Read more
Source§

fn compute_def_1( &self, images: &Vector<Mat>, keylines: &mut Vector<Vector<KeyLine>>, descriptors: &mut Vector<Mat>, ) -> Result<()>

@overload Read more
Source§

fn descriptor_size(&self) -> Result<i32>

Return descriptor size
Source§

fn descriptor_type(&self) -> Result<i32>

Return data type
Source§

fn default_norm(&self) -> Result<i32>

returns norm mode
Source§

fn apply( &self, image: &impl ToInputArray, mask: &impl ToInputArray, keylines: &mut Vector<KeyLine>, descriptors: &mut impl ToOutputArray, use_provided_key_lines: bool, return_float_descr: bool, ) -> Result<()>

Define operator ‘()’ to perform detection of KeyLines and computation of descriptors in a row. Read more
Source§

fn apply_def( &self, image: &impl ToInputArray, mask: &impl ToInputArray, keylines: &mut Vector<KeyLine>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Define operator ‘()’ to perform detection of KeyLines and computation of descriptors in a row. Read more
Source§

impl BinaryDescriptor_ParamsTrait for BoxedRefMut<'_, BinaryDescriptor_Params>

Source§

fn as_raw_mut_BinaryDescriptor_Params( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_num_of_octave_(&mut self, val: i32)

the number of image octaves (default = 1)
Source§

fn set_width_of_band_(&mut self, val: i32)

the width of band; (default: 7)
Source§

fn set_reduction_ratio(&mut self, val: i32)

image’s reduction ratio in construction of Gaussian pyramids
Source§

fn set_ksize_(&mut self, val: i32)

Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

read parameters from a FileNode object and store them (struct function)
Source§

impl BinaryDescriptor_ParamsTraitConst for BoxedRefMut<'_, BinaryDescriptor_Params>

Source§

fn as_raw_BinaryDescriptor_Params( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn num_of_octave_(&self) -> i32

the number of image octaves (default = 1)
Source§

fn width_of_band_(&self) -> i32

the width of band; (default: 7)
Source§

fn reduction_ratio(&self) -> i32

image’s reduction ratio in construction of Gaussian pyramids
Source§

fn ksize_(&self) -> i32

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

store parameters to a FileStorage object (struct function)
Source§

impl BlankLayerTrait for BoxedRefMut<'_, BlankLayer>

Source§

fn as_raw_mut_BlankLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl BlankLayerTraitConst for BoxedRefMut<'_, BlankLayer>

Source§

fn as_raw_BlankLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl BlockMeanHashTrait for BoxedRefMut<'_, BlockMeanHash>

Source§

fn as_raw_mut_BlockMeanHash( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_mode(&mut self, mode: i32) -> Result<()>

Create BlockMeanHash object Read more
Source§

impl BlockMeanHashTraitConst for BoxedRefMut<'_, BlockMeanHash>

Source§

fn as_raw_BlockMeanHash( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_mean(&self) -> Result<Vector<f64>>

Source§

impl BoardTrait for BoxedRefMut<'_, Board>

Source§

fn as_raw_mut_Board( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl BoardTrait for BoxedRefMut<'_, CharucoBoard>

Source§

fn as_raw_mut_Board( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl BoardTrait for BoxedRefMut<'_, GridBoard>

Source§

fn as_raw_mut_Board( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl BoardTraitConst for BoxedRefMut<'_, Board>

Source§

fn as_raw_Board(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_dictionary(&self) -> Result<Dictionary>

return the Dictionary of markers employed for this board
Source§

fn get_obj_points(&self) -> Result<Vector<Vector<Point3f>>>

return array of object points of all the marker corners in the board. Read more
Source§

fn get_ids(&self) -> Result<Vector<i32>>

vector of the identifiers of the markers in the board (should be the same size as objPoints) Read more
Source§

fn get_right_bottom_corner(&self) -> Result<Point3f>

get coordinate of the bottom right corner of the board, is set when calling the function create()
Source§

fn match_image_points( &self, detected_corners: &impl ToInputArray, detected_ids: &impl ToInputArray, obj_points: &mut impl ToOutputArray, img_points: &mut impl ToOutputArray, ) -> Result<()>

Given a board configuration and a set of detected markers, returns the corresponding image points and object points, can be used in solvePnP() Read more
Source§

fn generate_image( &self, out_size: Size, img: &mut impl ToOutputArray, margin_size: i32, border_bits: i32, ) -> Result<()>

Draw a planar board Read more
Source§

fn generate_image_def( &self, out_size: Size, img: &mut impl ToOutputArray, ) -> Result<()>

Draw a planar board Read more
Source§

impl BoardTraitConst for BoxedRefMut<'_, CharucoBoard>

Source§

fn as_raw_Board(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_dictionary(&self) -> Result<Dictionary>

return the Dictionary of markers employed for this board
Source§

fn get_obj_points(&self) -> Result<Vector<Vector<Point3f>>>

return array of object points of all the marker corners in the board. Read more
Source§

fn get_ids(&self) -> Result<Vector<i32>>

vector of the identifiers of the markers in the board (should be the same size as objPoints) Read more
Source§

fn get_right_bottom_corner(&self) -> Result<Point3f>

get coordinate of the bottom right corner of the board, is set when calling the function create()
Source§

fn match_image_points( &self, detected_corners: &impl ToInputArray, detected_ids: &impl ToInputArray, obj_points: &mut impl ToOutputArray, img_points: &mut impl ToOutputArray, ) -> Result<()>

Given a board configuration and a set of detected markers, returns the corresponding image points and object points, can be used in solvePnP() Read more
Source§

fn generate_image( &self, out_size: Size, img: &mut impl ToOutputArray, margin_size: i32, border_bits: i32, ) -> Result<()>

Draw a planar board Read more
Source§

fn generate_image_def( &self, out_size: Size, img: &mut impl ToOutputArray, ) -> Result<()>

Draw a planar board Read more
Source§

impl BoardTraitConst for BoxedRefMut<'_, GridBoard>

Source§

fn as_raw_Board(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_dictionary(&self) -> Result<Dictionary>

return the Dictionary of markers employed for this board
Source§

fn get_obj_points(&self) -> Result<Vector<Vector<Point3f>>>

return array of object points of all the marker corners in the board. Read more
Source§

fn get_ids(&self) -> Result<Vector<i32>>

vector of the identifiers of the markers in the board (should be the same size as objPoints) Read more
Source§

fn get_right_bottom_corner(&self) -> Result<Point3f>

get coordinate of the bottom right corner of the board, is set when calling the function create()
Source§

fn match_image_points( &self, detected_corners: &impl ToInputArray, detected_ids: &impl ToInputArray, obj_points: &mut impl ToOutputArray, img_points: &mut impl ToOutputArray, ) -> Result<()>

Given a board configuration and a set of detected markers, returns the corresponding image points and object points, can be used in solvePnP() Read more
Source§

fn generate_image( &self, out_size: Size, img: &mut impl ToOutputArray, margin_size: i32, border_bits: i32, ) -> Result<()>

Draw a planar board Read more
Source§

fn generate_image_def( &self, out_size: Size, img: &mut impl ToOutputArray, ) -> Result<()>

Draw a planar board Read more
Source§

impl BoostDescTrait for BoxedRefMut<'_, BoostDesc>

Source§

fn as_raw_mut_BoostDesc( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_use_scale_orientation( &mut self, use_scale_orientation: bool, ) -> Result<()>

Source§

fn set_scale_factor(&mut self, scale_factor: f32) -> Result<()>

Source§

impl BoostDescTraitConst for BoxedRefMut<'_, BoostDesc>

Source§

fn as_raw_BoostDesc(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_default_name(&self) -> Result<String>

Source§

fn get_use_scale_orientation(&self) -> Result<bool>

Source§

fn get_scale_factor(&self) -> Result<f32>

Source§

impl BoostTrait for BoxedRefMut<'_, Boost>

Source§

fn as_raw_mut_Boost( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_boost_type(&mut self, val: i32) -> Result<()>

Type of the boosting algorithm. See Boost::Types. Default value is Boost::REAL. Read more
Source§

fn set_weak_count(&mut self, val: i32) -> Result<()>

The number of weak classifiers. Default value is 100. Read more
Source§

fn set_weight_trim_rate(&mut self, val: f64) -> Result<()>

A threshold between 0 and 1 used to save computational time. Samples with summary weight inline formula do not participate in the next iteration of training. Set this parameter to 0 to turn off this functionality. Default value is 0.95. Read more
Source§

impl BoostTraitConst for BoxedRefMut<'_, Boost>

Source§

fn as_raw_Boost(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_boost_type(&self) -> Result<i32>

Type of the boosting algorithm. See Boost::Types. Default value is Boost::REAL. Read more
Source§

fn get_weak_count(&self) -> Result<i32>

The number of weak classifiers. Default value is 100. Read more
Source§

fn get_weight_trim_rate(&self) -> Result<f64>

A threshold between 0 and 1 used to save computational time. Samples with summary weight inline formula do not participate in the next iteration of training. Set this parameter to 0 to turn off this functionality. Default value is 0.95. Read more
Source§

impl BriefDescriptorExtractorTrait for BoxedRefMut<'_, BriefDescriptorExtractor>

Source§

fn as_raw_mut_BriefDescriptorExtractor( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_descriptor_size(&mut self, bytes: i32) -> Result<()>

Source§

fn set_use_orientation(&mut self, use_orientation: bool) -> Result<()>

Source§

impl BriefDescriptorExtractorTraitConst for BoxedRefMut<'_, BriefDescriptorExtractor>

Source§

fn as_raw_BriefDescriptorExtractor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_descriptor_size(&self) -> Result<i32>

Source§

fn get_use_orientation(&self) -> Result<bool>

Source§

fn get_default_name(&self) -> Result<String>

Source§

impl BufferPoolTrait for BoxedRefMut<'_, BufferPool>

Source§

fn as_raw_mut_BufferPool( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn get_buffer(&mut self, rows: i32, cols: i32, typ: i32) -> Result<GpuMat>

Allocates a new GpuMat of given size and type.
Source§

fn get_buffer_1(&mut self, size: Size, typ: i32) -> Result<GpuMat>

Allocates a new GpuMat of given size and type.
Source§

impl BufferPoolTraitConst for BoxedRefMut<'_, BufferPool>

Source§

fn as_raw_BufferPool(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_allocator(&self) -> Result<Ptr<GpuMat_Allocator>>

Returns the allocator associated with the stream.
Source§

impl BufferTrait for BoxedRefMut<'_, Buffer>

Source§

fn as_raw_mut_Buffer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn create( &mut self, arows: i32, acols: i32, atype: i32, target: Buffer_Target, auto_release: bool, ) -> Result<()>

Allocates memory for ogl::Buffer object. Read more
Source§

fn create_def(&mut self, arows: i32, acols: i32, atype: i32) -> Result<()>

Allocates memory for ogl::Buffer object. Read more
Source§

fn create_size( &mut self, asize: Size, atype: i32, target: Buffer_Target, auto_release: bool, ) -> Result<()>

Allocates memory for ogl::Buffer object. Read more
Source§

fn create_size_def(&mut self, asize: Size, atype: i32) -> Result<()>

@overload Read more
Source§

fn release(&mut self) -> Result<()>

Decrements the reference counter and destroys the buffer object if needed. Read more
Source§

fn set_auto_release(&mut self, flag: bool) -> Result<()>

Sets auto release mode. Read more
Source§

fn copy_from( &mut self, arr: &impl ToInputArray, target: Buffer_Target, auto_release: bool, ) -> Result<()>

Copies from host/device memory to OpenGL buffer. Read more
Source§

fn copy_from_def(&mut self, arr: &impl ToInputArray) -> Result<()>

Copies from host/device memory to OpenGL buffer. Read more
Source§

fn copy_from_1( &mut self, arr: &impl ToInputArray, stream: &mut impl StreamTrait, target: Buffer_Target, auto_release: bool, ) -> Result<()>

Copies from host/device memory to OpenGL buffer. Read more
Source§

fn copy_from_def_1( &mut self, arr: &impl ToInputArray, stream: &mut impl StreamTrait, ) -> Result<()>

@overload Read more
Source§

fn map_host(&mut self, access: Buffer_Access) -> Result<Mat>

Maps OpenGL buffer to host memory. Read more
Source§

fn unmap_host(&mut self) -> Result<()>

Unmaps OpenGL buffer.
Source§

fn map_device(&mut self) -> Result<GpuMat>

map to device memory (blocking)
Source§

fn unmap_device(&mut self) -> Result<()>

Source§

fn map_device_1(&mut self, stream: &mut impl StreamTrait) -> Result<GpuMat>

Maps OpenGL buffer to CUDA device memory. Read more
Source§

fn unmap_device_1(&mut self, stream: &mut impl StreamTrait) -> Result<()>

Unmaps OpenGL buffer.
Source§

impl BufferTraitConst for BoxedRefMut<'_, Buffer>

Source§

fn as_raw_Buffer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn copy_to(&self, arr: &mut impl ToOutputArray) -> Result<()>

Copies from OpenGL buffer to host/device memory or another OpenGL buffer object. Read more
Source§

fn copy_to_1( &self, arr: &mut impl ToOutputArray, stream: &mut impl StreamTrait, ) -> Result<()>

Copies from OpenGL buffer to host/device memory or another OpenGL buffer object. Read more
Source§

fn clone(&self, target: Buffer_Target, auto_release: bool) -> Result<Buffer>

Creates a full copy of the buffer object and the underlying data. Read more
Source§

fn clone_def(&self) -> Result<Buffer>

Creates a full copy of the buffer object and the underlying data. Read more
Source§

fn bind(&self, target: Buffer_Target) -> Result<()>

Binds OpenGL buffer to the specified buffer binding point. Read more
Source§

fn rows(&self) -> Result<i32>

Source§

fn cols(&self) -> Result<i32>

Source§

fn size(&self) -> Result<Size>

Source§

fn empty(&self) -> Result<bool>

Source§

fn typ(&self) -> Result<i32>

Source§

fn depth(&self) -> Result<i32>

Source§

fn channels(&self) -> Result<i32>

Source§

fn elem_size(&self) -> Result<i32>

Source§

fn elem_size1(&self) -> Result<i32>

Source§

fn buf_id(&self) -> Result<u32>

get OpenGL opject id
Source§

impl CLAHETrait for BoxedRefMut<'_, CLAHE>

Source§

fn as_raw_mut_CLAHE( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn apply( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, ) -> Result<()>

Equalizes the histogram of a grayscale image using Contrast Limited Adaptive Histogram Equalization. Read more
Source§

fn set_clip_limit(&mut self, clip_limit: f64) -> Result<()>

Sets threshold for contrast limiting. Read more
Source§

fn set_tiles_grid_size(&mut self, tile_grid_size: Size) -> Result<()>

Sets size of grid for histogram equalization. Input image will be divided into equally sized rectangular tiles. Read more
Source§

fn collect_garbage(&mut self) -> Result<()>

Source§

impl CLAHETrait for BoxedRefMut<'_, CUDA_CLAHE>

Source§

fn as_raw_mut_CLAHE( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn apply( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, ) -> Result<()>

Equalizes the histogram of a grayscale image using Contrast Limited Adaptive Histogram Equalization. Read more
Source§

fn set_clip_limit(&mut self, clip_limit: f64) -> Result<()>

Sets threshold for contrast limiting. Read more
Source§

fn set_tiles_grid_size(&mut self, tile_grid_size: Size) -> Result<()>

Sets size of grid for histogram equalization. Input image will be divided into equally sized rectangular tiles. Read more
Source§

fn collect_garbage(&mut self) -> Result<()>

Source§

impl CLAHETraitConst for BoxedRefMut<'_, CLAHE>

Source§

fn as_raw_CLAHE(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_clip_limit(&self) -> Result<f64>

Returns threshold value for contrast limiting.
Source§

fn get_tiles_grid_size(&self) -> Result<Size>

Returns Size defines the number of tiles in row and column.
Source§

impl CLAHETraitConst for BoxedRefMut<'_, CUDA_CLAHE>

Source§

fn as_raw_CLAHE(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_clip_limit(&self) -> Result<f64>

Returns threshold value for contrast limiting.
Source§

fn get_tiles_grid_size(&self) -> Result<Size>

Returns Size defines the number of tiles in row and column.
Source§

impl CParamsTrait for BoxedRefMut<'_, CParams>

Source§

fn as_raw_mut_CParams( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

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

the face detector
Source§

fn set_scale_factor(&mut self, val: f64)

Parameter specifying how much the image size is reduced at each image scale.
Source§

fn set_min_neighbors(&mut self, val: i32)

Parameter specifying how many neighbors each candidate rectangle should have to retain it.
Source§

fn set_min_size(&mut self, val: Size)

Minimum possible object size.
Source§

fn set_max_size(&mut self, val: Size)

Maximum possible object size.
Source§

fn set_face_cascade(&mut self, val: CascadeClassifier)

Source§

impl CParamsTraitConst for BoxedRefMut<'_, CParams>

Source§

fn as_raw_CParams(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn cascade(&self) -> String

the face detector
Source§

fn scale_factor(&self) -> f64

Parameter specifying how much the image size is reduced at each image scale.
Source§

fn min_neighbors(&self) -> i32

Parameter specifying how many neighbors each candidate rectangle should have to retain it.
Source§

fn min_size(&self) -> Size

Minimum possible object size.
Source§

fn max_size(&self) -> Size

Maximum possible object size.
Source§

fn face_cascade(&self) -> CascadeClassifier

Source§

impl CUDA_BackgroundSubtractorFGDTrait for BoxedRefMut<'_, CUDA_BackgroundSubtractorFGD>

Source§

fn as_raw_mut_CUDA_BackgroundSubtractorFGD( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn get_foreground_regions( &mut self, foreground_regions: &mut impl ToOutputArray, ) -> Result<()>

Returns the output foreground regions calculated by findContours. Read more
Source§

impl CUDA_BackgroundSubtractorFGDTraitConst for BoxedRefMut<'_, CUDA_BackgroundSubtractorFGD>

Source§

fn as_raw_CUDA_BackgroundSubtractorFGD( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl CUDA_BackgroundSubtractorGMGTrait for BoxedRefMut<'_, CUDA_BackgroundSubtractorGMG>

Source§

fn as_raw_mut_CUDA_BackgroundSubtractorGMG( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn apply( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray, learning_rate: f64, stream: &mut impl StreamTrait, ) -> Result<()>

Source§

fn set_max_features(&mut self, max_features: i32) -> Result<()>

Source§

fn set_default_learning_rate(&mut self, lr: f64) -> Result<()>

Source§

fn set_num_frames(&mut self, nframes: i32) -> Result<()>

Source§

fn set_quantization_levels(&mut self, nlevels: i32) -> Result<()>

Source§

fn set_background_prior(&mut self, bgprior: f64) -> Result<()>

Source§

fn set_smoothing_radius(&mut self, radius: i32) -> Result<()>

Source§

fn set_decision_threshold(&mut self, thresh: f64) -> Result<()>

Source§

fn set_update_background_model(&mut self, update: bool) -> Result<()>

Source§

fn set_min_val(&mut self, val: f64) -> Result<()>

Source§

fn set_max_val(&mut self, val: f64) -> Result<()>

Source§

impl CUDA_BackgroundSubtractorGMGTraitConst for BoxedRefMut<'_, CUDA_BackgroundSubtractorGMG>

Source§

impl CUDA_BackgroundSubtractorMOG2Trait for BoxedRefMut<'_, CUDA_BackgroundSubtractorMOG2>

Source§

fn as_raw_mut_CUDA_BackgroundSubtractorMOG2( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn apply( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray, learning_rate: f64, stream: &mut impl StreamTrait, ) -> Result<()>

Source§

fn get_background_image_1( &mut self, background_image: &mut impl GpuMatTrait, stream: &mut impl StreamTrait, ) -> Result<()>

Source§

impl CUDA_BackgroundSubtractorMOG2TraitConst for BoxedRefMut<'_, CUDA_BackgroundSubtractorMOG2>

Source§

fn as_raw_CUDA_BackgroundSubtractorMOG2( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_background_image( &self, background_image: &mut impl ToOutputArray, stream: &mut impl StreamTrait, ) -> Result<()>

Source§

impl CUDA_BackgroundSubtractorMOGTrait for BoxedRefMut<'_, CUDA_BackgroundSubtractorMOG>

Source§

fn as_raw_mut_CUDA_BackgroundSubtractorMOG( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn apply( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray, learning_rate: f64, stream: &mut impl StreamTrait, ) -> Result<()>

Source§

fn get_background_image_1( &mut self, background_image: &mut impl GpuMatTrait, stream: &mut impl StreamTrait, ) -> Result<()>

Source§

fn set_history(&mut self, nframes: i32) -> Result<()>

Source§

fn set_n_mixtures(&mut self, nmix: i32) -> Result<()>

Source§

fn set_background_ratio(&mut self, background_ratio: f64) -> Result<()>

Source§

fn set_noise_sigma(&mut self, noise_sigma: f64) -> Result<()>

Source§

impl CUDA_BackgroundSubtractorMOGTraitConst for BoxedRefMut<'_, CUDA_BackgroundSubtractorMOG>

Source§

fn as_raw_CUDA_BackgroundSubtractorMOG( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_background_image( &self, background_image: &mut impl ToOutputArray, stream: &mut impl StreamTrait, ) -> Result<()>

Source§

fn get_history(&self) -> Result<i32>

Source§

fn get_n_mixtures(&self) -> Result<i32>

Source§

fn get_background_ratio(&self) -> Result<f64>

Source§

fn get_noise_sigma(&self) -> Result<f64>

Source§

impl CUDA_BroxOpticalFlowTrait for BoxedRefMut<'_, CUDA_BroxOpticalFlow>

Source§

fn as_raw_mut_CUDA_BroxOpticalFlow( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_flow_smoothness(&mut self, alpha: f64) -> Result<()>

Source§

fn set_gradient_constancy_importance(&mut self, gamma: f64) -> Result<()>

Source§

fn set_pyramid_scale_factor(&mut self, scale_factor: f64) -> Result<()>

Source§

fn set_inner_iterations(&mut self, inner_iterations: i32) -> Result<()>

Source§

fn set_outer_iterations(&mut self, outer_iterations: i32) -> Result<()>

Source§

fn set_solver_iterations(&mut self, solver_iterations: i32) -> Result<()>

Source§

impl CUDA_BroxOpticalFlowTraitConst for BoxedRefMut<'_, CUDA_BroxOpticalFlow>

Source§

fn as_raw_CUDA_BroxOpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_flow_smoothness(&self) -> Result<f64>

Source§

fn get_gradient_constancy_importance(&self) -> Result<f64>

Source§

fn get_pyramid_scale_factor(&self) -> Result<f64>

Source§

fn get_inner_iterations(&self) -> Result<i32>

number of lagged non-linearity iterations (inner loop)
Source§

fn get_outer_iterations(&self) -> Result<i32>

number of warping iterations (number of pyramid levels)
Source§

fn get_solver_iterations(&self) -> Result<i32>

number of linear system solver iterations
Source§

impl CUDA_CLAHETrait for BoxedRefMut<'_, CUDA_CLAHE>

Source§

fn as_raw_mut_CUDA_CLAHE( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn apply( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, stream: &mut impl StreamTrait, ) -> Result<()>

Equalizes the histogram of a grayscale image using Contrast Limited Adaptive Histogram Equalization. Read more
Source§

impl CUDA_CLAHETraitConst for BoxedRefMut<'_, CUDA_CLAHE>

Source§

fn as_raw_CUDA_CLAHE(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl CUDA_CannyEdgeDetectorTrait for BoxedRefMut<'_, CUDA_CannyEdgeDetector>

Source§

fn as_raw_mut_CUDA_CannyEdgeDetector( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn detect( &mut self, image: &impl ToInputArray, edges: &mut impl ToOutputArray, stream: &mut impl StreamTrait, ) -> Result<()>

Finds edges in an image using the Canny86 algorithm. Read more
Source§

fn detect_def( &mut self, image: &impl ToInputArray, edges: &mut impl ToOutputArray, ) -> Result<()>

Finds edges in an image using the Canny86 algorithm. Read more
Source§

fn detect_1( &mut self, dx: &impl ToInputArray, dy: &impl ToInputArray, edges: &mut impl ToOutputArray, stream: &mut impl StreamTrait, ) -> Result<()>

Finds edges in an image using the Canny86 algorithm. Read more
Source§

fn detect_def_1( &mut self, dx: &impl ToInputArray, dy: &impl ToInputArray, edges: &mut impl ToOutputArray, ) -> Result<()>

@overload Read more
Source§

fn set_low_threshold(&mut self, low_thresh: f64) -> Result<()>

Source§

fn set_high_threshold(&mut self, high_thresh: f64) -> Result<()>

Source§

fn set_apperture_size(&mut self, apperture_size: i32) -> Result<()>

Source§

fn set_l2_gradient(&mut self, l2gradient: bool) -> Result<()>

Source§

impl CUDA_CannyEdgeDetectorTraitConst for BoxedRefMut<'_, CUDA_CannyEdgeDetector>

Source§

fn as_raw_CUDA_CannyEdgeDetector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_low_threshold(&self) -> Result<f64>

Source§

fn get_high_threshold(&self) -> Result<f64>

Source§

fn get_apperture_size(&self) -> Result<i32>

Source§

fn get_l2_gradient(&self) -> Result<bool>

Source§

impl CUDA_CascadeClassifierTrait for BoxedRefMut<'_, CUDA_CascadeClassifier>

Source§

fn as_raw_mut_CUDA_CascadeClassifier( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_max_object_size(&mut self, max_object_size: Size) -> Result<()>

Maximum possible object size. Objects larger than that are ignored. Used for second signature and supported only for LBP cascades.
Source§

fn set_min_object_size(&mut self, min_size: Size) -> Result<()>

Minimum possible object size. Objects smaller than that are ignored.
Source§

fn set_scale_factor(&mut self, scale_factor: f64) -> Result<()>

Parameter specifying how much the image size is reduced at each image scale.
Source§

fn set_min_neighbors(&mut self, min_neighbors: i32) -> Result<()>

Parameter specifying how many neighbors each candidate rectangle should have to retain it.
Source§

fn set_find_largest_object(&mut self, find_largest_object: bool) -> Result<()>

Source§

fn get_find_largest_object(&mut self) -> Result<bool>

Source§

fn set_max_num_objects(&mut self, max_num_objects: i32) -> Result<()>

Source§

fn detect_multi_scale( &mut self, image: &impl ToInputArray, objects: &mut impl ToOutputArray, stream: &mut impl StreamTrait, ) -> Result<()>

Detects objects of different sizes in the input image. Read more
Source§

fn detect_multi_scale_def( &mut self, image: &impl ToInputArray, objects: &mut impl ToOutputArray, ) -> Result<()>

Detects objects of different sizes in the input image. Read more
Source§

fn convert( &mut self, gpu_objects: &mut impl ToOutputArray, objects: &mut Vector<Rect>, ) -> Result<()>

Converts objects array from internal representation to standard vector. Read more
Source§

impl CUDA_CascadeClassifierTraitConst for BoxedRefMut<'_, CUDA_CascadeClassifier>

Source§

impl CUDA_CornernessCriteriaTrait for BoxedRefMut<'_, CUDA_CornernessCriteria>

Source§

fn as_raw_mut_CUDA_CornernessCriteria( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn compute( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, stream: &mut impl StreamTrait, ) -> Result<()>

Computes the cornerness criteria at each image pixel. Read more
Source§

fn compute_def( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, ) -> Result<()>

Computes the cornerness criteria at each image pixel. Read more
Source§

impl CUDA_CornernessCriteriaTraitConst for BoxedRefMut<'_, CUDA_CornernessCriteria>

Source§

fn as_raw_CUDA_CornernessCriteria( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl CUDA_CornersDetectorTrait for BoxedRefMut<'_, CUDA_CornersDetector>

Source§

fn as_raw_mut_CUDA_CornersDetector( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn detect( &mut self, image: &impl ToInputArray, corners: &mut impl ToOutputArray, mask: &impl ToInputArray, stream: &mut impl StreamTrait, ) -> Result<()>

Determines strong corners on an image. Read more
Source§

fn detect_def( &mut self, image: &impl ToInputArray, corners: &mut impl ToOutputArray, ) -> Result<()>

Determines strong corners on an image. Read more
Source§

fn set_max_corners(&mut self, max_corners: i32) -> Result<()>

Source§

fn set_min_distance(&mut self, min_distance: f64) -> Result<()>

Source§

impl CUDA_CornersDetectorTraitConst for BoxedRefMut<'_, CUDA_CornersDetector>

Source§

fn as_raw_CUDA_CornersDetector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl CUDA_DenseOpticalFlowTrait for BoxedRefMut<'_, CUDA_BroxOpticalFlow>

Source§

fn as_raw_mut_CUDA_DenseOpticalFlow( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn calc( &mut self, i0: &impl ToInputArray, i1: &impl ToInputArray, flow: &mut impl ToInputOutputArray, stream: &mut impl StreamTrait, ) -> Result<()>

Calculates a dense optical flow. Read more
Source§

fn calc_def( &mut self, i0: &impl ToInputArray, i1: &impl ToInputArray, flow: &mut impl ToInputOutputArray, ) -> Result<()>

Calculates a dense optical flow. Read more
Source§

impl CUDA_DenseOpticalFlowTrait for BoxedRefMut<'_, CUDA_DenseOpticalFlow>

Source§

fn as_raw_mut_CUDA_DenseOpticalFlow( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn calc( &mut self, i0: &impl ToInputArray, i1: &impl ToInputArray, flow: &mut impl ToInputOutputArray, stream: &mut impl StreamTrait, ) -> Result<()>

Calculates a dense optical flow. Read more
Source§

fn calc_def( &mut self, i0: &impl ToInputArray, i1: &impl ToInputArray, flow: &mut impl ToInputOutputArray, ) -> Result<()>

Calculates a dense optical flow. Read more
Source§

impl CUDA_DenseOpticalFlowTrait for BoxedRefMut<'_, CUDA_DensePyrLKOpticalFlow>

Source§

fn as_raw_mut_CUDA_DenseOpticalFlow( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn calc( &mut self, i0: &impl ToInputArray, i1: &impl ToInputArray, flow: &mut impl ToInputOutputArray, stream: &mut impl StreamTrait, ) -> Result<()>

Calculates a dense optical flow. Read more
Source§

fn calc_def( &mut self, i0: &impl ToInputArray, i1: &impl ToInputArray, flow: &mut impl ToInputOutputArray, ) -> Result<()>

Calculates a dense optical flow. Read more
Source§

impl CUDA_DenseOpticalFlowTrait for BoxedRefMut<'_, CUDA_FarnebackOpticalFlow>

Source§

fn as_raw_mut_CUDA_DenseOpticalFlow( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn calc( &mut self, i0: &impl ToInputArray, i1: &impl ToInputArray, flow: &mut impl ToInputOutputArray, stream: &mut impl StreamTrait, ) -> Result<()>

Calculates a dense optical flow. Read more
Source§

fn calc_def( &mut self, i0: &impl ToInputArray, i1: &impl ToInputArray, flow: &mut impl ToInputOutputArray, ) -> Result<()>

Calculates a dense optical flow. Read more
Source§

impl CUDA_DenseOpticalFlowTrait for BoxedRefMut<'_, CUDA_OpticalFlowDual_TVL1>

Source§

fn as_raw_mut_CUDA_DenseOpticalFlow( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn calc( &mut self, i0: &impl ToInputArray, i1: &impl ToInputArray, flow: &mut impl ToInputOutputArray, stream: &mut impl StreamTrait, ) -> Result<()>

Calculates a dense optical flow. Read more
Source§

fn calc_def( &mut self, i0: &impl ToInputArray, i1: &impl ToInputArray, flow: &mut impl ToInputOutputArray, ) -> Result<()>

Calculates a dense optical flow. Read more
Source§

impl CUDA_DenseOpticalFlowTraitConst for BoxedRefMut<'_, CUDA_BroxOpticalFlow>

Source§

fn as_raw_CUDA_DenseOpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl CUDA_DenseOpticalFlowTraitConst for BoxedRefMut<'_, CUDA_DenseOpticalFlow>

Source§

fn as_raw_CUDA_DenseOpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl CUDA_DenseOpticalFlowTraitConst for BoxedRefMut<'_, CUDA_DensePyrLKOpticalFlow>

Source§

fn as_raw_CUDA_DenseOpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl CUDA_DenseOpticalFlowTraitConst for BoxedRefMut<'_, CUDA_FarnebackOpticalFlow>

Source§

fn as_raw_CUDA_DenseOpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl CUDA_DenseOpticalFlowTraitConst for BoxedRefMut<'_, CUDA_OpticalFlowDual_TVL1>

Source§

fn as_raw_CUDA_DenseOpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl CUDA_DensePyrLKOpticalFlowTrait for BoxedRefMut<'_, CUDA_DensePyrLKOpticalFlow>

Source§

fn as_raw_mut_CUDA_DensePyrLKOpticalFlow( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_win_size(&mut self, win_size: Size) -> Result<()>

Source§

fn set_max_level(&mut self, max_level: i32) -> Result<()>

Source§

fn set_num_iters(&mut self, iters: i32) -> Result<()>

Source§

fn set_use_initial_flow(&mut self, use_initial_flow: bool) -> Result<()>

Source§

impl CUDA_DensePyrLKOpticalFlowTraitConst for BoxedRefMut<'_, CUDA_DensePyrLKOpticalFlow>

Source§

fn as_raw_CUDA_DensePyrLKOpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_win_size(&self) -> Result<Size>

Source§

fn get_max_level(&self) -> Result<i32>

Source§

fn get_num_iters(&self) -> Result<i32>

Source§

fn get_use_initial_flow(&self) -> Result<bool>

Source§

impl CUDA_DescriptorMatcherTrait for BoxedRefMut<'_, CUDA_DescriptorMatcher>

Source§

fn as_raw_mut_CUDA_DescriptorMatcher( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn add(&mut self, descriptors: &Vector<GpuMat>) -> Result<()>

Adds descriptors to train a descriptor collection. Read more
Source§

fn clear(&mut self) -> Result<()>

Clears the train descriptor collection.
Source§

fn train(&mut self) -> Result<()>

Trains a descriptor matcher. Read more
Source§

fn match_( &mut self, query_descriptors: &impl ToInputArray, train_descriptors: &impl ToInputArray, matches: &mut Vector<DMatch>, mask: &impl ToInputArray, ) -> Result<()>

Finds the best match for each descriptor from a query set (blocking version). Read more
Source§

fn match__def( &mut self, query_descriptors: &impl ToInputArray, train_descriptors: &impl ToInputArray, matches: &mut Vector<DMatch>, ) -> Result<()>

Finds the best match for each descriptor from a query set (blocking version). Read more
Source§

fn match__1( &mut self, query_descriptors: &impl ToInputArray, matches: &mut Vector<DMatch>, masks: &Vector<GpuMat>, ) -> Result<()>

Finds the best match for each descriptor from a query set (blocking version). Read more
Source§

fn match__def_1( &mut self, query_descriptors: &impl ToInputArray, matches: &mut Vector<DMatch>, ) -> Result<()>

@overload Read more
Source§

fn match_async( &mut self, query_descriptors: &impl ToInputArray, train_descriptors: &impl ToInputArray, matches: &mut impl ToOutputArray, mask: &impl ToInputArray, stream: &mut impl StreamTrait, ) -> Result<()>

Finds the best match for each descriptor from a query set (asynchronous version). Read more
Source§

fn match_async_def( &mut self, query_descriptors: &impl ToInputArray, train_descriptors: &impl ToInputArray, matches: &mut impl ToOutputArray, ) -> Result<()>

Finds the best match for each descriptor from a query set (asynchronous version). Read more
Source§

fn match_async_1( &mut self, query_descriptors: &impl ToInputArray, matches: &mut impl ToOutputArray, masks: &Vector<GpuMat>, stream: &mut impl StreamTrait, ) -> Result<()>

Finds the best match for each descriptor from a query set (asynchronous version). Read more
Source§

fn match_async_def_1( &mut self, query_descriptors: &impl ToInputArray, matches: &mut impl ToOutputArray, ) -> Result<()>

@overload Read more
Source§

fn match_convert( &mut self, gpu_matches: &impl ToInputArray, matches: &mut Vector<DMatch>, ) -> Result<()>

Converts matches array from internal representation to standard matches vector. Read more
Source§

fn knn_match( &mut self, query_descriptors: &impl ToInputArray, train_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, k: i32, mask: &impl ToInputArray, compact_result: bool, ) -> Result<()>

Finds the k best matches for each descriptor from a query set (blocking version). Read more
Source§

fn knn_match_def( &mut self, query_descriptors: &impl ToInputArray, train_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, k: i32, ) -> Result<()>

Finds the k best matches for each descriptor from a query set (blocking version). Read more
Source§

fn knn_match_1( &mut self, query_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, k: i32, masks: &Vector<GpuMat>, compact_result: bool, ) -> Result<()>

Finds the k best matches for each descriptor from a query set (blocking version). Read more
Source§

fn knn_match_def_1( &mut self, query_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, k: i32, ) -> Result<()>

@overload Read more
Source§

fn knn_match_async( &mut self, query_descriptors: &impl ToInputArray, train_descriptors: &impl ToInputArray, matches: &mut impl ToOutputArray, k: i32, mask: &impl ToInputArray, stream: &mut impl StreamTrait, ) -> Result<()>

Finds the k best matches for each descriptor from a query set (asynchronous version). Read more
Source§

fn knn_match_async_def( &mut self, query_descriptors: &impl ToInputArray, train_descriptors: &impl ToInputArray, matches: &mut impl ToOutputArray, k: i32, ) -> Result<()>

Finds the k best matches for each descriptor from a query set (asynchronous version). Read more
Source§

fn knn_match_async_1( &mut self, query_descriptors: &impl ToInputArray, matches: &mut impl ToOutputArray, k: i32, masks: &Vector<GpuMat>, stream: &mut impl StreamTrait, ) -> Result<()>

Finds the k best matches for each descriptor from a query set (asynchronous version). Read more
Source§

fn knn_match_async_def_1( &mut self, query_descriptors: &impl ToInputArray, matches: &mut impl ToOutputArray, k: i32, ) -> Result<()>

@overload Read more
Source§

fn knn_match_convert( &mut self, gpu_matches: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, compact_result: bool, ) -> Result<()>

Converts matches array from internal representation to standard matches vector. Read more
Source§

fn knn_match_convert_def( &mut self, gpu_matches: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, ) -> Result<()>

Converts matches array from internal representation to standard matches vector. Read more
Source§

fn radius_match( &mut self, query_descriptors: &impl ToInputArray, train_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, max_distance: f32, mask: &impl ToInputArray, compact_result: bool, ) -> Result<()>

For each query descriptor, finds the training descriptors not farther than the specified distance (blocking version). Read more
Source§

fn radius_match_def( &mut self, query_descriptors: &impl ToInputArray, train_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, max_distance: f32, ) -> Result<()>

For each query descriptor, finds the training descriptors not farther than the specified distance (blocking version). Read more
Source§

fn radius_match_1( &mut self, query_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, max_distance: f32, masks: &Vector<GpuMat>, compact_result: bool, ) -> Result<()>

For each query descriptor, finds the training descriptors not farther than the specified distance (blocking version). Read more
Source§

fn radius_match_def_1( &mut self, query_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, max_distance: f32, ) -> Result<()>

@overload Read more
Source§

fn radius_match_async( &mut self, query_descriptors: &impl ToInputArray, train_descriptors: &impl ToInputArray, matches: &mut impl ToOutputArray, max_distance: f32, mask: &impl ToInputArray, stream: &mut impl StreamTrait, ) -> Result<()>

For each query descriptor, finds the training descriptors not farther than the specified distance (asynchronous version). Read more
Source§

fn radius_match_async_def( &mut self, query_descriptors: &impl ToInputArray, train_descriptors: &impl ToInputArray, matches: &mut impl ToOutputArray, max_distance: f32, ) -> Result<()>

For each query descriptor, finds the training descriptors not farther than the specified distance (asynchronous version). Read more
Source§

fn radius_match_async_1( &mut self, query_descriptors: &impl ToInputArray, matches: &mut impl ToOutputArray, max_distance: f32, masks: &Vector<GpuMat>, stream: &mut impl StreamTrait, ) -> Result<()>

For each query descriptor, finds the training descriptors not farther than the specified distance (asynchronous version). Read more
Source§

fn radius_match_async_def_1( &mut self, query_descriptors: &impl ToInputArray, matches: &mut impl ToOutputArray, max_distance: f32, ) -> Result<()>

@overload Read more
Source§

fn radius_match_convert( &mut self, gpu_matches: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, compact_result: bool, ) -> Result<()>

Converts matches array from internal representation to standard matches vector. Read more
Source§

fn radius_match_convert_def( &mut self, gpu_matches: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, ) -> Result<()>

Converts matches array from internal representation to standard matches vector. Read more
Source§

impl CUDA_DescriptorMatcherTraitConst for BoxedRefMut<'_, CUDA_DescriptorMatcher>

Source§

fn as_raw_CUDA_DescriptorMatcher( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn is_mask_supported(&self) -> Result<bool>

Returns true if the descriptor matcher supports masking permissible matches.
Source§

fn get_train_descriptors(&self) -> Result<Vector<GpuMat>>

Returns a constant link to the train descriptor collection.
Source§

fn empty(&self) -> Result<bool>

Returns true if there are no train descriptors in the collection.
Source§

impl CUDA_DisparityBilateralFilterTrait for BoxedRefMut<'_, CUDA_DisparityBilateralFilter>

Source§

fn as_raw_mut_CUDA_DisparityBilateralFilter( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn apply( &mut self, disparity: &impl ToInputArray, image: &impl ToInputArray, dst: &mut impl ToOutputArray, stream: &mut impl StreamTrait, ) -> Result<()>

Refines a disparity map using joint bilateral filtering. Read more
Source§

fn apply_def( &mut self, disparity: &impl ToInputArray, image: &impl ToInputArray, dst: &mut impl ToOutputArray, ) -> Result<()>

Refines a disparity map using joint bilateral filtering. Read more
Source§

fn set_num_disparities(&mut self, num_disparities: i32) -> Result<()>

Source§

fn set_radius(&mut self, radius: i32) -> Result<()>

Source§

fn set_num_iters(&mut self, iters: i32) -> Result<()>

Source§

fn set_edge_threshold(&mut self, edge_threshold: f64) -> Result<()>

Source§

fn set_max_disc_threshold(&mut self, max_disc_threshold: f64) -> Result<()>

Source§

fn set_sigma_range(&mut self, sigma_range: f64) -> Result<()>

Source§

impl CUDA_DisparityBilateralFilterTraitConst for BoxedRefMut<'_, CUDA_DisparityBilateralFilter>

Source§

fn as_raw_CUDA_DisparityBilateralFilter( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_num_disparities(&self) -> Result<i32>

Source§

fn get_radius(&self) -> Result<i32>

Source§

fn get_num_iters(&self) -> Result<i32>

Source§

fn get_edge_threshold(&self) -> Result<f64>

truncation of data continuity
Source§

fn get_max_disc_threshold(&self) -> Result<f64>

truncation of disparity continuity
Source§

fn get_sigma_range(&self) -> Result<f64>

filter range sigma
Source§

impl CUDA_EncoderCallbackTrait for BoxedRefMut<'_, CUDA_EncoderCallback>

Source§

fn as_raw_mut_CUDA_EncoderCallback( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn on_encoded( &mut self, v_packet: &Vector<Vector<u8>>, pts: &Vector<u64>, ) -> Result<()>

Callback function to signal that the encoded bitstream for one or more frames is ready. Read more
Source§

fn set_frame_interval_p(&mut self, frame_interval_p: i32) -> Result<bool>

Set the GOP pattern used by the encoder. Read more
Source§

fn on_encoding_finished(&mut self) -> Result<()>

Callback function to that the encoding has finished.
Source§

impl CUDA_EncoderCallbackTraitConst for BoxedRefMut<'_, CUDA_EncoderCallback>

Source§

fn as_raw_CUDA_EncoderCallback( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl CUDA_FGDParamsTrait for BoxedRefMut<'_, CUDA_FGDParams>

Source§

fn as_raw_mut_CUDA_FGDParams( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_lc(&mut self, val: i32)

Quantized levels per ‘color’ component. Power of two, typically 32, 64 or 128.
Source§

fn set_n1c(&mut self, val: i32)

Number of color vectors used to model normal background color variation at a given pixel.
Source§

fn set_n2c(&mut self, val: i32)

Number of color vectors retained at given pixel. Must be > N1c, typically ~ 5/3 of N1c. Used to allow the first N1c vectors to adapt over time to changing background.
Source§

fn set_lcc(&mut self, val: i32)

Quantized levels per ‘color co-occurrence’ component. Power of two, typically 16, 32 or 64.
Source§

fn set_n1cc(&mut self, val: i32)

Number of color co-occurrence vectors used to model normal background color variation at a given pixel.
Source§

fn set_n2cc(&mut self, val: i32)

Number of color co-occurrence vectors retained at given pixel. Must be > N1cc, typically ~ 5/3 of N1cc. Used to allow the first N1cc vectors to adapt over time to changing background.
Source§

fn set_is_obj_without_holes(&mut self, val: bool)

If TRUE we ignore holes within foreground blobs. Defaults to TRUE.
Source§

fn set_perform_morphing(&mut self, val: i32)

Number of erode-dilate-erode foreground-blob cleanup iterations. These erase one-pixel junk blobs and merge almost-touching blobs. Default value is 1.
Source§

fn set_alpha1(&mut self, val: f32)

How quickly we forget old background pixel values seen. Typically set to 0.1.
Source§

fn set_alpha2(&mut self, val: f32)

“Controls speed of feature learning”. Depends on T. Typical value circa 0.005.
Source§

fn set_alpha3(&mut self, val: f32)

Alternate to alpha2, used (e.g.) for quicker initial convergence. Typical value 0.1.
Source§

fn set_delta(&mut self, val: f32)

Affects color and color co-occurrence quantization, typically set to 2.
Source§

fn set_t(&mut self, val: f32)

A percentage value which determines when new features can be recognized as new background. (Typically 0.9).
Source§

fn set_min_area(&mut self, val: f32)

Discard foreground blobs whose bounding box is smaller than this threshold.
Source§

impl CUDA_FGDParamsTraitConst for BoxedRefMut<'_, CUDA_FGDParams>

Source§

fn as_raw_CUDA_FGDParams( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn lc(&self) -> i32

Quantized levels per ‘color’ component. Power of two, typically 32, 64 or 128.
Source§

fn n1c(&self) -> i32

Number of color vectors used to model normal background color variation at a given pixel.
Source§

fn n2c(&self) -> i32

Number of color vectors retained at given pixel. Must be > N1c, typically ~ 5/3 of N1c. Used to allow the first N1c vectors to adapt over time to changing background.
Source§

fn lcc(&self) -> i32

Quantized levels per ‘color co-occurrence’ component. Power of two, typically 16, 32 or 64.
Source§

fn n1cc(&self) -> i32

Number of color co-occurrence vectors used to model normal background color variation at a given pixel.
Source§

fn n2cc(&self) -> i32

Number of color co-occurrence vectors retained at given pixel. Must be > N1cc, typically ~ 5/3 of N1cc. Used to allow the first N1cc vectors to adapt over time to changing background.
Source§

fn is_obj_without_holes(&self) -> bool

If TRUE we ignore holes within foreground blobs. Defaults to TRUE.
Source§

fn perform_morphing(&self) -> i32

Number of erode-dilate-erode foreground-blob cleanup iterations. These erase one-pixel junk blobs and merge almost-touching blobs. Default value is 1.
Source§

fn alpha1(&self) -> f32

How quickly we forget old background pixel values seen. Typically set to 0.1.
Source§

fn alpha2(&self) -> f32

“Controls speed of feature learning”. Depends on T. Typical value circa 0.005.
Source§

fn alpha3(&self) -> f32

Alternate to alpha2, used (e.g.) for quicker initial convergence. Typical value 0.1.
Source§

fn delta(&self) -> f32

Affects color and color co-occurrence quantization, typically set to 2.
Source§

fn t(&self) -> f32

A percentage value which determines when new features can be recognized as new background. (Typically 0.9).
Source§

fn min_area(&self) -> f32

Discard foreground blobs whose bounding box is smaller than this threshold.
Source§

impl CUDA_FarnebackOpticalFlowTrait for BoxedRefMut<'_, CUDA_FarnebackOpticalFlow>

Source§

fn as_raw_mut_CUDA_FarnebackOpticalFlow( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_num_levels(&mut self, num_levels: i32) -> Result<()>

Source§

fn set_pyr_scale(&mut self, pyr_scale: f64) -> Result<()>

Source§

fn set_fast_pyramids(&mut self, fast_pyramids: bool) -> Result<()>

Source§

fn set_win_size(&mut self, win_size: i32) -> Result<()>

Source§

fn set_num_iters(&mut self, num_iters: i32) -> Result<()>

Source§

fn set_poly_n(&mut self, poly_n: i32) -> Result<()>

Source§

fn set_poly_sigma(&mut self, poly_sigma: f64) -> Result<()>

Source§

fn set_flags(&mut self, flags: i32) -> Result<()>

Source§

impl CUDA_FarnebackOpticalFlowTraitConst for BoxedRefMut<'_, CUDA_FarnebackOpticalFlow>

Source§

fn as_raw_CUDA_FarnebackOpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_num_levels(&self) -> Result<i32>

Source§

fn get_pyr_scale(&self) -> Result<f64>

Source§

fn get_fast_pyramids(&self) -> Result<bool>

Source§

fn get_win_size(&self) -> Result<i32>

Source§

fn get_num_iters(&self) -> Result<i32>

Source§

fn get_poly_n(&self) -> Result<i32>

Source§

fn get_poly_sigma(&self) -> Result<f64>

Source§

fn get_flags(&self) -> Result<i32>

Source§

impl CUDA_FastFeatureDetectorTrait for BoxedRefMut<'_, CUDA_FastFeatureDetector>

Source§

fn as_raw_mut_CUDA_FastFeatureDetector( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_threshold(&mut self, threshold: i32) -> Result<()>

Source§

fn set_max_num_points(&mut self, max_npoints: i32) -> Result<()>

Source§

impl CUDA_FastFeatureDetectorTraitConst for BoxedRefMut<'_, CUDA_FastFeatureDetector>

Source§

fn as_raw_CUDA_FastFeatureDetector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_max_num_points(&self) -> Result<i32>

Source§

impl CUDA_FastOpticalFlowBMTrait for BoxedRefMut<'_, CUDA_FastOpticalFlowBM>

Source§

fn as_raw_mut_CUDA_FastOpticalFlowBM( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn apply( &mut self, i0: &impl GpuMatTraitConst, i1: &impl GpuMatTraitConst, flowx: &mut impl GpuMatTrait, flowy: &mut impl GpuMatTrait, search_window: i32, block_window: i32, s: &mut impl StreamTrait, ) -> Result<()>

C++ default parameters Read more
Source§

fn apply_def( &mut self, i0: &impl GpuMatTraitConst, i1: &impl GpuMatTraitConst, flowx: &mut impl GpuMatTrait, flowy: &mut impl GpuMatTrait, ) -> Result<()>

Source§

impl CUDA_FastOpticalFlowBMTraitConst for BoxedRefMut<'_, CUDA_FastOpticalFlowBM>

Source§

fn as_raw_CUDA_FastOpticalFlowBM( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl CUDA_Feature2DAsyncTrait for BoxedRefMut<'_, CUDA_FastFeatureDetector>

Source§

fn as_raw_mut_CUDA_Feature2DAsync( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn detect_async( &mut self, image: &impl ToInputArray, keypoints: &mut impl ToOutputArray, mask: &impl ToInputArray, stream: &mut impl StreamTrait, ) -> Result<()>

Detects keypoints in an image. Read more
Source§

fn detect_async_def( &mut self, image: &impl ToInputArray, keypoints: &mut impl ToOutputArray, ) -> Result<()>

Detects keypoints in an image. Read more
Source§

fn compute_async( &mut self, image: &impl ToInputArray, keypoints: &mut impl ToOutputArray, descriptors: &mut impl ToOutputArray, stream: &mut impl StreamTrait, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image. Read more
Source§

fn compute_async_def( &mut self, image: &impl ToInputArray, keypoints: &mut impl ToOutputArray, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image. Read more
Source§

fn detect_and_compute_async( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut impl ToOutputArray, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool, stream: &mut impl StreamTrait, ) -> Result<()>

Detects keypoints and computes the descriptors. Read more
Source§

fn detect_and_compute_async_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut impl ToOutputArray, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Detects keypoints and computes the descriptors. Read more
Source§

fn convert( &mut self, gpu_keypoints: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, ) -> Result<()>

Converts keypoints array from internal representation to standard vector.
Source§

impl CUDA_Feature2DAsyncTrait for BoxedRefMut<'_, CUDA_Feature2DAsync>

Source§

fn as_raw_mut_CUDA_Feature2DAsync( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn detect_async( &mut self, image: &impl ToInputArray, keypoints: &mut impl ToOutputArray, mask: &impl ToInputArray, stream: &mut impl StreamTrait, ) -> Result<()>

Detects keypoints in an image. Read more
Source§

fn detect_async_def( &mut self, image: &impl ToInputArray, keypoints: &mut impl ToOutputArray, ) -> Result<()>

Detects keypoints in an image. Read more
Source§

fn compute_async( &mut self, image: &impl ToInputArray, keypoints: &mut impl ToOutputArray, descriptors: &mut impl ToOutputArray, stream: &mut impl StreamTrait, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image. Read more
Source§

fn compute_async_def( &mut self, image: &impl ToInputArray, keypoints: &mut impl ToOutputArray, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image. Read more
Source§

fn detect_and_compute_async( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut impl ToOutputArray, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool, stream: &mut impl StreamTrait, ) -> Result<()>

Detects keypoints and computes the descriptors. Read more
Source§

fn detect_and_compute_async_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut impl ToOutputArray, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Detects keypoints and computes the descriptors. Read more
Source§

fn convert( &mut self, gpu_keypoints: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, ) -> Result<()>

Converts keypoints array from internal representation to standard vector.
Source§

impl CUDA_Feature2DAsyncTrait for BoxedRefMut<'_, CUDA_ORB>

Source§

fn as_raw_mut_CUDA_Feature2DAsync( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn detect_async( &mut self, image: &impl ToInputArray, keypoints: &mut impl ToOutputArray, mask: &impl ToInputArray, stream: &mut impl StreamTrait, ) -> Result<()>

Detects keypoints in an image. Read more
Source§

fn detect_async_def( &mut self, image: &impl ToInputArray, keypoints: &mut impl ToOutputArray, ) -> Result<()>

Detects keypoints in an image. Read more
Source§

fn compute_async( &mut self, image: &impl ToInputArray, keypoints: &mut impl ToOutputArray, descriptors: &mut impl ToOutputArray, stream: &mut impl StreamTrait, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image. Read more
Source§

fn compute_async_def( &mut self, image: &impl ToInputArray, keypoints: &mut impl ToOutputArray, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image. Read more
Source§

fn detect_and_compute_async( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut impl ToOutputArray, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool, stream: &mut impl StreamTrait, ) -> Result<()>

Detects keypoints and computes the descriptors. Read more
Source§

fn detect_and_compute_async_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut impl ToOutputArray, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Detects keypoints and computes the descriptors. Read more
Source§

fn convert( &mut self, gpu_keypoints: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, ) -> Result<()>

Converts keypoints array from internal representation to standard vector.
Source§

impl CUDA_Feature2DAsyncTraitConst for BoxedRefMut<'_, CUDA_FastFeatureDetector>

Source§

fn as_raw_CUDA_Feature2DAsync( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl CUDA_Feature2DAsyncTraitConst for BoxedRefMut<'_, CUDA_Feature2DAsync>

Source§

fn as_raw_CUDA_Feature2DAsync( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl CUDA_Feature2DAsyncTraitConst for BoxedRefMut<'_, CUDA_ORB>

Source§

fn as_raw_CUDA_Feature2DAsync( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl CUDA_HOGTrait for BoxedRefMut<'_, CUDA_HOG>

Source§

fn as_raw_mut_CUDA_HOG( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_win_sigma(&mut self, win_sigma: f64) -> Result<()>

Gaussian smoothing window parameter.
Source§

fn set_l2_hys_threshold(&mut self, threshold_l2hys: f64) -> Result<()>

L2-Hys normalization method shrinkage.
Source§

fn set_gamma_correction(&mut self, gamma_correction: bool) -> Result<()>

Flag to specify whether the gamma correction preprocessing is required or not.
Source§

fn set_num_levels(&mut self, nlevels: i32) -> Result<()>

Maximum number of detection window increases.
Source§

fn set_hit_threshold(&mut self, hit_threshold: f64) -> Result<()>

Threshold for the distance between features and SVM classifying plane. Usually it is 0 and should be specified in the detector coefficients (as the last free coefficient). But if the free coefficient is omitted (which is allowed), you can specify it manually here.
Source§

fn set_win_stride(&mut self, win_stride: Size) -> Result<()>

Window stride. It must be a multiple of block stride.
Source§

fn set_scale_factor(&mut self, scale0: f64) -> Result<()>

Coefficient of the detection window increase.
Source§

fn set_group_threshold(&mut self, group_threshold: i32) -> Result<()>

Coefficient to regulate the similarity threshold. When detected, some objects can be covered by many rectangles. 0 means not to perform grouping. See groupRectangles.
Source§

fn set_descriptor_format( &mut self, descr_format: HOGDescriptor_DescriptorStorageFormat, ) -> Result<()>

Descriptor storage format: Read more
Source§

fn set_svm_detector(&mut self, detector: &impl ToInputArray) -> Result<()>

Sets coefficients for the linear SVM classifier.
Source§

fn detect( &mut self, img: &impl ToInputArray, found_locations: &mut Vector<Point>, confidences: &mut Vector<f64>, ) -> Result<()>

Performs object detection without a multi-scale window. Read more
Source§

fn detect_def( &mut self, img: &impl ToInputArray, found_locations: &mut Vector<Point>, ) -> Result<()>

Performs object detection without a multi-scale window. Read more
Source§

fn detect_1( &mut self, img: &impl ToInputArray, found_locations: &mut Vector<Point>, confidences: &mut Vector<f64>, ) -> Result<()>

Source§

fn detect_without_conf( &mut self, img: &impl ToInputArray, found_locations: &mut Vector<Point>, ) -> Result<()>

Performs object detection without a multi-scale window. Read more
Source§

fn detect_multi_scale( &mut self, img: &impl ToInputArray, found_locations: &mut Vector<Rect>, confidences: &mut Vector<f64>, ) -> Result<()>

Performs object detection with a multi-scale window. Read more
Source§

fn detect_multi_scale_def( &mut self, img: &impl ToInputArray, found_locations: &mut Vector<Rect>, ) -> Result<()>

Performs object detection with a multi-scale window. Read more
Source§

fn detect_multi_scale_1( &mut self, img: &impl ToInputArray, found_locations: &mut Vector<Rect>, confidences: &mut Vector<f64>, ) -> Result<()>

Source§

fn detect_multi_scale_without_conf( &mut self, img: &impl ToInputArray, found_locations: &mut Vector<Rect>, ) -> Result<()>

Performs object detection with a multi-scale window. Read more
Source§

fn compute( &mut self, img: &impl ToInputArray, descriptors: &mut impl ToOutputArray, stream: &mut impl StreamTrait, ) -> Result<()>

Returns block descriptors computed for the whole image. Read more
Source§

fn compute_def( &mut self, img: &impl ToInputArray, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Returns block descriptors computed for the whole image. Read more
Source§

impl CUDA_HOGTraitConst for BoxedRefMut<'_, CUDA_HOG>

Source§

fn as_raw_CUDA_HOG(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_win_sigma(&self) -> Result<f64>

Source§

fn get_l2_hys_threshold(&self) -> Result<f64>

Source§

fn get_gamma_correction(&self) -> Result<bool>

Source§

fn get_num_levels(&self) -> Result<i32>

Source§

fn get_hit_threshold(&self) -> Result<f64>

Source§

fn get_win_stride(&self) -> Result<Size>

Source§

fn get_scale_factor(&self) -> Result<f64>

Source§

fn get_group_threshold(&self) -> Result<i32>

Source§

fn get_descriptor_format(&self) -> Result<HOGDescriptor_DescriptorStorageFormat>

Source§

fn get_descriptor_size(&self) -> Result<size_t>

Returns the number of coefficients required for the classification.
Source§

fn get_block_histogram_size(&self) -> Result<size_t>

Returns the block histogram size.
Source§

fn get_default_people_detector(&self) -> Result<Mat>

Returns coefficients of the classifier trained for people detection.
Source§

impl CUDA_HoughCirclesDetectorTrait for BoxedRefMut<'_, CUDA_HoughCirclesDetector>

Source§

fn as_raw_mut_CUDA_HoughCirclesDetector( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn detect( &mut self, src: &impl ToInputArray, circles: &mut impl ToOutputArray, stream: &mut impl StreamTrait, ) -> Result<()>

Finds circles in a grayscale image using the Hough transform. Read more
Source§

fn detect_def( &mut self, src: &impl ToInputArray, circles: &mut impl ToOutputArray, ) -> Result<()>

Finds circles in a grayscale image using the Hough transform. Read more
Source§

fn set_dp(&mut self, dp: f32) -> Result<()>

Source§

fn set_min_dist(&mut self, min_dist: f32) -> Result<()>

Source§

fn set_canny_threshold(&mut self, canny_threshold: i32) -> Result<()>

Source§

fn set_votes_threshold(&mut self, votes_threshold: i32) -> Result<()>

Source§

fn set_min_radius(&mut self, min_radius: i32) -> Result<()>

Source§

fn set_max_radius(&mut self, max_radius: i32) -> Result<()>

Source§

fn set_max_circles(&mut self, max_circles: i32) -> Result<()>

Source§

impl CUDA_HoughCirclesDetectorTraitConst for BoxedRefMut<'_, CUDA_HoughCirclesDetector>

Source§

fn as_raw_CUDA_HoughCirclesDetector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_dp(&self) -> Result<f32>

Source§

fn get_min_dist(&self) -> Result<f32>

Source§

fn get_canny_threshold(&self) -> Result<i32>

Source§

fn get_votes_threshold(&self) -> Result<i32>

Source§

fn get_min_radius(&self) -> Result<i32>

Source§

fn get_max_radius(&self) -> Result<i32>

Source§

fn get_max_circles(&self) -> Result<i32>

Source§

impl CUDA_HoughLinesDetectorTrait for BoxedRefMut<'_, CUDA_HoughLinesDetector>

Source§

fn as_raw_mut_CUDA_HoughLinesDetector( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn detect( &mut self, src: &impl ToInputArray, lines: &mut impl ToOutputArray, stream: &mut impl StreamTrait, ) -> Result<()>

Finds lines in a binary image using the classical Hough transform. Read more
Source§

fn detect_def( &mut self, src: &impl ToInputArray, lines: &mut impl ToOutputArray, ) -> Result<()>

Finds lines in a binary image using the classical Hough transform. Read more
Source§

fn download_results( &mut self, d_lines: &impl ToInputArray, h_lines: &mut impl ToOutputArray, h_votes: &mut impl ToOutputArray, stream: &mut impl StreamTrait, ) -> Result<()>

Downloads results from cuda::HoughLinesDetector::detect to host memory. Read more
Source§

fn download_results_def( &mut self, d_lines: &impl ToInputArray, h_lines: &mut impl ToOutputArray, ) -> Result<()>

Downloads results from cuda::HoughLinesDetector::detect to host memory. Read more
Source§

fn set_rho(&mut self, rho: f32) -> Result<()>

Source§

fn set_theta(&mut self, theta: f32) -> Result<()>

Source§

fn set_threshold(&mut self, threshold: i32) -> Result<()>

Source§

fn set_do_sort(&mut self, do_sort: bool) -> Result<()>

Source§

fn set_max_lines(&mut self, max_lines: i32) -> Result<()>

Source§

impl CUDA_HoughLinesDetectorTraitConst for BoxedRefMut<'_, CUDA_HoughLinesDetector>

Source§

fn as_raw_CUDA_HoughLinesDetector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_rho(&self) -> Result<f32>

Source§

fn get_theta(&self) -> Result<f32>

Source§

fn get_threshold(&self) -> Result<i32>

Source§

fn get_do_sort(&self) -> Result<bool>

Source§

fn get_max_lines(&self) -> Result<i32>

Source§

impl CUDA_HoughSegmentDetectorTrait for BoxedRefMut<'_, CUDA_HoughSegmentDetector>

Source§

fn as_raw_mut_CUDA_HoughSegmentDetector( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn detect( &mut self, src: &impl ToInputArray, lines: &mut impl ToOutputArray, stream: &mut impl StreamTrait, ) -> Result<()>

Finds line segments in a binary image using the probabilistic Hough transform. Read more
Source§

fn detect_def( &mut self, src: &impl ToInputArray, lines: &mut impl ToOutputArray, ) -> Result<()>

Finds line segments in a binary image using the probabilistic Hough transform. Read more
Source§

fn set_rho(&mut self, rho: f32) -> Result<()>

Source§

fn set_theta(&mut self, theta: f32) -> Result<()>

Source§

fn set_min_line_length(&mut self, min_line_length: i32) -> Result<()>

Source§

fn set_max_line_gap(&mut self, max_line_gap: i32) -> Result<()>

Source§

fn set_max_lines(&mut self, max_lines: i32) -> Result<()>

Source§

fn set_threshold(&mut self, threshold: i32) -> Result<()>

Source§

impl CUDA_HoughSegmentDetectorTraitConst for BoxedRefMut<'_, CUDA_HoughSegmentDetector>

Source§

fn as_raw_CUDA_HoughSegmentDetector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_rho(&self) -> Result<f32>

Source§

fn get_theta(&self) -> Result<f32>

Source§

fn get_min_line_length(&self) -> Result<i32>

Source§

fn get_max_line_gap(&self) -> Result<i32>

Source§

fn get_max_lines(&self) -> Result<i32>

Source§

fn get_threshold(&self) -> Result<i32>

Source§

impl CUDA_ImagePyramidTrait for BoxedRefMut<'_, CUDA_ImagePyramid>

Source§

fn as_raw_mut_CUDA_ImagePyramid( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl CUDA_ImagePyramidTraitConst for BoxedRefMut<'_, CUDA_ImagePyramid>

Source§

fn as_raw_CUDA_ImagePyramid( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_layer( &self, out_img: &mut impl ToOutputArray, out_roi: Size, stream: &mut impl StreamTrait, ) -> Result<()>

C++ default parameters Read more
Source§

fn get_layer_def( &self, out_img: &mut impl ToOutputArray, out_roi: Size, ) -> Result<()>

Source§

impl CUDA_NVSurfaceToColorConverterTrait for BoxedRefMut<'_, CUDA_NVSurfaceToColorConverter>

Source§

fn as_raw_mut_CUDA_NVSurfaceToColorConverter( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn convert( &mut self, yuv: &impl ToInputArray, color: &mut impl ToOutputArray, surface_format: CUDA_SurfaceFormat, output_format: CUDA_ColorFormat, bit_depth: CUDA_BitDepth, planar: bool, video_full_range_flag: bool, stream: &mut impl StreamTrait, ) -> Result<bool>

Performs the conversion from the raw YUV Surface output from VideoReader to the requested color format. Use this function when you want to convert the raw YUV Surface output from VideoReader to more than one color format or you want both the raw Surface output in addition to a color frame. Read more
Source§

fn convert_def( &mut self, yuv: &impl ToInputArray, color: &mut impl ToOutputArray, surface_format: CUDA_SurfaceFormat, output_format: CUDA_ColorFormat, ) -> Result<bool>

Performs the conversion from the raw YUV Surface output from VideoReader to the requested color format. Use this function when you want to convert the raw YUV Surface output from VideoReader to more than one color format or you want both the raw Surface output in addition to a color frame. Read more
Source§

impl CUDA_NVSurfaceToColorConverterTraitConst for BoxedRefMut<'_, CUDA_NVSurfaceToColorConverter>

Source§

fn as_raw_CUDA_NVSurfaceToColorConverter( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl CUDA_NvidiaHWOpticalFlowTrait for BoxedRefMut<'_, CUDA_NvidiaHWOpticalFlow>

Source§

fn as_raw_mut_CUDA_NvidiaHWOpticalFlow( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn calc( &mut self, input_image: &impl ToInputArray, reference_image: &impl ToInputArray, flow: &mut impl ToInputOutputArray, stream: &mut impl StreamTrait, hint: &impl ToInputArray, cost: &mut impl ToOutputArray, ) -> Result<()>

Calculates Optical Flow using NVIDIA Optical Flow SDK. Read more
Source§

fn calc_def( &mut self, input_image: &impl ToInputArray, reference_image: &impl ToInputArray, flow: &mut impl ToInputOutputArray, ) -> Result<()>

Calculates Optical Flow using NVIDIA Optical Flow SDK. Read more
Source§

fn collect_garbage(&mut self) -> Result<()>

Releases all buffers, contexts and device pointers.
Source§

impl CUDA_NvidiaHWOpticalFlowTrait for BoxedRefMut<'_, CUDA_NvidiaOpticalFlow_1_0>

Source§

fn as_raw_mut_CUDA_NvidiaHWOpticalFlow( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn calc( &mut self, input_image: &impl ToInputArray, reference_image: &impl ToInputArray, flow: &mut impl ToInputOutputArray, stream: &mut impl StreamTrait, hint: &impl ToInputArray, cost: &mut impl ToOutputArray, ) -> Result<()>

Calculates Optical Flow using NVIDIA Optical Flow SDK. Read more
Source§

fn calc_def( &mut self, input_image: &impl ToInputArray, reference_image: &impl ToInputArray, flow: &mut impl ToInputOutputArray, ) -> Result<()>

Calculates Optical Flow using NVIDIA Optical Flow SDK. Read more
Source§

fn collect_garbage(&mut self) -> Result<()>

Releases all buffers, contexts and device pointers.
Source§

impl CUDA_NvidiaHWOpticalFlowTrait for BoxedRefMut<'_, CUDA_NvidiaOpticalFlow_2_0>

Source§

fn as_raw_mut_CUDA_NvidiaHWOpticalFlow( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn calc( &mut self, input_image: &impl ToInputArray, reference_image: &impl ToInputArray, flow: &mut impl ToInputOutputArray, stream: &mut impl StreamTrait, hint: &impl ToInputArray, cost: &mut impl ToOutputArray, ) -> Result<()>

Calculates Optical Flow using NVIDIA Optical Flow SDK. Read more
Source§

fn calc_def( &mut self, input_image: &impl ToInputArray, reference_image: &impl ToInputArray, flow: &mut impl ToInputOutputArray, ) -> Result<()>

Calculates Optical Flow using NVIDIA Optical Flow SDK. Read more
Source§

fn collect_garbage(&mut self) -> Result<()>

Releases all buffers, contexts and device pointers.
Source§

impl CUDA_NvidiaHWOpticalFlowTraitConst for BoxedRefMut<'_, CUDA_NvidiaHWOpticalFlow>

Source§

fn as_raw_CUDA_NvidiaHWOpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_grid_size(&self) -> Result<i32>

Returns grid size of output buffer as per the hardware’s capability.
Source§

impl CUDA_NvidiaHWOpticalFlowTraitConst for BoxedRefMut<'_, CUDA_NvidiaOpticalFlow_1_0>

Source§

fn as_raw_CUDA_NvidiaHWOpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_grid_size(&self) -> Result<i32>

Returns grid size of output buffer as per the hardware’s capability.
Source§

impl CUDA_NvidiaHWOpticalFlowTraitConst for BoxedRefMut<'_, CUDA_NvidiaOpticalFlow_2_0>

Source§

fn as_raw_CUDA_NvidiaHWOpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_grid_size(&self) -> Result<i32>

Returns grid size of output buffer as per the hardware’s capability.
Source§

impl CUDA_NvidiaOpticalFlow_1_0Trait for BoxedRefMut<'_, CUDA_NvidiaOpticalFlow_1_0>

Source§

fn as_raw_mut_CUDA_NvidiaOpticalFlow_1_0( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn up_sampler( &mut self, flow: &impl ToInputArray, image_size: Size, grid_size: i32, upsampled_flow: &mut impl ToInputOutputArray, ) -> Result<()>

The NVIDIA optical flow hardware generates flow vectors at granularity gridSize, which can be queried via function getGridSize(). Upsampler() helper function converts the hardware-generated flow vectors to dense representation (1 flow vector for each pixel) using nearest neighbour upsampling method. Read more
Source§

impl CUDA_NvidiaOpticalFlow_1_0TraitConst for BoxedRefMut<'_, CUDA_NvidiaOpticalFlow_1_0>

Source§

fn as_raw_CUDA_NvidiaOpticalFlow_1_0( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl CUDA_NvidiaOpticalFlow_2_0Trait for BoxedRefMut<'_, CUDA_NvidiaOpticalFlow_2_0>

Source§

fn as_raw_mut_CUDA_NvidiaOpticalFlow_2_0( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn convert_to_float( &mut self, flow: &impl ToInputArray, float_flow: &mut impl ToInputOutputArray, ) -> Result<()>

convertToFloat() helper function converts the hardware-generated flow vectors to floating point representation (1 flow vector for gridSize). gridSize can be queried via function getGridSize(). Read more
Source§

impl CUDA_NvidiaOpticalFlow_2_0TraitConst for BoxedRefMut<'_, CUDA_NvidiaOpticalFlow_2_0>

Source§

fn as_raw_CUDA_NvidiaOpticalFlow_2_0( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl CUDA_ORBTrait for BoxedRefMut<'_, CUDA_ORB>

Source§

fn as_raw_mut_CUDA_ORB( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_max_features(&mut self, max_features: i32) -> Result<()>

Source§

fn set_scale_factor(&mut self, scale_factor: f64) -> Result<()>

Source§

fn set_n_levels(&mut self, nlevels: i32) -> Result<()>

Source§

fn set_edge_threshold(&mut self, edge_threshold: i32) -> Result<()>

Source§

fn set_first_level(&mut self, first_level: i32) -> Result<()>

Source§

fn set_wta_k(&mut self, wta_k: i32) -> Result<()>

Source§

fn set_score_type(&mut self, score_type: i32) -> Result<()>

Source§

fn set_patch_size(&mut self, patch_size: i32) -> Result<()>

Source§

fn set_fast_threshold(&mut self, fast_threshold: i32) -> Result<()>

Source§

fn set_blur_for_descriptor(&mut self, blur_for_descriptor: bool) -> Result<()>

if true, image will be blurred before descriptors calculation
Source§

impl CUDA_ORBTraitConst for BoxedRefMut<'_, CUDA_ORB>

Source§

impl CUDA_OpticalFlowDual_TVL1Trait for BoxedRefMut<'_, CUDA_OpticalFlowDual_TVL1>

Source§

fn as_raw_mut_CUDA_OpticalFlowDual_TVL1( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_tau(&mut self, tau: f64) -> Result<()>

Source§

fn set_lambda(&mut self, lambda: f64) -> Result<()>

Source§

fn set_gamma(&mut self, gamma: f64) -> Result<()>

Source§

fn set_theta(&mut self, theta: f64) -> Result<()>

Source§

fn set_num_scales(&mut self, nscales: i32) -> Result<()>

Source§

fn set_num_warps(&mut self, warps: i32) -> Result<()>

Source§

fn set_epsilon(&mut self, epsilon: f64) -> Result<()>

Source§

fn set_num_iterations(&mut self, iterations: i32) -> Result<()>

Source§

fn set_scale_step(&mut self, scale_step: f64) -> Result<()>

Source§

fn set_use_initial_flow(&mut self, use_initial_flow: bool) -> Result<()>

Source§

impl CUDA_OpticalFlowDual_TVL1TraitConst for BoxedRefMut<'_, CUDA_OpticalFlowDual_TVL1>

Source§

fn as_raw_CUDA_OpticalFlowDual_TVL1( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_tau(&self) -> Result<f64>

Time step of the numerical scheme.
Source§

fn get_lambda(&self) -> Result<f64>

Weight parameter for the data term, attachment parameter. This is the most relevant parameter, which determines the smoothness of the output. The smaller this parameter is, the smoother the solutions we obtain. It depends on the range of motions of the images, so its value should be adapted to each image sequence.
Source§

fn get_gamma(&self) -> Result<f64>

Weight parameter for (u - v)^2, tightness parameter. It serves as a link between the attachment and the regularization terms. In theory, it should have a small value in order to maintain both parts in correspondence. The method is stable for a large range of values of this parameter.
Source§

fn get_theta(&self) -> Result<f64>

parameter used for motion estimation. It adds a variable allowing for illumination variations Set this parameter to 1. if you have varying illumination. See: Chambolle et al, A First-Order Primal-Dual Algorithm for Convex Problems with Applications to Imaging Journal of Mathematical imaging and vision, may 2011 Vol 40 issue 1, pp 120-145
Source§

fn get_num_scales(&self) -> Result<i32>

Number of scales used to create the pyramid of images.
Source§

fn get_num_warps(&self) -> Result<i32>

Number of warpings per scale. Represents the number of times that I1(x+u0) and grad( I1(x+u0) ) are computed per scale. This is a parameter that assures the stability of the method. It also affects the running time, so it is a compromise between speed and accuracy.
Source§

fn get_epsilon(&self) -> Result<f64>

Stopping criterion threshold used in the numerical scheme, which is a trade-off between precision and running time. A small value will yield more accurate solutions at the expense of a slower convergence.
Source§

fn get_num_iterations(&self) -> Result<i32>

Stopping criterion iterations number used in the numerical scheme.
Source§

fn get_scale_step(&self) -> Result<f64>

Source§

fn get_use_initial_flow(&self) -> Result<bool>

Source§

impl CUDA_RawVideoSourceTrait for BoxedRefMut<'_, CUDA_RawVideoSource>

Source§

fn as_raw_mut_CUDA_RawVideoSource( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

unsafe fn get_next_packet( &mut self, data: *mut *mut u8, size: &mut size_t, ) -> Result<bool>

Returns next packet with RAW video frame. Read more
Source§

fn update_format(&mut self, video_format: CUDA_FormatInfo) -> Result<()>

Updates the coded width and height inside format.
Source§

impl CUDA_RawVideoSourceTraitConst for BoxedRefMut<'_, CUDA_RawVideoSource>

Source§

fn as_raw_CUDA_RawVideoSource( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn last_packet_contains_key_frame(&self) -> Result<bool>

Returns true if the last packet contained a key frame.
Source§

fn format(&self) -> Result<CUDA_FormatInfo>

Returns information about video file format.
Source§

fn get_extra_data(&self, extra_data: &mut impl MatTrait) -> Result<()>

Returns any extra data associated with the video source. Read more
Source§

fn get(&self, property_id: i32, property_val: &mut f64) -> Result<bool>

Retrieves the specified property used by the VideoSource. Read more
Source§

fn get_first_frame_idx(&self) -> Result<i32>

Retrieve the index of the first frame that will returned after construction. Read more
Source§

impl CUDA_SparseOpticalFlowTrait for BoxedRefMut<'_, CUDA_SparseOpticalFlow>

Source§

fn as_raw_mut_CUDA_SparseOpticalFlow( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn calc( &mut self, prev_img: &impl ToInputArray, next_img: &impl ToInputArray, prev_pts: &impl ToInputArray, next_pts: &mut impl ToInputOutputArray, status: &mut impl ToOutputArray, err: &mut impl ToOutputArray, stream: &mut impl StreamTrait, ) -> Result<()>

Calculates a sparse optical flow. Read more
Source§

fn calc_def( &mut self, prev_img: &impl ToInputArray, next_img: &impl ToInputArray, prev_pts: &impl ToInputArray, next_pts: &mut impl ToInputOutputArray, status: &mut impl ToOutputArray, ) -> Result<()>

Calculates a sparse optical flow. Read more
Source§

impl CUDA_SparseOpticalFlowTrait for BoxedRefMut<'_, CUDA_SparsePyrLKOpticalFlow>

Source§

fn as_raw_mut_CUDA_SparseOpticalFlow( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn calc( &mut self, prev_img: &impl ToInputArray, next_img: &impl ToInputArray, prev_pts: &impl ToInputArray, next_pts: &mut impl ToInputOutputArray, status: &mut impl ToOutputArray, err: &mut impl ToOutputArray, stream: &mut impl StreamTrait, ) -> Result<()>

Calculates a sparse optical flow. Read more
Source§

fn calc_def( &mut self, prev_img: &impl ToInputArray, next_img: &impl ToInputArray, prev_pts: &impl ToInputArray, next_pts: &mut impl ToInputOutputArray, status: &mut impl ToOutputArray, ) -> Result<()>

Calculates a sparse optical flow. Read more
Source§

impl CUDA_SparseOpticalFlowTraitConst for BoxedRefMut<'_, CUDA_SparseOpticalFlow>

Source§

fn as_raw_CUDA_SparseOpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl CUDA_SparseOpticalFlowTraitConst for BoxedRefMut<'_, CUDA_SparsePyrLKOpticalFlow>

Source§

fn as_raw_CUDA_SparseOpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl CUDA_SparsePyrLKOpticalFlowTrait for BoxedRefMut<'_, CUDA_SparsePyrLKOpticalFlow>

Source§

fn as_raw_mut_CUDA_SparsePyrLKOpticalFlow( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_win_size(&mut self, win_size: Size) -> Result<()>

Source§

fn set_max_level(&mut self, max_level: i32) -> Result<()>

Source§

fn set_num_iters(&mut self, iters: i32) -> Result<()>

Source§

fn set_use_initial_flow(&mut self, use_initial_flow: bool) -> Result<()>

Source§

impl CUDA_SparsePyrLKOpticalFlowTraitConst for BoxedRefMut<'_, CUDA_SparsePyrLKOpticalFlow>

Source§

fn as_raw_CUDA_SparsePyrLKOpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_win_size(&self) -> Result<Size>

Source§

fn get_max_level(&self) -> Result<i32>

Source§

fn get_num_iters(&self) -> Result<i32>

Source§

fn get_use_initial_flow(&self) -> Result<bool>

Source§

impl CUDA_StereoBMTrait for BoxedRefMut<'_, CUDA_StereoBM>

Source§

fn as_raw_mut_CUDA_StereoBM( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn compute( &mut self, left: &impl ToInputArray, right: &impl ToInputArray, disparity: &mut impl ToOutputArray, stream: &mut impl StreamTrait, ) -> Result<()>

Source§

impl CUDA_StereoBMTraitConst for BoxedRefMut<'_, CUDA_StereoBM>

Source§

fn as_raw_CUDA_StereoBM( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl CUDA_StereoBeliefPropagationTrait for BoxedRefMut<'_, CUDA_StereoBeliefPropagation>

Source§

fn as_raw_mut_CUDA_StereoBeliefPropagation( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn compute( &mut self, left: &impl ToInputArray, right: &impl ToInputArray, disparity: &mut impl ToOutputArray, stream: &mut impl StreamTrait, ) -> Result<()>

Enables the stereo correspondence operator that finds the disparity for the specified data cost. Read more
Source§

fn compute_1( &mut self, data: &impl ToInputArray, disparity: &mut impl ToOutputArray, stream: &mut impl StreamTrait, ) -> Result<()>

Enables the stereo correspondence operator that finds the disparity for the specified data cost. Read more
Source§

fn compute_def( &mut self, data: &impl ToInputArray, disparity: &mut impl ToOutputArray, ) -> Result<()>

Enables the stereo correspondence operator that finds the disparity for the specified data cost. Read more
Source§

fn set_num_iters(&mut self, iters: i32) -> Result<()>

Source§

fn set_num_levels(&mut self, levels: i32) -> Result<()>

Source§

fn set_max_data_term(&mut self, max_data_term: f64) -> Result<()>

Source§

fn set_data_weight(&mut self, data_weight: f64) -> Result<()>

Source§

fn set_max_disc_term(&mut self, max_disc_term: f64) -> Result<()>

Source§

fn set_disc_single_jump(&mut self, disc_single_jump: f64) -> Result<()>

Source§

fn set_msg_type(&mut self, msg_type: i32) -> Result<()>

Source§

impl CUDA_StereoBeliefPropagationTrait for BoxedRefMut<'_, CUDA_StereoConstantSpaceBP>

Source§

fn as_raw_mut_CUDA_StereoBeliefPropagation( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn compute( &mut self, left: &impl ToInputArray, right: &impl ToInputArray, disparity: &mut impl ToOutputArray, stream: &mut impl StreamTrait, ) -> Result<()>

Enables the stereo correspondence operator that finds the disparity for the specified data cost. Read more
Source§

fn compute_1( &mut self, data: &impl ToInputArray, disparity: &mut impl ToOutputArray, stream: &mut impl StreamTrait, ) -> Result<()>

Enables the stereo correspondence operator that finds the disparity for the specified data cost. Read more
Source§

fn compute_def( &mut self, data: &impl ToInputArray, disparity: &mut impl ToOutputArray, ) -> Result<()>

Enables the stereo correspondence operator that finds the disparity for the specified data cost. Read more
Source§

fn set_num_iters(&mut self, iters: i32) -> Result<()>

Source§

fn set_num_levels(&mut self, levels: i32) -> Result<()>

Source§

fn set_max_data_term(&mut self, max_data_term: f64) -> Result<()>

Source§

fn set_data_weight(&mut self, data_weight: f64) -> Result<()>

Source§

fn set_max_disc_term(&mut self, max_disc_term: f64) -> Result<()>

Source§

fn set_disc_single_jump(&mut self, disc_single_jump: f64) -> Result<()>

Source§

fn set_msg_type(&mut self, msg_type: i32) -> Result<()>

Source§

impl CUDA_StereoBeliefPropagationTraitConst for BoxedRefMut<'_, CUDA_StereoBeliefPropagation>

Source§

fn as_raw_CUDA_StereoBeliefPropagation( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_num_iters(&self) -> Result<i32>

number of BP iterations on each level
Source§

fn get_num_levels(&self) -> Result<i32>

number of levels
Source§

fn get_max_data_term(&self) -> Result<f64>

truncation of data cost
Source§

fn get_data_weight(&self) -> Result<f64>

data weight
Source§

fn get_max_disc_term(&self) -> Result<f64>

truncation of discontinuity cost
Source§

fn get_disc_single_jump(&self) -> Result<f64>

discontinuity single jump
Source§

fn get_msg_type(&self) -> Result<i32>

type for messages (CV_16SC1 or CV_32FC1)
Source§

impl CUDA_StereoBeliefPropagationTraitConst for BoxedRefMut<'_, CUDA_StereoConstantSpaceBP>

Source§

fn as_raw_CUDA_StereoBeliefPropagation( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_num_iters(&self) -> Result<i32>

number of BP iterations on each level
Source§

fn get_num_levels(&self) -> Result<i32>

number of levels
Source§

fn get_max_data_term(&self) -> Result<f64>

truncation of data cost
Source§

fn get_data_weight(&self) -> Result<f64>

data weight
Source§

fn get_max_disc_term(&self) -> Result<f64>

truncation of discontinuity cost
Source§

fn get_disc_single_jump(&self) -> Result<f64>

discontinuity single jump
Source§

fn get_msg_type(&self) -> Result<i32>

type for messages (CV_16SC1 or CV_32FC1)
Source§

impl CUDA_StereoConstantSpaceBPTrait for BoxedRefMut<'_, CUDA_StereoConstantSpaceBP>

Source§

fn as_raw_mut_CUDA_StereoConstantSpaceBP( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_nr_plane(&mut self, nr_plane: i32) -> Result<()>

Source§

fn set_use_local_init_data_cost( &mut self, use_local_init_data_cost: bool, ) -> Result<()>

Source§

impl CUDA_StereoConstantSpaceBPTraitConst for BoxedRefMut<'_, CUDA_StereoConstantSpaceBP>

Source§

fn as_raw_CUDA_StereoConstantSpaceBP( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_nr_plane(&self) -> Result<i32>

number of active disparity on the first level
Source§

fn get_use_local_init_data_cost(&self) -> Result<bool>

Source§

impl CUDA_StereoSGMTrait for BoxedRefMut<'_, CUDA_StereoSGM>

Source§

fn as_raw_mut_CUDA_StereoSGM( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn compute( &mut self, left: &impl ToInputArray, right: &impl ToInputArray, disparity: &mut impl ToOutputArray, ) -> Result<()>

Computes disparity map for the specified stereo pair Read more
Source§

fn compute_with_stream( &mut self, left: &impl ToInputArray, right: &impl ToInputArray, disparity: &mut impl ToOutputArray, stream: &mut impl StreamTrait, ) -> Result<()>

Computes disparity map with specified CUDA Stream Read more
Source§

impl CUDA_StereoSGMTraitConst for BoxedRefMut<'_, CUDA_StereoSGM>

Source§

fn as_raw_CUDA_StereoSGM( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl CUDA_TemplateMatchingTrait for BoxedRefMut<'_, CUDA_TemplateMatching>

Source§

fn as_raw_mut_CUDA_TemplateMatching( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn match_( &mut self, image: &impl ToInputArray, templ: &impl ToInputArray, result: &mut impl ToOutputArray, stream: &mut impl StreamTrait, ) -> Result<()>

Computes a proximity map for a raster template and an image where the template is searched for. Read more
Source§

fn match__def( &mut self, image: &impl ToInputArray, templ: &impl ToInputArray, result: &mut impl ToOutputArray, ) -> Result<()>

Computes a proximity map for a raster template and an image where the template is searched for. Read more
Source§

impl CUDA_TemplateMatchingTraitConst for BoxedRefMut<'_, CUDA_TemplateMatching>

Source§

fn as_raw_CUDA_TemplateMatching( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl CUDA_VideoReaderTrait for BoxedRefMut<'_, CUDA_VideoReader>

Source§

fn as_raw_mut_CUDA_VideoReader( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn next_frame( &mut self, frame: &mut impl GpuMatTrait, stream: &mut impl StreamTrait, ) -> Result<bool>

Grabs, decodes and returns the next video frame. Read more
Source§

fn next_frame_def(&mut self, frame: &mut impl GpuMatTrait) -> Result<bool>

Grabs, decodes and returns the next video frame. Read more
Source§

fn next_frame_with_hist( &mut self, frame: &mut impl GpuMatTrait, histogram: &mut impl GpuMatTrait, stream: &mut impl StreamTrait, ) -> Result<bool>

Grabs, decodes and returns the next video frame and frame luma histogram. Read more
Source§

fn next_frame_with_hist_def( &mut self, frame: &mut impl GpuMatTrait, histogram: &mut impl GpuMatTrait, ) -> Result<bool>

Grabs, decodes and returns the next video frame and frame luma histogram. Read more
Source§

fn grab(&mut self, stream: &mut impl StreamTrait) -> Result<bool>

Grabs the next frame from the video source. Read more
Source§

fn grab_def(&mut self) -> Result<bool>

Grabs the next frame from the video source. Read more
Source§

fn set( &mut self, property_id: CUDA_VideoReaderProps, property_val: f64, ) -> Result<bool>

Sets a property in the VideoReader. Read more
Source§

fn set_video_reader_props( &mut self, property_id: CUDA_VideoReaderProps, property_val: f64, ) -> Result<bool>

Source§

fn set_1( &mut self, color_format: CUDA_ColorFormat, bit_depth: CUDA_BitDepth, planar: bool, ) -> Result<bool>

Set the desired ColorFormat for the frame returned by nextFrame()/retrieve(). Read more
Source§

fn set_def(&mut self, color_format: CUDA_ColorFormat) -> Result<bool>

Set the desired ColorFormat for the frame returned by nextFrame()/retrieve(). Read more
Source§

impl CUDA_VideoReaderTraitConst for BoxedRefMut<'_, CUDA_VideoReader>

Source§

fn as_raw_CUDA_VideoReader( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn format(&self) -> Result<CUDA_FormatInfo>

Returns information about video file format.
Source§

fn retrieve(&self, frame: &mut impl ToOutputArray, idx: size_t) -> Result<bool>

Returns previously grabbed video data. Read more
Source§

fn retrieve_def(&self, frame: &mut impl ToOutputArray) -> Result<bool>

Returns previously grabbed video data. Read more
Source§

fn retrieve_1(&self, frame: &mut impl MatTrait, idx: size_t) -> Result<bool>

Returns previously grabbed encoded video data. Read more
Source§

fn retrieve_2(&self, frame: &mut impl GpuMatTrait) -> Result<bool>

Returns the next video frame. Read more
Source§

fn get( &self, property_id: CUDA_VideoReaderProps, property_val: &mut f64, ) -> Result<bool>

Returns the specified VideoReader property Read more
Source§

fn get_video_reader_props( &self, property_id: CUDA_VideoReaderProps, property_val_out: &mut f64, property_val_in: f64, ) -> Result<bool>

C++ default parameters Read more
Source§

fn get_video_reader_props_def( &self, property_id: CUDA_VideoReaderProps, property_val_out: &mut f64, ) -> Result<bool>

Source§

fn get_1(&self, property_id: i32, property_val: &mut f64) -> Result<bool>

Retrieves the specified property used by the VideoSource. Read more
Source§

impl CUDA_VideoWriterTrait for BoxedRefMut<'_, CUDA_VideoWriter>

Source§

fn as_raw_mut_CUDA_VideoWriter( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn write(&mut self, frame: &impl ToInputArray) -> Result<()>

Writes the next video frame. Read more
Source§

fn release(&mut self) -> Result<()>

Waits until the encoding process has finished before calling EncoderCallback::onEncodingFinished().
Source§

impl CUDA_VideoWriterTraitConst for BoxedRefMut<'_, CUDA_VideoWriter>

Source§

fn as_raw_CUDA_VideoWriter( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_encoder_params(&self) -> Result<CUDA_EncoderParams>

Retrieve the encoding parameters.
Source§

impl CalibrateCRFTrait for BoxedRefMut<'_, CalibrateCRF>

Source§

fn as_raw_mut_CalibrateCRF( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn process( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, times: &impl ToInputArray, ) -> Result<()>

Recovers inverse camera response. Read more
Source§

impl CalibrateCRFTrait for BoxedRefMut<'_, CalibrateDebevec>

Source§

fn as_raw_mut_CalibrateCRF( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn process( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, times: &impl ToInputArray, ) -> Result<()>

Recovers inverse camera response. Read more
Source§

impl CalibrateCRFTrait for BoxedRefMut<'_, CalibrateRobertson>

Source§

fn as_raw_mut_CalibrateCRF( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn process( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, times: &impl ToInputArray, ) -> Result<()>

Recovers inverse camera response. Read more
Source§

impl CalibrateCRFTraitConst for BoxedRefMut<'_, CalibrateCRF>

Source§

fn as_raw_CalibrateCRF(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl CalibrateCRFTraitConst for BoxedRefMut<'_, CalibrateDebevec>

Source§

fn as_raw_CalibrateCRF(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl CalibrateCRFTraitConst for BoxedRefMut<'_, CalibrateRobertson>

Source§

fn as_raw_CalibrateCRF(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl CalibrateDebevecTrait for BoxedRefMut<'_, CalibrateDebevec>

Source§

fn as_raw_mut_CalibrateDebevec( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_lambda(&mut self, lambda: f32) -> Result<()>

Source§

fn set_samples(&mut self, samples: i32) -> Result<()>

Source§

fn set_random(&mut self, random: bool) -> Result<()>

Source§

impl CalibrateDebevecTraitConst for BoxedRefMut<'_, CalibrateDebevec>

Source§

fn as_raw_CalibrateDebevec( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_lambda(&self) -> Result<f32>

Source§

fn get_samples(&self) -> Result<i32>

Source§

fn get_random(&self) -> Result<bool>

Source§

impl CalibrateRobertsonTrait for BoxedRefMut<'_, CalibrateRobertson>

Source§

fn as_raw_mut_CalibrateRobertson( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_max_iter(&mut self, max_iter: i32) -> Result<()>

Source§

fn set_threshold(&mut self, threshold: f32) -> Result<()>

Source§

impl CalibrateRobertsonTraitConst for BoxedRefMut<'_, CalibrateRobertson>

Source§

fn as_raw_CalibrateRobertson( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_max_iter(&self) -> Result<i32>

Source§

fn get_threshold(&self) -> Result<f32>

Source§

fn get_radiance(&self) -> Result<Mat>

Source§

impl CallMetaDataTrait for BoxedRefMut<'_, CallMetaData>

Source§

fn as_raw_mut_CallMetaData( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn to_bool(&mut self) -> Result<bool>

Source§

impl CallMetaDataTraitConst for BoxedRefMut<'_, CallMetaData>

Source§

fn as_raw_CallMetaData(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn file(&self) -> String

Source§

fn line(&self) -> size_t

Source§

fn function(&self) -> String

Source§

fn is_known(&self) -> bool

Whether *this holds actual data.
Source§

impl CameraTrait for BoxedRefMut<'_, Camera>

Source§

fn as_raw_mut_Camera( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_clip(&mut self, clip: Vec2d) -> Result<()>

Source§

fn set_window_size(&mut self, window_size: Size) -> Result<()>

Source§

fn set_fov(&mut self, fov: Vec2d) -> Result<()>

Source§

impl CameraTraitConst for BoxedRefMut<'_, Camera>

Source§

fn as_raw_Camera(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_clip(&self) -> Result<Vec2d>

Source§

fn get_window_size(&self) -> Result<Size>

Source§

fn get_fov(&self) -> Result<Vec2d>

Source§

fn get_principal_point(&self) -> Result<Vec2d>

Source§

fn get_focal_length(&self) -> Result<Vec2d>

Source§

fn compute_projection_matrix(&self, proj: &mut Matx44d) -> Result<()>

Computes projection matrix using intrinsic parameters of the camera. Read more
Source§

impl CascadeClassifierTrait for BoxedRefMut<'_, CascadeClassifier>

Source§

fn as_raw_mut_CascadeClassifier( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn cc(&mut self) -> Ptr<BaseCascadeClassifier>

Source§

fn set_cc(&mut self, val: Ptr<BaseCascadeClassifier>)

Source§

fn load(&mut self, filename: &str) -> Result<bool>

Loads a classifier from a file. Read more
Source§

fn read(&mut self, node: &impl FileNodeTraitConst) -> Result<bool>

Reads a classifier from a FileStorage node. Read more
Source§

fn detect_multi_scale( &mut self, image: &impl ToInputArray, objects: &mut Vector<Rect>, scale_factor: f64, min_neighbors: i32, flags: i32, min_size: Size, max_size: Size, ) -> Result<()>

Detects objects of different sizes in the input image. The detected objects are returned as a list of rectangles. Read more
Source§

fn detect_multi_scale_def( &mut self, image: &impl ToInputArray, objects: &mut Vector<Rect>, ) -> Result<()>

Detects objects of different sizes in the input image. The detected objects are returned as a list of rectangles. Read more
Source§

fn detect_multi_scale2( &mut self, image: &impl ToInputArray, objects: &mut Vector<Rect>, num_detections: &mut Vector<i32>, scale_factor: f64, min_neighbors: i32, flags: i32, min_size: Size, max_size: Size, ) -> Result<()>

Detects objects of different sizes in the input image. The detected objects are returned as a list of rectangles. Read more
Source§

fn detect_multi_scale2_def( &mut self, image: &impl ToInputArray, objects: &mut Vector<Rect>, num_detections: &mut Vector<i32>, ) -> Result<()>

@overload Read more
Source§

fn detect_multi_scale3( &mut self, image: &impl ToInputArray, objects: &mut Vector<Rect>, reject_levels: &mut Vector<i32>, level_weights: &mut Vector<f64>, scale_factor: f64, min_neighbors: i32, flags: i32, min_size: Size, max_size: Size, output_reject_levels: bool, ) -> Result<()>

Detects objects of different sizes in the input image. The detected objects are returned as a list of rectangles. Read more
Source§

fn detect_multi_scale3_def( &mut self, image: &impl ToInputArray, objects: &mut Vector<Rect>, reject_levels: &mut Vector<i32>, level_weights: &mut Vector<f64>, ) -> Result<()>

@overload This function allows you to retrieve the final stage decision certainty of classification. For this, one needs to set outputRejectLevels on true and provide the rejectLevels and levelWeights parameter. For each resulting detection, levelWeights will then contain the certainty of classification at the final stage. This value can then be used to separate strong from weaker classifications. Read more
Source§

fn get_old_cascade(&mut self) -> Result<*mut c_void>

Source§

fn set_mask_generator( &mut self, mask_generator: &Ptr<BaseCascadeClassifier_MaskGenerator>, ) -> Result<()>

Source§

fn get_mask_generator( &mut self, ) -> Result<Ptr<BaseCascadeClassifier_MaskGenerator>>

Source§

impl CascadeClassifierTraitConst for BoxedRefMut<'_, CascadeClassifier>

Source§

fn as_raw_CascadeClassifier( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn empty(&self) -> Result<bool>

Checks whether the classifier has been loaded.
Source§

fn is_old_format_cascade(&self) -> Result<bool>

Source§

fn get_original_window_size(&self) -> Result<Size>

Source§

fn get_feature_type(&self) -> Result<i32>

Source§

impl CeilLayerTrait for BoxedRefMut<'_, CeilLayer>

Source§

fn as_raw_mut_CeilLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl CeilLayerTraitConst for BoxedRefMut<'_, CeilLayer>

Source§

fn as_raw_CeilLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl CeluLayerTrait for BoxedRefMut<'_, CeluLayer>

Source§

fn as_raw_mut_CeluLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_alpha(&mut self, val: f32)

Source§

impl CeluLayerTraitConst for BoxedRefMut<'_, CeluLayer>

Source§

fn as_raw_CeluLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn alpha(&self) -> f32

Source§

impl ChannelsPReLULayerTrait for BoxedRefMut<'_, ChannelsPReLULayer>

Source§

fn as_raw_mut_ChannelsPReLULayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ChannelsPReLULayerTraitConst for BoxedRefMut<'_, ChannelsPReLULayer>

Source§

fn as_raw_ChannelsPReLULayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl CharucoBoardTrait for BoxedRefMut<'_, CharucoBoard>

Source§

fn as_raw_mut_CharucoBoard( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_legacy_pattern(&mut self, legacy_pattern: bool) -> Result<()>

set legacy chessboard pattern. Read more
Source§

impl CharucoBoardTraitConst for BoxedRefMut<'_, CharucoBoard>

Source§

fn as_raw_CharucoBoard(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_legacy_pattern(&self) -> Result<bool>

Source§

fn get_chessboard_size(&self) -> Result<Size>

Source§

fn get_square_length(&self) -> Result<f32>

Source§

fn get_marker_length(&self) -> Result<f32>

Source§

fn get_chessboard_corners(&self) -> Result<Vector<Point3f>>

get CharucoBoard::chessboardCorners
Source§

fn get_nearest_marker_idx(&self) -> Result<Vector<Vector<i32>>>

get CharucoBoard::nearestMarkerIdx, for each charuco corner, nearest marker index in ids array
Source§

fn get_nearest_marker_corners(&self) -> Result<Vector<Vector<i32>>>

get CharucoBoard::nearestMarkerCorners, for each charuco corner, nearest marker corner id of each marker
Source§

fn check_charuco_corners_collinear( &self, charuco_ids: &impl ToInputArray, ) -> Result<bool>

check whether the ChArUco markers are collinear Read more
Source§

impl CharucoDetectorTrait for BoxedRefMut<'_, CharucoDetector>

Source§

fn as_raw_mut_CharucoDetector( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_board(&mut self, board: &impl CharucoBoardTraitConst) -> Result<()>

Source§

fn set_charuco_parameters( &mut self, charuco_parameters: &mut impl CharucoParametersTrait, ) -> Result<()>

Source§

fn set_detector_parameters( &mut self, detector_parameters: &impl DetectorParametersTraitConst, ) -> Result<()>

Source§

fn set_refine_parameters( &mut self, refine_parameters: RefineParameters, ) -> Result<()>

Source§

impl CharucoDetectorTraitConst for BoxedRefMut<'_, CharucoDetector>

Source§

fn as_raw_CharucoDetector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_board(&self) -> Result<CharucoBoard>

Source§

fn get_charuco_parameters(&self) -> Result<CharucoParameters>

Source§

fn get_detector_parameters(&self) -> Result<DetectorParameters>

Source§

fn get_refine_parameters(&self) -> Result<RefineParameters>

Source§

fn detect_board( &self, image: &impl ToInputArray, charuco_corners: &mut impl ToOutputArray, charuco_ids: &mut impl ToOutputArray, marker_corners: &mut impl ToInputOutputArray, marker_ids: &mut impl ToInputOutputArray, ) -> Result<()>

detect aruco markers and interpolate position of ChArUco board corners Read more
Source§

fn detect_board_def( &self, image: &impl ToInputArray, charuco_corners: &mut impl ToOutputArray, charuco_ids: &mut impl ToOutputArray, ) -> Result<()>

detect aruco markers and interpolate position of ChArUco board corners Read more
Source§

fn detect_diamonds( &self, image: &impl ToInputArray, diamond_corners: &mut impl ToOutputArray, diamond_ids: &mut impl ToOutputArray, marker_corners: &mut impl ToInputOutputArray, marker_ids: &mut impl ToInputOutputArray, ) -> Result<()>

Detect ChArUco Diamond markers Read more
Source§

fn detect_diamonds_def( &self, image: &impl ToInputArray, diamond_corners: &mut impl ToOutputArray, diamond_ids: &mut impl ToOutputArray, ) -> Result<()>

Detect ChArUco Diamond markers Read more
Source§

impl CharucoParametersTrait for BoxedRefMut<'_, CharucoParameters>

Source§

fn as_raw_mut_CharucoParameters( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_camera_matrix(&mut self, val: Mat)

cameraMatrix optional 3x3 floating-point camera matrix
Source§

fn set_dist_coeffs(&mut self, val: Mat)

distCoeffs optional vector of distortion coefficients
Source§

fn set_min_markers(&mut self, val: i32)

minMarkers number of adjacent markers that must be detected to return a charuco corner, default = 2
Source§

fn set_try_refine_markers(&mut self, val: bool)

try to use refine board, default false
Source§

fn set_check_markers(&mut self, val: bool)

run check to verify that markers belong to the same board, default true
Source§

impl CharucoParametersTraitConst for BoxedRefMut<'_, CharucoParameters>

Source§

fn as_raw_CharucoParameters( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn camera_matrix(&self) -> Mat

cameraMatrix optional 3x3 floating-point camera matrix
Source§

fn dist_coeffs(&self) -> Mat

distCoeffs optional vector of distortion coefficients
Source§

fn min_markers(&self) -> i32

minMarkers number of adjacent markers that must be detected to return a charuco corner, default = 2
Source§

fn try_refine_markers(&self) -> bool

try to use refine board, default false
Source§

fn check_markers(&self) -> bool

run check to verify that markers belong to the same board, default true
Source§

impl ChiHistogramCostExtractorTrait for BoxedRefMut<'_, ChiHistogramCostExtractor>

Source§

fn as_raw_mut_ChiHistogramCostExtractor( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ChiHistogramCostExtractorTraitConst for BoxedRefMut<'_, ChiHistogramCostExtractor>

Source§

fn as_raw_ChiHistogramCostExtractor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl ClassificationModelTrait for BoxedRefMut<'_, ClassificationModel>

Source§

fn as_raw_mut_ClassificationModel( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_enable_softmax_post_processing( &mut self, enable: bool, ) -> Result<ClassificationModel>

Set enable/disable softmax post processing option. Read more
Source§

fn classify(&mut self, frame: &impl ToInputArray) -> Result<Tuple<(i32, f32)>>

Given the @p input frame, create input blob, run net and return top-1 prediction. Read more
Source§

fn classify_1( &mut self, frame: &impl ToInputArray, class_id: &mut i32, conf: &mut f32, ) -> Result<()>

Given the @p input frame, create input blob, run net and return top-1 prediction. Read more
Source§

impl ClassificationModelTraitConst for BoxedRefMut<'_, ClassificationModel>

Source§

fn as_raw_ClassificationModel( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_enable_softmax_post_processing(&self) -> Result<bool>

Get enable/disable softmax post processing option. Read more
Source§

impl ColorAverageInpainterTrait for BoxedRefMut<'_, ColorAverageInpainter>

Source§

fn as_raw_mut_ColorAverageInpainter( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn inpaint( &mut self, idx: i32, frame: &mut impl MatTrait, mask: &mut impl MatTrait, ) -> Result<()>

Source§

impl ColorAverageInpainterTraitConst for BoxedRefMut<'_, ColorAverageInpainter>

Source§

fn as_raw_ColorAverageInpainter( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl ColorCorrectionModelTrait for BoxedRefMut<'_, ColorCorrectionModel>

Source§

fn as_raw_mut_ColorCorrectionModel( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_color_space(&mut self, cs: COLOR_SPACE) -> Result<()>

set ColorSpace Read more
Source§

fn set_ccm_type(&mut self, ccm_type: CCM_TYPE) -> Result<()>

set ccm_type Read more
Source§

fn set_distance(&mut self, distance: DISTANCE_TYPE) -> Result<()>

set Distance Read more
Source§

fn set_linear(&mut self, linear_type: LINEAR_TYPE) -> Result<()>

set Linear Read more
Source§

fn set_linear_gamma(&mut self, gamma: &f64) -> Result<()>

set Gamma Read more
Source§

fn set_linear_degree(&mut self, deg: &i32) -> Result<()>

set degree Read more
Source§

fn set_saturated_threshold(&mut self, lower: &f64, upper: &f64) -> Result<()>

set SaturatedThreshold. The colors in the closed interval [lower, upper] are reserved to participate in the calculation of the loss function and initialization parameters Read more
Source§

fn set_weights_list(&mut self, weights_list: &impl MatTraitConst) -> Result<()>

set WeightsList Read more
Source§

fn set_weight_coeff(&mut self, weights_coeff: &f64) -> Result<()>

set WeightCoeff Read more
Source§

fn set_initial_method( &mut self, initial_method_type: INITIAL_METHOD_TYPE, ) -> Result<()>

set InitialMethod Read more
Source§

fn set_max_count(&mut self, max_count: &i32) -> Result<()>

set MaxCount Read more
Source§

fn set_epsilon(&mut self, epsilon: &f64) -> Result<()>

set Epsilon Read more
Source§

fn run(&mut self) -> Result<()>

make color correction
Source§

fn infer(&mut self, img: &impl MatTraitConst, islinear: bool) -> Result<Mat>

Infer using fitting ccm. Read more
Source§

fn infer_def(&mut self, img: &impl MatTraitConst) -> Result<Mat>

Infer using fitting ccm. Read more
Source§

impl ColorCorrectionModelTraitConst for BoxedRefMut<'_, ColorCorrectionModel>

Source§

fn as_raw_ColorCorrectionModel( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_ccm(&self) -> Result<Mat>

Source§

fn get_loss(&self) -> Result<f64>

Source§

fn get_src_rgbl(&self) -> Result<Mat>

Source§

fn get_dst_rgbl(&self) -> Result<Mat>

Source§

fn get_mask(&self) -> Result<Mat>

Source§

fn get_weights(&self) -> Result<Mat>

Source§

impl ColorInpainterTrait for BoxedRefMut<'_, ColorInpainter>

Source§

fn as_raw_mut_ColorInpainter( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn inpaint( &mut self, idx: i32, frame: &mut impl MatTrait, mask: &mut impl MatTrait, ) -> Result<()>

Source§

impl ColorInpainterTraitConst for BoxedRefMut<'_, ColorInpainter>

Source§

fn as_raw_ColorInpainter( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl ColorMomentHashTrait for BoxedRefMut<'_, ColorMomentHash>

Source§

fn as_raw_mut_ColorMomentHash( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ColorMomentHashTraitConst for BoxedRefMut<'_, ColorMomentHash>

Source§

fn as_raw_ColorMomentHash( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl ColorTrait for BoxedRefMut<'_, Color>

Source§

fn as_raw_mut_Color( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ColorTraitConst for BoxedRefMut<'_, Color>

Source§

fn as_raw_Color(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn to_vec3b(&self) -> Result<Vec3b>

Source§

impl ColoredKinfu_ColoredKinFuTrait for BoxedRefMut<'_, ColoredKinfu_ColoredKinFu>

Source§

fn as_raw_mut_ColoredKinfu_ColoredKinFu( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn reset(&mut self) -> Result<()>

Resets the algorithm Read more
Source§

fn update( &mut self, depth: &impl ToInputArray, rgb: &impl ToInputArray, ) -> Result<bool>

Process next depth frame Read more
Source§

impl ColoredKinfu_ColoredKinFuTraitConst for BoxedRefMut<'_, ColoredKinfu_ColoredKinFu>

Source§

fn as_raw_ColoredKinfu_ColoredKinFu( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_params(&self) -> Result<ColoredKinfu_Params>

Get current parameters
Source§

fn render(&self, image: &mut impl ToOutputArray) -> Result<()>

Renders a volume into an image Read more
Source§

fn render_1( &self, image: &mut impl ToOutputArray, camera_pose: Matx44f, ) -> Result<()>

Renders a volume into an image Read more
Source§

fn get_cloud( &self, points: &mut impl ToOutputArray, normals: &mut impl ToOutputArray, colors: &mut impl ToOutputArray, ) -> Result<()>

Gets points, normals and colors of current 3d mesh Read more
Source§

fn get_cloud_def( &self, points: &mut impl ToOutputArray, normals: &mut impl ToOutputArray, ) -> Result<()>

Gets points, normals and colors of current 3d mesh Read more
Source§

fn get_points(&self, points: &mut impl ToOutputArray) -> Result<()>

Gets points of current 3d mesh Read more
Source§

fn get_normals( &self, points: &impl ToInputArray, normals: &mut impl ToOutputArray, ) -> Result<()>

Calculates normals for given points Read more
Source§

fn get_pose(&self) -> Result<Affine3f>

Get current pose in voxel space
Source§

impl ColoredKinfu_ParamsTrait for BoxedRefMut<'_, ColoredKinfu_Params>

Source§

fn as_raw_mut_ColoredKinfu_Params( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_frame_size(&mut self, val: Size)

frame size in pixels
Source§

fn set_rgb_frame_size(&mut self, val: Size)

rgb frame size in pixels
Source§

fn set_volume_type(&mut self, val: Kinfu_VolumeType)

Source§

fn set_intr(&mut self, val: Matx33f)

camera intrinsics
Source§

fn set_rgb_intr(&mut self, val: Matx33f)

rgb camera intrinsics
Source§

fn set_depth_factor(&mut self, val: f32)

pre-scale per 1 meter for input values Read more
Source§

fn set_bilateral_sigma_depth(&mut self, val: f32)

Depth sigma in meters for bilateral smooth
Source§

fn set_bilateral_sigma_spatial(&mut self, val: f32)

Spatial sigma in pixels for bilateral smooth
Source§

fn set_bilateral_kernel_size(&mut self, val: i32)

Kernel size in pixels for bilateral smooth
Source§

fn set_pyramid_levels(&mut self, val: i32)

Number of pyramid levels for ICP
Source§

fn set_volume_dims(&mut self, val: Vec3i)

Resolution of voxel space Read more
Source§

fn set_voxel_size(&mut self, val: f32)

Size of voxel in meters
Source§

fn set_tsdf_min_camera_movement(&mut self, val: f32)

Minimal camera movement in meters Read more
Source§

fn set_volume_pose(&mut self, val: Affine3f)

initial volume pose in meters
Source§

fn set_tsdf_trunc_dist(&mut self, val: f32)

distance to truncate in meters Read more
Source§

fn set_tsdf_max_weight(&mut self, val: i32)

max number of frames per voxel Read more
Source§

fn set_raycast_step_factor(&mut self, val: f32)

A length of one raycast step Read more
Source§

fn set_light_pose(&mut self, val: Vec3f)

light pose for rendering in meters
Source§

fn set_icp_dist_thresh(&mut self, val: f32)

distance theshold for ICP in meters
Source§

fn set_icp_angle_thresh(&mut self, val: f32)

angle threshold for ICP in radians
Source§

fn set_icp_iterations(&mut self, val: Vector<i32>)

number of ICP iterations for each pyramid level
Source§

fn set_truncate_threshold(&mut self, val: f32)

Threshold for depth truncation in meters Read more
Source§

fn set_initial_volume_pose(&mut self, r: Matx33f, t: Vec3f) -> Result<()>

Set Initial Volume Pose Sets the initial pose of the TSDF volume. Read more
Source§

fn set_initial_volume_pose_1(&mut self, homogen_tf: Matx44f) -> Result<()>

Set Initial Volume Pose Sets the initial pose of the TSDF volume. Read more
Source§

impl ColoredKinfu_ParamsTraitConst for BoxedRefMut<'_, ColoredKinfu_Params>

Source§

fn as_raw_ColoredKinfu_Params( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn frame_size(&self) -> Size

frame size in pixels
Source§

fn rgb_frame_size(&self) -> Size

rgb frame size in pixels
Source§

fn volume_type(&self) -> Kinfu_VolumeType

Source§

fn intr(&self) -> Matx33f

camera intrinsics
Source§

fn rgb_intr(&self) -> Matx33f

rgb camera intrinsics
Source§

fn depth_factor(&self) -> f32

pre-scale per 1 meter for input values Read more
Source§

fn bilateral_sigma_depth(&self) -> f32

Depth sigma in meters for bilateral smooth
Source§

fn bilateral_sigma_spatial(&self) -> f32

Spatial sigma in pixels for bilateral smooth
Source§

fn bilateral_kernel_size(&self) -> i32

Kernel size in pixels for bilateral smooth
Source§

fn pyramid_levels(&self) -> i32

Number of pyramid levels for ICP
Source§

fn volume_dims(&self) -> Vec3i

Resolution of voxel space Read more
Source§

fn voxel_size(&self) -> f32

Size of voxel in meters
Source§

fn tsdf_min_camera_movement(&self) -> f32

Minimal camera movement in meters Read more
Source§

fn volume_pose(&self) -> Affine3f

initial volume pose in meters
Source§

fn tsdf_trunc_dist(&self) -> f32

distance to truncate in meters Read more
Source§

fn tsdf_max_weight(&self) -> i32

max number of frames per voxel Read more
Source§

fn raycast_step_factor(&self) -> f32

A length of one raycast step Read more
Source§

fn light_pose(&self) -> Vec3f

light pose for rendering in meters
Source§

fn icp_dist_thresh(&self) -> f32

distance theshold for ICP in meters
Source§

fn icp_angle_thresh(&self) -> f32

angle threshold for ICP in radians
Source§

fn icp_iterations(&self) -> Vector<i32>

number of ICP iterations for each pyramid level
Source§

fn truncate_threshold(&self) -> f32

Threshold for depth truncation in meters Read more
Source§

impl CommandLineParserTrait for BoxedRefMut<'_, CommandLineParser>

Source§

fn as_raw_mut_CommandLineParser( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set(&mut self, parser: &impl CommandLineParserTraitConst) -> Result<()>

Assignment operator
Source§

fn about(&mut self, message: &str) -> Result<()>

Set the about message Read more
Source§

impl CommandLineParserTraitConst for BoxedRefMut<'_, CommandLineParser>

Source§

fn as_raw_CommandLineParser( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_path_to_application(&self) -> Result<String>

Returns application path Read more
Source§

fn get_bool(&self, name: &str, space_delete: bool) -> Result<bool>

Access arguments by name Read more
Source§

fn get_bool_def(&self, name: &str) -> Result<bool>

Access arguments by name Read more
Source§

fn get_i32(&self, name: &str, space_delete: bool) -> Result<i32>

Access arguments by name Read more
Source§

fn get_i32_def(&self, name: &str) -> Result<i32>

Access arguments by name Read more
Source§

fn get_f64(&self, name: &str, space_delete: bool) -> Result<f64>

Access arguments by name Read more
Source§

fn get_f64_def(&self, name: &str) -> Result<f64>

Access arguments by name Read more
Source§

fn get_str(&self, name: &str, space_delete: bool) -> Result<String>

Access arguments by name Read more
Source§

fn get_str_def(&self, name: &str) -> Result<String>

Access arguments by name Read more
Source§

fn get_u64(&self, name: &str, space_delete: bool) -> Result<u64>

Access arguments by name Read more
Source§

fn get_u64_def(&self, name: &str) -> Result<u64>

Access arguments by name Read more
Source§

fn get_bool_idx(&self, index: i32, space_delete: bool) -> Result<bool>

Access positional arguments by index Read more
Source§

fn get_bool_idx_def(&self, index: i32) -> Result<bool>

Access positional arguments by index Read more
Source§

fn get_i32_idx(&self, index: i32, space_delete: bool) -> Result<i32>

Access positional arguments by index Read more
Source§

fn get_i32_idx_def(&self, index: i32) -> Result<i32>

Access positional arguments by index Read more
Source§

fn get_f64_idx(&self, index: i32, space_delete: bool) -> Result<f64>

Access positional arguments by index Read more
Source§

fn get_f64_idx_def(&self, index: i32) -> Result<f64>

Access positional arguments by index Read more
Source§

fn get_str_idx(&self, index: i32, space_delete: bool) -> Result<String>

Access positional arguments by index Read more
Source§

fn get_str_idx_def(&self, index: i32) -> Result<String>

Access positional arguments by index Read more
Source§

fn get_u64_idx(&self, index: i32, space_delete: bool) -> Result<u64>

Access positional arguments by index Read more
Source§

fn get_u64_idx_def(&self, index: i32) -> Result<u64>

Access positional arguments by index Read more
Source§

fn has(&self, name: &str) -> Result<bool>

Check if field was provided in the command line Read more
Source§

fn check(&self) -> Result<bool>

Check for parsing errors Read more
Source§

fn print_message(&self) -> Result<()>

Print help message Read more
Source§

fn print_errors(&self) -> Result<()>

Print list of errors occurred Read more
Source§

impl CompareLayerTrait for BoxedRefMut<'_, CompareLayer>

Source§

fn as_raw_mut_CompareLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl CompareLayerTraitConst for BoxedRefMut<'_, CompareLayer>

Source§

fn as_raw_CompareLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl CompositeIndexParamsTrait for BoxedRefMut<'_, CompositeIndexParams>

Source§

fn as_raw_mut_CompositeIndexParams( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl CompositeIndexParamsTraitConst for BoxedRefMut<'_, CompositeIndexParams>

Source§

fn as_raw_CompositeIndexParams( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl CompressedRectilinearPortraitWarperTrait for BoxedRefMut<'_, CompressedRectilinearPortraitWarper>

Source§

fn as_raw_mut_CompressedRectilinearPortraitWarper( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl CompressedRectilinearPortraitWarperTraitConst for BoxedRefMut<'_, CompressedRectilinearPortraitWarper>

Source§

fn as_raw_CompressedRectilinearPortraitWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn create(&self, scale: f32) -> Result<Ptr<Detail_RotationWarper>>

Source§

impl CompressedRectilinearWarperTrait for BoxedRefMut<'_, CompressedRectilinearWarper>

Source§

fn as_raw_mut_CompressedRectilinearWarper( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl CompressedRectilinearWarperTraitConst for BoxedRefMut<'_, CompressedRectilinearWarper>

Source§

fn as_raw_CompressedRectilinearWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn create(&self, scale: f32) -> Result<Ptr<Detail_RotationWarper>>

Source§

impl ConcatLayerTrait for BoxedRefMut<'_, ConcatLayer>

Source§

fn as_raw_mut_ConcatLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_axis(&mut self, val: i32)

Source§

fn set_padding(&mut self, val: bool)

Add zero padding in case of concatenation of blobs with different spatial sizes. Read more
Source§

fn set_padding_value(&mut self, val: i32)

Source§

impl ConcatLayerTraitConst for BoxedRefMut<'_, ConcatLayer>

Source§

fn as_raw_ConcatLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn axis(&self) -> i32

Source§

fn padding(&self) -> bool

Add zero padding in case of concatenation of blobs with different spatial sizes. Read more
Source§

fn padding_value(&self) -> i32

Source§

impl ConjGradSolverTrait for BoxedRefMut<'_, ConjGradSolver>

Source§

fn as_raw_mut_ConjGradSolver( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ConjGradSolverTraitConst for BoxedRefMut<'_, ConjGradSolver>

Source§

fn as_raw_ConjGradSolver( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl ConsistentMosaicInpainterTrait for BoxedRefMut<'_, ConsistentMosaicInpainter>

Source§

fn as_raw_mut_ConsistentMosaicInpainter( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_stdev_thresh(&mut self, val: f32) -> Result<()>

Source§

fn inpaint( &mut self, idx: i32, frame: &mut impl MatTrait, mask: &mut impl MatTrait, ) -> Result<()>

Source§

impl ConsistentMosaicInpainterTraitConst for BoxedRefMut<'_, ConsistentMosaicInpainter>

Source§

fn as_raw_ConsistentMosaicInpainter( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn stdev_thresh(&self) -> Result<f32>

Source§

impl ConstLayerTrait for BoxedRefMut<'_, ConstLayer>

Source§

fn as_raw_mut_ConstLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ConstLayerTraitConst for BoxedRefMut<'_, ConstLayer>

Source§

fn as_raw_ConstLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl ContextTrait for BoxedRefMut<'_, Context>

Source§

fn as_raw_mut_Context( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set(&mut self, c: &impl ContextTraitConst) -> Result<()>

Source§

fn set_1(&mut self, c: Context)

Source§

fn create(&mut self) -> Result<bool>

@deprecated
Source§

fn create_with_type(&mut self, dtype: i32) -> Result<bool>

@deprecated
Source§

fn get_prog( &mut self, prog: &impl ProgramSourceTraitConst, buildopt: &str, errmsg: &mut String, ) -> Result<Program>

Source§

fn unload_prog(&mut self, prog: &mut impl ProgramTrait) -> Result<()>

Source§

fn set_use_svm(&mut self, enabled: bool) -> Result<()>

Source§

fn release(&mut self) -> Result<()>

Source§

impl ContextTraitConst for BoxedRefMut<'_, Context>

Source§

fn as_raw_Context(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn ndevices(&self) -> Result<size_t>

Source§

fn device(&self, idx: size_t) -> Result<Device>

Source§

fn ptr(&self) -> Result<*mut c_void>

Returns Read more
Source§

fn get_opencl_context_property(&self, property_id: i32) -> Result<*mut c_void>

Get OpenCL context property specified on context creation Read more
Source§

fn use_svm(&self) -> Result<bool>

Source§

fn empty(&self) -> Result<bool>

Source§

impl Context_UserContextTrait for BoxedRefMut<'_, Context_UserContext>

Source§

fn as_raw_mut_Context_UserContext( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl Context_UserContextTraitConst for BoxedRefMut<'_, Context_UserContext>

Source§

fn as_raw_Context_UserContext( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl ContourFittingTrait for BoxedRefMut<'_, ContourFitting>

Source§

fn as_raw_mut_ContourFitting( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn estimate_transformation( &mut self, src: &impl ToInputArray, dst: &impl ToInputArray, alpha_phi_st: &mut impl ToOutputArray, dist: &mut f64, fd_contour: bool, ) -> Result<()>

Fit two closed curves using fourier descriptors. More details in PersoonFu1977 and BergerRaghunathan1998 Read more
Source§

fn estimate_transformation_def( &mut self, src: &impl ToInputArray, dst: &impl ToInputArray, alpha_phi_st: &mut impl ToOutputArray, ) -> Result<()>

Fit two closed curves using fourier descriptors. More details in PersoonFu1977 and BergerRaghunathan1998 Read more
Source§

fn estimate_transformation_1( &mut self, src: &impl ToInputArray, dst: &impl ToInputArray, alpha_phi_st: &mut impl ToOutputArray, dist: &mut f64, fd_contour: bool, ) -> Result<()>

Fit two closed curves using fourier descriptors. More details in PersoonFu1977 and BergerRaghunathan1998 Read more
Source§

fn estimate_transformation_def_1( &mut self, src: &impl ToInputArray, dst: &impl ToInputArray, alpha_phi_st: &mut impl ToOutputArray, dist: &mut f64, ) -> Result<()>

Fit two closed curves using fourier descriptors. More details in PersoonFu1977 and BergerRaghunathan1998 Read more
Source§

fn set_ctr_size(&mut self, n: i32) -> Result<()>

set number of Fourier descriptors used in estimateTransformation Read more
Source§

fn set_fd_size(&mut self, n: i32) -> Result<()>

set number of Fourier descriptors when estimateTransformation used vector Read more
Source§

fn get_ctr_size(&mut self) -> Result<i32>

Returns Read more
Source§

fn get_fd_size(&mut self) -> Result<i32>

Returns Read more
Source§

impl ContourFittingTraitConst for BoxedRefMut<'_, ContourFitting>

Source§

fn as_raw_ContourFitting( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl ConvolutionLayerInt8Trait for BoxedRefMut<'_, ConvolutionLayerInt8>

Source§

fn as_raw_mut_ConvolutionLayerInt8( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_input_zp(&mut self, val: i32)

Source§

fn set_output_zp(&mut self, val: i32)

Source§

fn set_input_sc(&mut self, val: f32)

Source§

fn set_output_sc(&mut self, val: f32)

Source§

fn set_per_channel(&mut self, val: bool)

Source§

fn set_use_winograd(&mut self, val: bool)

C++ default parameters Read more
Source§

impl ConvolutionLayerInt8TraitConst for BoxedRefMut<'_, ConvolutionLayerInt8>

Source§

fn as_raw_ConvolutionLayerInt8( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn input_zp(&self) -> i32

Source§

fn output_zp(&self) -> i32

Source§

fn input_sc(&self) -> f32

Source§

fn output_sc(&self) -> f32

Source§

fn per_channel(&self) -> bool

Source§

fn use_winograd(&self) -> bool

Source§

impl ConvolutionLayerTrait for BoxedRefMut<'_, ConvolutionLayer>

Source§

fn as_raw_mut_ConvolutionLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_fused_activation(&mut self, val: bool)

C++ default parameters Read more
Source§

fn set_fused_add(&mut self, val: bool)

C++ default parameters Read more
Source§

fn set_use_winograd(&mut self, val: bool)

C++ default parameters Read more
Source§

impl ConvolutionLayerTraitConst for BoxedRefMut<'_, ConvolutionLayer>

Source§

fn as_raw_ConvolutionLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn fused_activation(&self) -> bool

Source§

fn fused_add(&self) -> bool

Source§

fn use_winograd(&self) -> bool

Source§

impl ConvolutionTrait for BoxedRefMut<'_, Convolution>

Source§

fn as_raw_mut_Convolution( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn convolve( &mut self, image: &impl ToInputArray, templ: &impl ToInputArray, result: &mut impl ToOutputArray, ccorr: bool, stream: &mut impl StreamTrait, ) -> Result<()>

Computes a convolution (or cross-correlation) of two images. Read more
Source§

fn convolve_def( &mut self, image: &impl ToInputArray, templ: &impl ToInputArray, result: &mut impl ToOutputArray, ) -> Result<()>

Computes a convolution (or cross-correlation) of two images. Read more
Source§

impl ConvolutionTraitConst for BoxedRefMut<'_, Convolution>

Source§

fn as_raw_Convolution(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl CorrelationLayerTrait for BoxedRefMut<'_, CorrelationLayer>

Source§

fn as_raw_mut_CorrelationLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl CorrelationLayerTraitConst for BoxedRefMut<'_, CorrelationLayer>

Source§

fn as_raw_CorrelationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl CosLayerTrait for BoxedRefMut<'_, CosLayer>

Source§

fn as_raw_mut_CosLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl CosLayerTraitConst for BoxedRefMut<'_, CosLayer>

Source§

fn as_raw_CosLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl CoshLayerTrait for BoxedRefMut<'_, CoshLayer>

Source§

fn as_raw_mut_CoshLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl CoshLayerTraitConst for BoxedRefMut<'_, CoshLayer>

Source§

fn as_raw_CoshLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl CropAndResizeLayerTrait for BoxedRefMut<'_, CropAndResizeLayer>

Source§

fn as_raw_mut_CropAndResizeLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl CropAndResizeLayerTraitConst for BoxedRefMut<'_, CropAndResizeLayer>

Source§

fn as_raw_CropAndResizeLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl CropLayerTrait for BoxedRefMut<'_, CropLayer>

Source§

fn as_raw_mut_CropLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl CropLayerTraitConst for BoxedRefMut<'_, CropLayer>

Source§

fn as_raw_CropLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl CumSumLayerTrait for BoxedRefMut<'_, CumSumLayer>

Source§

fn as_raw_mut_CumSumLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_exclusive(&mut self, val: i32)

Source§

fn set_reverse(&mut self, val: i32)

Source§

impl CumSumLayerTraitConst for BoxedRefMut<'_, CumSumLayer>

Source§

fn as_raw_CumSumLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn exclusive(&self) -> i32

Source§

fn reverse(&self) -> i32

Source§

impl CustomPatternTrait for BoxedRefMut<'_, CustomPattern>

Source§

fn as_raw_mut_CustomPattern( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn create( &mut self, pattern: &impl ToInputArray, board_size: Size2f, output: &mut impl ToOutputArray, ) -> Result<bool>

C++ default parameters Read more
Source§

fn create_def( &mut self, pattern: &impl ToInputArray, board_size: Size2f, ) -> Result<bool>

Source§

fn find_pattern( &mut self, image: &impl ToInputArray, matched_features: &mut impl ToOutputArray, pattern_points: &mut impl ToOutputArray, ratio: f64, proj_error: f64, refine_position: bool, out: &mut impl ToOutputArray, h: &mut impl ToOutputArray, pattern_corners: &mut impl ToOutputArray, ) -> Result<bool>

C++ default parameters Read more
Source§

fn find_pattern_def( &mut self, image: &impl ToInputArray, matched_features: &mut impl ToOutputArray, pattern_points: &mut impl ToOutputArray, ) -> Result<bool>

Source§

fn is_initialized(&mut self) -> Result<bool>

Source§

fn get_pattern_points( &mut self, original_points: &mut Vector<KeyPoint>, ) -> Result<()>

Source§

fn get_pixel_size(&mut self) -> Result<f64>

Source§

fn set_feature_detector( &mut self, feature_detector: Ptr<Feature2D>, ) -> Result<bool>

Source§

fn set_descriptor_extractor( &mut self, extractor: Ptr<Feature2D>, ) -> Result<bool>

Source§

fn set_descriptor_matcher( &mut self, matcher: Ptr<DescriptorMatcher>, ) -> Result<bool>

Source§

fn get_feature_detector(&mut self) -> Result<Ptr<Feature2D>>

Source§

fn get_descriptor_extractor(&mut self) -> Result<Ptr<Feature2D>>

Source§

fn get_descriptor_matcher(&mut self) -> Result<Ptr<DescriptorMatcher>>

Source§

fn calibrate( &mut self, object_points: &impl ToInputArray, image_points: &impl ToInputArray, image_size: Size, camera_matrix: &mut impl ToInputOutputArray, dist_coeffs: &mut impl ToInputOutputArray, rvecs: &mut impl ToOutputArray, tvecs: &mut impl ToOutputArray, flags: i32, criteria: TermCriteria, ) -> Result<f64>

C++ default parameters Read more
Source§

fn calibrate_def( &mut self, object_points: &impl ToInputArray, image_points: &impl ToInputArray, image_size: Size, camera_matrix: &mut impl ToInputOutputArray, dist_coeffs: &mut impl ToInputOutputArray, rvecs: &mut impl ToOutputArray, tvecs: &mut impl ToOutputArray, ) -> Result<f64>

Source§

fn find_rt( &mut self, object_points: &impl ToInputArray, image_points: &impl ToInputArray, camera_matrix: &impl ToInputArray, dist_coeffs: &impl ToInputArray, rvec: &mut impl ToInputOutputArray, tvec: &mut impl ToInputOutputArray, use_extrinsic_guess: bool, flags: i32, ) -> Result<bool>

C++ default parameters Read more
Source§

fn find_rt_def( &mut self, object_points: &impl ToInputArray, image_points: &impl ToInputArray, camera_matrix: &impl ToInputArray, dist_coeffs: &impl ToInputArray, rvec: &mut impl ToInputOutputArray, tvec: &mut impl ToInputOutputArray, ) -> Result<bool>

Source§

fn find_rt_1( &mut self, image: &impl ToInputArray, camera_matrix: &impl ToInputArray, dist_coeffs: &impl ToInputArray, rvec: &mut impl ToInputOutputArray, tvec: &mut impl ToInputOutputArray, use_extrinsic_guess: bool, flags: i32, ) -> Result<bool>

C++ default parameters Read more
Source§

fn find_rt_def_1( &mut self, image: &impl ToInputArray, camera_matrix: &impl ToInputArray, dist_coeffs: &impl ToInputArray, rvec: &mut impl ToInputOutputArray, tvec: &mut impl ToInputOutputArray, ) -> Result<bool>

Source§

fn find_rt_ransac( &mut self, object_points: &impl ToInputArray, image_points: &impl ToInputArray, camera_matrix: &impl ToInputArray, dist_coeffs: &impl ToInputArray, rvec: &mut impl ToInputOutputArray, tvec: &mut impl ToInputOutputArray, use_extrinsic_guess: bool, iterations_count: i32, reprojection_error: f32, min_inliers_count: i32, inliers: &mut impl ToOutputArray, flags: i32, ) -> Result<bool>

C++ default parameters Read more
Source§

fn find_rt_ransac_def( &mut self, object_points: &impl ToInputArray, image_points: &impl ToInputArray, camera_matrix: &impl ToInputArray, dist_coeffs: &impl ToInputArray, rvec: &mut impl ToInputOutputArray, tvec: &mut impl ToInputOutputArray, ) -> Result<bool>

Source§

fn find_rt_ransac_1( &mut self, image: &impl ToInputArray, camera_matrix: &impl ToInputArray, dist_coeffs: &impl ToInputArray, rvec: &mut impl ToInputOutputArray, tvec: &mut impl ToInputOutputArray, use_extrinsic_guess: bool, iterations_count: i32, reprojection_error: f32, min_inliers_count: i32, inliers: &mut impl ToOutputArray, flags: i32, ) -> Result<bool>

C++ default parameters Read more
Source§

fn find_rt_ransac_def_1( &mut self, image: &impl ToInputArray, camera_matrix: &impl ToInputArray, dist_coeffs: &impl ToInputArray, rvec: &mut impl ToInputOutputArray, tvec: &mut impl ToInputOutputArray, ) -> Result<bool>

Source§

fn draw_orientation( &mut self, image: &mut impl ToInputOutputArray, tvec: &impl ToInputArray, rvec: &impl ToInputArray, camera_matrix: &impl ToInputArray, dist_coeffs: &impl ToInputArray, axis_length: f64, axis_width: i32, ) -> Result<()>

C++ default parameters Read more
Source§

fn draw_orientation_def( &mut self, image: &mut impl ToInputOutputArray, tvec: &impl ToInputArray, rvec: &impl ToInputArray, camera_matrix: &impl ToInputArray, dist_coeffs: &impl ToInputArray, ) -> Result<()>

Source§

impl CustomPatternTraitConst for BoxedRefMut<'_, CustomPattern>

Source§

fn as_raw_CustomPattern( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl CylindricalWarperGpuTrait for BoxedRefMut<'_, CylindricalWarperGpu>

Source§

fn as_raw_mut_CylindricalWarperGpu( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl CylindricalWarperGpuTraitConst for BoxedRefMut<'_, CylindricalWarperGpu>

Source§

fn as_raw_CylindricalWarperGpu( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn create(&self, scale: f32) -> Result<Ptr<Detail_RotationWarper>>

Source§

impl CylindricalWarperTrait for BoxedRefMut<'_, CylindricalWarper>

Source§

fn as_raw_mut_CylindricalWarper( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl CylindricalWarperTraitConst for BoxedRefMut<'_, CylindricalWarper>

Source§

fn as_raw_CylindricalWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn create(&self, scale: f32) -> Result<Ptr<Detail_RotationWarper>>

Source§

impl DAISYTrait for BoxedRefMut<'_, DAISY>

Source§

fn as_raw_mut_DAISY( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_radius(&mut self, radius: f32) -> Result<()>

Source§

fn set_q_radius(&mut self, q_radius: i32) -> Result<()>

Source§

fn set_q_theta(&mut self, q_theta: i32) -> Result<()>

Source§

fn set_q_hist(&mut self, q_hist: i32) -> Result<()>

Source§

fn set_norm(&mut self, norm: i32) -> Result<()>

Source§

fn set_h(&mut self, h: &impl ToInputArray) -> Result<()>

Source§

fn set_interpolation(&mut self, interpolation: bool) -> Result<()>

Source§

fn set_use_orientation(&mut self, use_orientation: bool) -> Result<()>

Source§

fn compute( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Read more
Source§

fn compute_1( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Source§

fn compute_2( &mut self, image: &impl ToInputArray, roi: Rect, descriptors: &mut impl ToOutputArray, ) -> Result<()>

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Read more
Source§

fn compute_3( &mut self, image: &impl ToInputArray, descriptors: &mut impl ToOutputArray, ) -> Result<()>

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Read more
Source§

impl DAISYTraitConst for BoxedRefMut<'_, DAISY>

Source§

fn as_raw_DAISY(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_radius(&self) -> Result<f32>

Source§

fn get_q_radius(&self) -> Result<i32>

Source§

fn get_q_theta(&self) -> Result<i32>

Source§

fn get_q_hist(&self) -> Result<i32>

Source§

fn get_norm(&self) -> Result<i32>

Source§

fn get_h(&self) -> Result<Mat>

Source§

fn get_interpolation(&self) -> Result<bool>

Source§

fn get_use_orientation(&self) -> Result<bool>

Source§

fn get_default_name(&self) -> Result<String>

Source§

fn get_descriptor( &self, y: f64, x: f64, orientation: i32, descriptor: &mut f32, ) -> Result<()>

Parameters Read more
Source§

fn get_descriptor_1( &self, y: f64, x: f64, orientation: i32, descriptor: &mut f32, h: &mut f64, ) -> Result<bool>

Parameters Read more
Source§

fn get_unnormalized_descriptor( &self, y: f64, x: f64, orientation: i32, descriptor: &mut f32, ) -> Result<()>

Parameters Read more
Source§

fn get_unnormalized_descriptor_1( &self, y: f64, x: f64, orientation: i32, descriptor: &mut f32, h: &mut f64, ) -> Result<bool>

Parameters Read more
Source§

impl DFTTrait for BoxedRefMut<'_, DFT>

Source§

fn as_raw_mut_DFT( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn compute( &mut self, image: &impl ToInputArray, result: &mut impl ToOutputArray, stream: &mut impl StreamTrait, ) -> Result<()>

Computes an FFT of a given image. Read more
Source§

fn compute_def( &mut self, image: &impl ToInputArray, result: &mut impl ToOutputArray, ) -> Result<()>

Computes an FFT of a given image. Read more
Source§

impl DFTTraitConst for BoxedRefMut<'_, DFT>

Source§

fn as_raw_DFT(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl DISOpticalFlowTrait for BoxedRefMut<'_, DISOpticalFlow>

Source§

fn as_raw_mut_DISOpticalFlow( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_finest_scale(&mut self, val: i32) -> Result<()>

Finest level of the Gaussian pyramid on which the flow is computed (zero level corresponds to the original image resolution). The final flow is obtained by bilinear upscaling. Read more
Source§

fn set_patch_size(&mut self, val: i32) -> Result<()>

Size of an image patch for matching (in pixels). Normally, default 8x8 patches work well enough in most cases. Read more
Source§

fn set_patch_stride(&mut self, val: i32) -> Result<()>

Stride between neighbor patches. Must be less than patch size. Lower values correspond to higher flow quality. Read more
Source§

fn set_gradient_descent_iterations(&mut self, val: i32) -> Result<()>

Maximum number of gradient descent iterations in the patch inverse search stage. Higher values may improve quality in some cases. Read more
Source§

fn set_variational_refinement_iterations(&mut self, val: i32) -> Result<()>

Maximum number of gradient descent iterations in the patch inverse search stage. Higher values may improve quality in some cases. Read more
Source§

fn set_variational_refinement_alpha(&mut self, val: f32) -> Result<()>

Weight of the smoothness term Read more
Source§

fn set_variational_refinement_delta(&mut self, val: f32) -> Result<()>

Weight of the color constancy term Read more
Source§

fn set_variational_refinement_gamma(&mut self, val: f32) -> Result<()>

Weight of the gradient constancy term Read more
Source§

fn set_variational_refinement_epsilon(&mut self, val: f32) -> Result<()>

Norm value shift for robust penalizer Read more
Source§

fn set_use_mean_normalization(&mut self, val: bool) -> Result<()>

Whether to use mean-normalization of patches when computing patch distance. It is turned on by default as it typically provides a noticeable quality boost because of increased robustness to illumination variations. Turn it off if you are certain that your sequence doesn’t contain any changes in illumination. Read more
Source§

fn set_use_spatial_propagation(&mut self, val: bool) -> Result<()>

Whether to use spatial propagation of good optical flow vectors. This option is turned on by default, as it tends to work better on average and can sometimes help recover from major errors introduced by the coarse-to-fine scheme employed by the DIS optical flow algorithm. Turning this option off can make the output flow field a bit smoother, however. Read more
Source§

impl DISOpticalFlowTraitConst for BoxedRefMut<'_, DISOpticalFlow>

Source§

fn as_raw_DISOpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_finest_scale(&self) -> Result<i32>

Finest level of the Gaussian pyramid on which the flow is computed (zero level corresponds to the original image resolution). The final flow is obtained by bilinear upscaling. Read more
Source§

fn get_patch_size(&self) -> Result<i32>

Size of an image patch for matching (in pixels). Normally, default 8x8 patches work well enough in most cases. Read more
Source§

fn get_patch_stride(&self) -> Result<i32>

Stride between neighbor patches. Must be less than patch size. Lower values correspond to higher flow quality. Read more
Source§

fn get_gradient_descent_iterations(&self) -> Result<i32>

Maximum number of gradient descent iterations in the patch inverse search stage. Higher values may improve quality in some cases. Read more
Source§

fn get_variational_refinement_iterations(&self) -> Result<i32>

Number of fixed point iterations of variational refinement per scale. Set to zero to disable variational refinement completely. Higher values will typically result in more smooth and high-quality flow. Read more
Source§

fn get_variational_refinement_alpha(&self) -> Result<f32>

Weight of the smoothness term Read more
Source§

fn get_variational_refinement_delta(&self) -> Result<f32>

Weight of the color constancy term Read more
Source§

fn get_variational_refinement_gamma(&self) -> Result<f32>

Weight of the gradient constancy term Read more
Source§

fn get_variational_refinement_epsilon(&self) -> Result<f32>

Norm value shift for robust penalizer Read more
Source§

fn get_use_mean_normalization(&self) -> Result<bool>

Whether to use mean-normalization of patches when computing patch distance. It is turned on by default as it typically provides a noticeable quality boost because of increased robustness to illumination variations. Turn it off if you are certain that your sequence doesn’t contain any changes in illumination. Read more
Source§

fn get_use_spatial_propagation(&self) -> Result<bool>

Whether to use spatial propagation of good optical flow vectors. This option is turned on by default, as it tends to work better on average and can sometimes help recover from major errors introduced by the coarse-to-fine scheme employed by the DIS optical flow algorithm. Turning this option off can make the output flow field a bit smoother, however. Read more
Source§

impl DPMDetectorTrait for BoxedRefMut<'_, DPMDetector>

Source§

fn as_raw_mut_DPMDetector( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn detect( &mut self, image: &mut impl MatTrait, objects: &mut Vector<DPMDetector_ObjectDetection>, ) -> Result<()>

Find rectangular regions in the given image that are likely to contain objects of loaded classes (models) and corresponding confidence levels. Read more
Source§

impl DPMDetectorTraitConst for BoxedRefMut<'_, DPMDetector>

Source§

fn as_raw_DPMDetector(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn is_empty(&self) -> Result<bool>

Source§

fn get_class_names(&self) -> Result<Vector<String>>

Return the class (model) names that were passed in constructor or method load or extracted from models filenames in those methods.
Source§

fn get_class_count(&self) -> Result<size_t>

Return a count of loaded models (classes).
Source§

impl DPMDetector_ObjectDetectionTrait for BoxedRefMut<'_, DPMDetector_ObjectDetection>

Source§

fn as_raw_mut_DPMDetector_ObjectDetection( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_rect(&mut self, val: Rect)

Source§

fn set_score(&mut self, val: f32)

Source§

fn set_class_id(&mut self, val: i32)

Source§

impl DPMDetector_ObjectDetectionTraitConst for BoxedRefMut<'_, DPMDetector_ObjectDetection>

Source§

fn as_raw_DPMDetector_ObjectDetection( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn rect(&self) -> Rect

Source§

fn score(&self) -> f32

Source§

fn class_id(&self) -> i32

Source§

impl DTFilterTrait for BoxedRefMut<'_, DTFilter>

Source§

fn as_raw_mut_DTFilter( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn filter( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, d_depth: i32, ) -> Result<()>

Produce domain transform filtering operation on source image. Read more
Source§

fn filter_def( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, ) -> Result<()>

Produce domain transform filtering operation on source image. Read more
Source§

impl DTFilterTraitConst for BoxedRefMut<'_, DTFilter>

Source§

fn as_raw_DTFilter(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl DTreesTrait for BoxedRefMut<'_, Boost>

Source§

fn as_raw_mut_DTrees( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_max_categories(&mut self, val: i32) -> Result<()>

Cluster possible values of a categorical variable into K<=maxCategories clusters to find a suboptimal split. If a discrete variable, on which the training procedure tries to make a split, takes more than maxCategories values, the precise best subset estimation may take a very long time because the algorithm is exponential. Instead, many decision trees engines (including our implementation) try to find sub-optimal split in this case by clustering all the samples into maxCategories clusters that is some categories are merged together. The clustering is applied only in n > 2-class classification problems for categorical variables with N > max_categories possible values. In case of regression and 2-class classification the optimal split can be found efficiently without employing clustering, thus the parameter is not used in these cases. Default value is 10. Read more
Source§

fn set_max_depth(&mut self, val: i32) -> Result<()>

The maximum possible depth of the tree. That is the training algorithms attempts to split a node while its depth is less than maxDepth. The root node has zero depth. The actual depth may be smaller if the other termination criteria are met (see the outline of the training procedure [ml_intro_trees] “here”), and/or if the tree is pruned. Default value is INT_MAX. Read more
Source§

fn set_min_sample_count(&mut self, val: i32) -> Result<()>

If the number of samples in a node is less than this parameter then the node will not be split. Read more
Source§

fn set_cv_folds(&mut self, val: i32) -> Result<()>

If CVFolds > 1 then algorithms prunes the built decision tree using K-fold cross-validation procedure where K is equal to CVFolds. Default value is 10. Read more
Source§

fn set_use_surrogates(&mut self, val: bool) -> Result<()>

If true then surrogate splits will be built. These splits allow to work with missing data and compute variable importance correctly. Default value is false. Read more
Source§

fn set_use1_se_rule(&mut self, val: bool) -> Result<()>

If true then a pruning will be harsher. This will make a tree more compact and more resistant to the training data noise but a bit less accurate. Default value is true. Read more
Source§

fn set_truncate_pruned_tree(&mut self, val: bool) -> Result<()>

If true then pruned branches are physically removed from the tree. Otherwise they are retained and it is possible to get results from the original unpruned (or pruned less aggressively) tree. Default value is true. Read more
Source§

fn set_regression_accuracy(&mut self, val: f32) -> Result<()>

Termination criteria for regression trees. If all absolute differences between an estimated value in a node and values of train samples in this node are less than this parameter then the node will not be split further. Default value is 0.01f Read more
Source§

fn set_priors(&mut self, val: &impl MatTraitConst) -> Result<()>

The array of a priori class probabilities, sorted by the class label value. Read more
Source§

impl DTreesTrait for BoxedRefMut<'_, DTrees>

Source§

fn as_raw_mut_DTrees( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_max_categories(&mut self, val: i32) -> Result<()>

Cluster possible values of a categorical variable into K<=maxCategories clusters to find a suboptimal split. If a discrete variable, on which the training procedure tries to make a split, takes more than maxCategories values, the precise best subset estimation may take a very long time because the algorithm is exponential. Instead, many decision trees engines (including our implementation) try to find sub-optimal split in this case by clustering all the samples into maxCategories clusters that is some categories are merged together. The clustering is applied only in n > 2-class classification problems for categorical variables with N > max_categories possible values. In case of regression and 2-class classification the optimal split can be found efficiently without employing clustering, thus the parameter is not used in these cases. Default value is 10. Read more
Source§

fn set_max_depth(&mut self, val: i32) -> Result<()>

The maximum possible depth of the tree. That is the training algorithms attempts to split a node while its depth is less than maxDepth. The root node has zero depth. The actual depth may be smaller if the other termination criteria are met (see the outline of the training procedure [ml_intro_trees] “here”), and/or if the tree is pruned. Default value is INT_MAX. Read more
Source§

fn set_min_sample_count(&mut self, val: i32) -> Result<()>

If the number of samples in a node is less than this parameter then the node will not be split. Read more
Source§

fn set_cv_folds(&mut self, val: i32) -> Result<()>

If CVFolds > 1 then algorithms prunes the built decision tree using K-fold cross-validation procedure where K is equal to CVFolds. Default value is 10. Read more
Source§

fn set_use_surrogates(&mut self, val: bool) -> Result<()>

If true then surrogate splits will be built. These splits allow to work with missing data and compute variable importance correctly. Default value is false. Read more
Source§

fn set_use1_se_rule(&mut self, val: bool) -> Result<()>

If true then a pruning will be harsher. This will make a tree more compact and more resistant to the training data noise but a bit less accurate. Default value is true. Read more
Source§

fn set_truncate_pruned_tree(&mut self, val: bool) -> Result<()>

If true then pruned branches are physically removed from the tree. Otherwise they are retained and it is possible to get results from the original unpruned (or pruned less aggressively) tree. Default value is true. Read more
Source§

fn set_regression_accuracy(&mut self, val: f32) -> Result<()>

Termination criteria for regression trees. If all absolute differences between an estimated value in a node and values of train samples in this node are less than this parameter then the node will not be split further. Default value is 0.01f Read more
Source§

fn set_priors(&mut self, val: &impl MatTraitConst) -> Result<()>

The array of a priori class probabilities, sorted by the class label value. Read more
Source§

impl DTreesTrait for BoxedRefMut<'_, RTrees>

Source§

fn as_raw_mut_DTrees( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_max_categories(&mut self, val: i32) -> Result<()>

Cluster possible values of a categorical variable into K<=maxCategories clusters to find a suboptimal split. If a discrete variable, on which the training procedure tries to make a split, takes more than maxCategories values, the precise best subset estimation may take a very long time because the algorithm is exponential. Instead, many decision trees engines (including our implementation) try to find sub-optimal split in this case by clustering all the samples into maxCategories clusters that is some categories are merged together. The clustering is applied only in n > 2-class classification problems for categorical variables with N > max_categories possible values. In case of regression and 2-class classification the optimal split can be found efficiently without employing clustering, thus the parameter is not used in these cases. Default value is 10. Read more
Source§

fn set_max_depth(&mut self, val: i32) -> Result<()>

The maximum possible depth of the tree. That is the training algorithms attempts to split a node while its depth is less than maxDepth. The root node has zero depth. The actual depth may be smaller if the other termination criteria are met (see the outline of the training procedure [ml_intro_trees] “here”), and/or if the tree is pruned. Default value is INT_MAX. Read more
Source§

fn set_min_sample_count(&mut self, val: i32) -> Result<()>

If the number of samples in a node is less than this parameter then the node will not be split. Read more
Source§

fn set_cv_folds(&mut self, val: i32) -> Result<()>

If CVFolds > 1 then algorithms prunes the built decision tree using K-fold cross-validation procedure where K is equal to CVFolds. Default value is 10. Read more
Source§

fn set_use_surrogates(&mut self, val: bool) -> Result<()>

If true then surrogate splits will be built. These splits allow to work with missing data and compute variable importance correctly. Default value is false. Read more
Source§

fn set_use1_se_rule(&mut self, val: bool) -> Result<()>

If true then a pruning will be harsher. This will make a tree more compact and more resistant to the training data noise but a bit less accurate. Default value is true. Read more
Source§

fn set_truncate_pruned_tree(&mut self, val: bool) -> Result<()>

If true then pruned branches are physically removed from the tree. Otherwise they are retained and it is possible to get results from the original unpruned (or pruned less aggressively) tree. Default value is true. Read more
Source§

fn set_regression_accuracy(&mut self, val: f32) -> Result<()>

Termination criteria for regression trees. If all absolute differences between an estimated value in a node and values of train samples in this node are less than this parameter then the node will not be split further. Default value is 0.01f Read more
Source§

fn set_priors(&mut self, val: &impl MatTraitConst) -> Result<()>

The array of a priori class probabilities, sorted by the class label value. Read more
Source§

impl DTreesTraitConst for BoxedRefMut<'_, Boost>

Source§

fn as_raw_DTrees(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_max_categories(&self) -> Result<i32>

Cluster possible values of a categorical variable into K<=maxCategories clusters to find a suboptimal split. If a discrete variable, on which the training procedure tries to make a split, takes more than maxCategories values, the precise best subset estimation may take a very long time because the algorithm is exponential. Instead, many decision trees engines (including our implementation) try to find sub-optimal split in this case by clustering all the samples into maxCategories clusters that is some categories are merged together. The clustering is applied only in n > 2-class classification problems for categorical variables with N > max_categories possible values. In case of regression and 2-class classification the optimal split can be found efficiently without employing clustering, thus the parameter is not used in these cases. Default value is 10. Read more
Source§

fn get_max_depth(&self) -> Result<i32>

The maximum possible depth of the tree. That is the training algorithms attempts to split a node while its depth is less than maxDepth. The root node has zero depth. The actual depth may be smaller if the other termination criteria are met (see the outline of the training procedure [ml_intro_trees] “here”), and/or if the tree is pruned. Default value is INT_MAX. Read more
Source§

fn get_min_sample_count(&self) -> Result<i32>

If the number of samples in a node is less than this parameter then the node will not be split. Read more
Source§

fn get_cv_folds(&self) -> Result<i32>

If CVFolds > 1 then algorithms prunes the built decision tree using K-fold cross-validation procedure where K is equal to CVFolds. Default value is 10. Read more
Source§

fn get_use_surrogates(&self) -> Result<bool>

If true then surrogate splits will be built. These splits allow to work with missing data and compute variable importance correctly. Default value is false. Read more
Source§

fn get_use1_se_rule(&self) -> Result<bool>

If true then a pruning will be harsher. This will make a tree more compact and more resistant to the training data noise but a bit less accurate. Default value is true. Read more
Source§

fn get_truncate_pruned_tree(&self) -> Result<bool>

If true then pruned branches are physically removed from the tree. Otherwise they are retained and it is possible to get results from the original unpruned (or pruned less aggressively) tree. Default value is true. Read more
Source§

fn get_regression_accuracy(&self) -> Result<f32>

Termination criteria for regression trees. If all absolute differences between an estimated value in a node and values of train samples in this node are less than this parameter then the node will not be split further. Default value is 0.01f Read more
Source§

fn get_priors(&self) -> Result<Mat>

The array of a priori class probabilities, sorted by the class label value. Read more
Source§

fn get_roots(&self) -> Result<Vector<i32>>

Returns indices of root nodes
Source§

fn get_nodes(&self) -> Result<Vector<DTrees_Node>>

Returns all the nodes Read more
Source§

fn get_splits(&self) -> Result<Vector<DTrees_Split>>

Returns all the splits Read more
Source§

fn get_subsets(&self) -> Result<Vector<i32>>

Returns all the bitsets for categorical splits Read more
Source§

impl DTreesTraitConst for BoxedRefMut<'_, DTrees>

Source§

fn as_raw_DTrees(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_max_categories(&self) -> Result<i32>

Cluster possible values of a categorical variable into K<=maxCategories clusters to find a suboptimal split. If a discrete variable, on which the training procedure tries to make a split, takes more than maxCategories values, the precise best subset estimation may take a very long time because the algorithm is exponential. Instead, many decision trees engines (including our implementation) try to find sub-optimal split in this case by clustering all the samples into maxCategories clusters that is some categories are merged together. The clustering is applied only in n > 2-class classification problems for categorical variables with N > max_categories possible values. In case of regression and 2-class classification the optimal split can be found efficiently without employing clustering, thus the parameter is not used in these cases. Default value is 10. Read more
Source§

fn get_max_depth(&self) -> Result<i32>

The maximum possible depth of the tree. That is the training algorithms attempts to split a node while its depth is less than maxDepth. The root node has zero depth. The actual depth may be smaller if the other termination criteria are met (see the outline of the training procedure [ml_intro_trees] “here”), and/or if the tree is pruned. Default value is INT_MAX. Read more
Source§

fn get_min_sample_count(&self) -> Result<i32>

If the number of samples in a node is less than this parameter then the node will not be split. Read more
Source§

fn get_cv_folds(&self) -> Result<i32>

If CVFolds > 1 then algorithms prunes the built decision tree using K-fold cross-validation procedure where K is equal to CVFolds. Default value is 10. Read more
Source§

fn get_use_surrogates(&self) -> Result<bool>

If true then surrogate splits will be built. These splits allow to work with missing data and compute variable importance correctly. Default value is false. Read more
Source§

fn get_use1_se_rule(&self) -> Result<bool>

If true then a pruning will be harsher. This will make a tree more compact and more resistant to the training data noise but a bit less accurate. Default value is true. Read more
Source§

fn get_truncate_pruned_tree(&self) -> Result<bool>

If true then pruned branches are physically removed from the tree. Otherwise they are retained and it is possible to get results from the original unpruned (or pruned less aggressively) tree. Default value is true. Read more
Source§

fn get_regression_accuracy(&self) -> Result<f32>

Termination criteria for regression trees. If all absolute differences between an estimated value in a node and values of train samples in this node are less than this parameter then the node will not be split further. Default value is 0.01f Read more
Source§

fn get_priors(&self) -> Result<Mat>

The array of a priori class probabilities, sorted by the class label value. Read more
Source§

fn get_roots(&self) -> Result<Vector<i32>>

Returns indices of root nodes
Source§

fn get_nodes(&self) -> Result<Vector<DTrees_Node>>

Returns all the nodes Read more
Source§

fn get_splits(&self) -> Result<Vector<DTrees_Split>>

Returns all the splits Read more
Source§

fn get_subsets(&self) -> Result<Vector<i32>>

Returns all the bitsets for categorical splits Read more
Source§

impl DTreesTraitConst for BoxedRefMut<'_, RTrees>

Source§

fn as_raw_DTrees(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_max_categories(&self) -> Result<i32>

Cluster possible values of a categorical variable into K<=maxCategories clusters to find a suboptimal split. If a discrete variable, on which the training procedure tries to make a split, takes more than maxCategories values, the precise best subset estimation may take a very long time because the algorithm is exponential. Instead, many decision trees engines (including our implementation) try to find sub-optimal split in this case by clustering all the samples into maxCategories clusters that is some categories are merged together. The clustering is applied only in n > 2-class classification problems for categorical variables with N > max_categories possible values. In case of regression and 2-class classification the optimal split can be found efficiently without employing clustering, thus the parameter is not used in these cases. Default value is 10. Read more
Source§

fn get_max_depth(&self) -> Result<i32>

The maximum possible depth of the tree. That is the training algorithms attempts to split a node while its depth is less than maxDepth. The root node has zero depth. The actual depth may be smaller if the other termination criteria are met (see the outline of the training procedure [ml_intro_trees] “here”), and/or if the tree is pruned. Default value is INT_MAX. Read more
Source§

fn get_min_sample_count(&self) -> Result<i32>

If the number of samples in a node is less than this parameter then the node will not be split. Read more
Source§

fn get_cv_folds(&self) -> Result<i32>

If CVFolds > 1 then algorithms prunes the built decision tree using K-fold cross-validation procedure where K is equal to CVFolds. Default value is 10. Read more
Source§

fn get_use_surrogates(&self) -> Result<bool>

If true then surrogate splits will be built. These splits allow to work with missing data and compute variable importance correctly. Default value is false. Read more
Source§

fn get_use1_se_rule(&self) -> Result<bool>

If true then a pruning will be harsher. This will make a tree more compact and more resistant to the training data noise but a bit less accurate. Default value is true. Read more
Source§

fn get_truncate_pruned_tree(&self) -> Result<bool>

If true then pruned branches are physically removed from the tree. Otherwise they are retained and it is possible to get results from the original unpruned (or pruned less aggressively) tree. Default value is true. Read more
Source§

fn get_regression_accuracy(&self) -> Result<f32>

Termination criteria for regression trees. If all absolute differences between an estimated value in a node and values of train samples in this node are less than this parameter then the node will not be split further. Default value is 0.01f Read more
Source§

fn get_priors(&self) -> Result<Mat>

The array of a priori class probabilities, sorted by the class label value. Read more
Source§

fn get_roots(&self) -> Result<Vector<i32>>

Returns indices of root nodes
Source§

fn get_nodes(&self) -> Result<Vector<DTrees_Node>>

Returns all the nodes Read more
Source§

fn get_splits(&self) -> Result<Vector<DTrees_Split>>

Returns all the splits Read more
Source§

fn get_subsets(&self) -> Result<Vector<i32>>

Returns all the bitsets for categorical splits Read more
Source§

impl DTrees_NodeTrait for BoxedRefMut<'_, DTrees_Node>

Source§

fn as_raw_mut_DTrees_Node( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_value(&mut self, val: f64)

Value at the node: a class label in case of classification or estimated function value in case of regression.
Source§

fn set_class_idx(&mut self, val: i32)

Class index normalized to 0..class_count-1 range and assigned to the node. It is used internally in classification trees and tree ensembles.
Source§

fn set_parent(&mut self, val: i32)

Index of the parent node
Source§

fn set_left(&mut self, val: i32)

Index of the left child node
Source§

fn set_right(&mut self, val: i32)

Index of right child node
Source§

fn set_default_dir(&mut self, val: i32)

Default direction where to go (-1: left or +1: right). It helps in the case of missing values.
Source§

fn set_split(&mut self, val: i32)

Index of the first split
Source§

impl DTrees_NodeTraitConst for BoxedRefMut<'_, DTrees_Node>

Source§

fn as_raw_DTrees_Node(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn value(&self) -> f64

Value at the node: a class label in case of classification or estimated function value in case of regression.
Source§

fn class_idx(&self) -> i32

Class index normalized to 0..class_count-1 range and assigned to the node. It is used internally in classification trees and tree ensembles.
Source§

fn parent(&self) -> i32

Index of the parent node
Source§

fn left(&self) -> i32

Index of the left child node
Source§

fn right(&self) -> i32

Index of right child node
Source§

fn default_dir(&self) -> i32

Default direction where to go (-1: left or +1: right). It helps in the case of missing values.
Source§

fn split(&self) -> i32

Index of the first split
Source§

impl DTrees_SplitTrait for BoxedRefMut<'_, DTrees_Split>

Source§

fn as_raw_mut_DTrees_Split( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_var_idx(&mut self, val: i32)

Index of variable on which the split is created.
Source§

fn set_inversed(&mut self, val: bool)

If true, then the inverse split rule is used (i.e. left and right branches are exchanged in the rule expressions below).
Source§

fn set_quality(&mut self, val: f32)

The split quality, a positive number. It is used to choose the best split.
Source§

fn set_next(&mut self, val: i32)

Index of the next split in the list of splits for the node
Source§

fn set_c(&mut self, val: f32)

< The threshold value in case of split on an ordered variable. The rule is: Read more
Source§

fn set_subset_ofs(&mut self, val: i32)

< Offset of the bitset used by the split on a categorical variable. The rule is: Read more
Source§

impl DTrees_SplitTraitConst for BoxedRefMut<'_, DTrees_Split>

Source§

fn as_raw_DTrees_Split(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn var_idx(&self) -> i32

Index of variable on which the split is created.
Source§

fn inversed(&self) -> bool

If true, then the inverse split rule is used (i.e. left and right branches are exchanged in the rule expressions below).
Source§

fn quality(&self) -> f32

The split quality, a positive number. It is used to choose the best split.
Source§

fn next(&self) -> i32

Index of the next split in the list of splits for the node
Source§

fn c(&self) -> f32

< The threshold value in case of split on an ordered variable. The rule is: Read more
Source§

fn subset_ofs(&self) -> i32

< Offset of the bitset used by the split on a categorical variable. The rule is: Read more
Source§

impl DataAugmentationLayerTrait for BoxedRefMut<'_, DataAugmentationLayer>

Source§

fn as_raw_mut_DataAugmentationLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl DataAugmentationLayerTraitConst for BoxedRefMut<'_, DataAugmentationLayer>

Source§

fn as_raw_DataAugmentationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl DataTrait for BoxedRefMut<'_, Data>

Source§

fn as_raw_mut_Data( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl DataTraitConst for BoxedRefMut<'_, Data>

Source§

fn as_raw_Data(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl DeblurerBaseTrait for BoxedRefMut<'_, DeblurerBase>

Source§

fn as_raw_mut_DeblurerBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_radius(&mut self, val: i32) -> Result<()>

Source§

fn deblur( &mut self, idx: i32, frame: &mut impl MatTrait, range: &impl RangeTraitConst, ) -> Result<()>

Source§

fn set_frames(&mut self, val: &Vector<Mat>) -> Result<()>

Source§

fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()>

Source§

fn set_blurriness_rates(&mut self, val: &Vector<f32>) -> Result<()>

Source§

impl DeblurerBaseTrait for BoxedRefMut<'_, NullDeblurer>

Source§

fn as_raw_mut_DeblurerBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_radius(&mut self, val: i32) -> Result<()>

Source§

fn deblur( &mut self, idx: i32, frame: &mut impl MatTrait, range: &impl RangeTraitConst, ) -> Result<()>

Source§

fn set_frames(&mut self, val: &Vector<Mat>) -> Result<()>

Source§

fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()>

Source§

fn set_blurriness_rates(&mut self, val: &Vector<f32>) -> Result<()>

Source§

impl DeblurerBaseTrait for BoxedRefMut<'_, WeightingDeblurer>

Source§

fn as_raw_mut_DeblurerBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_radius(&mut self, val: i32) -> Result<()>

Source§

fn deblur( &mut self, idx: i32, frame: &mut impl MatTrait, range: &impl RangeTraitConst, ) -> Result<()>

Source§

fn set_frames(&mut self, val: &Vector<Mat>) -> Result<()>

Source§

fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()>

Source§

fn set_blurriness_rates(&mut self, val: &Vector<f32>) -> Result<()>

Source§

impl DeblurerBaseTraitConst for BoxedRefMut<'_, DeblurerBase>

Source§

fn as_raw_DeblurerBase(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn radius(&self) -> Result<i32>

Source§

fn frames(&self) -> Result<Vector<Mat>>

Source§

fn motions(&self) -> Result<Vector<Mat>>

Source§

fn blurriness_rates(&self) -> Result<Vector<f32>>

Source§

impl DeblurerBaseTraitConst for BoxedRefMut<'_, NullDeblurer>

Source§

fn as_raw_DeblurerBase(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn radius(&self) -> Result<i32>

Source§

fn frames(&self) -> Result<Vector<Mat>>

Source§

fn motions(&self) -> Result<Vector<Mat>>

Source§

fn blurriness_rates(&self) -> Result<Vector<f32>>

Source§

impl DeblurerBaseTraitConst for BoxedRefMut<'_, WeightingDeblurer>

Source§

fn as_raw_DeblurerBase(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn radius(&self) -> Result<i32>

Source§

fn frames(&self) -> Result<Vector<Mat>>

Source§

fn motions(&self) -> Result<Vector<Mat>>

Source§

fn blurriness_rates(&self) -> Result<Vector<f32>>

Source§

impl<T: Boxed + Debug> Debug for BoxedRefMut<'_, T>

Source§

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

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

impl DeconvolutionLayerTrait for BoxedRefMut<'_, DeconvolutionLayer>

Source§

fn as_raw_mut_DeconvolutionLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl DeconvolutionLayerTraitConst for BoxedRefMut<'_, DeconvolutionLayer>

Source§

fn as_raw_DeconvolutionLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl DenseOpticalFlowTrait for BoxedRefMut<'_, DISOpticalFlow>

Source§

fn as_raw_mut_DenseOpticalFlow( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn calc( &mut self, i0: &impl ToInputArray, i1: &impl ToInputArray, flow: &mut impl ToInputOutputArray, ) -> Result<()>

Calculates an optical flow. Read more
Source§

fn collect_garbage(&mut self) -> Result<()>

Releases all inner buffers.
Source§

impl DenseOpticalFlowTrait for BoxedRefMut<'_, DenseOpticalFlow>

Source§

fn as_raw_mut_DenseOpticalFlow( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn calc( &mut self, i0: &impl ToInputArray, i1: &impl ToInputArray, flow: &mut impl ToInputOutputArray, ) -> Result<()>

Calculates an optical flow. Read more
Source§

fn collect_garbage(&mut self) -> Result<()>

Releases all inner buffers.
Source§

impl DenseOpticalFlowTrait for BoxedRefMut<'_, DenseRLOFOpticalFlow>

Source§

fn as_raw_mut_DenseOpticalFlow( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn calc( &mut self, i0: &impl ToInputArray, i1: &impl ToInputArray, flow: &mut impl ToInputOutputArray, ) -> Result<()>

Calculates an optical flow. Read more
Source§

fn collect_garbage(&mut self) -> Result<()>

Releases all inner buffers.
Source§

impl DenseOpticalFlowTrait for BoxedRefMut<'_, DualTVL1OpticalFlow>

Source§

fn as_raw_mut_DenseOpticalFlow( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn calc( &mut self, i0: &impl ToInputArray, i1: &impl ToInputArray, flow: &mut impl ToInputOutputArray, ) -> Result<()>

Calculates an optical flow. Read more
Source§

fn collect_garbage(&mut self) -> Result<()>

Releases all inner buffers.
Source§

impl DenseOpticalFlowTrait for BoxedRefMut<'_, FarnebackOpticalFlow>

Source§

fn as_raw_mut_DenseOpticalFlow( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn calc( &mut self, i0: &impl ToInputArray, i1: &impl ToInputArray, flow: &mut impl ToInputOutputArray, ) -> Result<()>

Calculates an optical flow. Read more
Source§

fn collect_garbage(&mut self) -> Result<()>

Releases all inner buffers.
Source§

impl DenseOpticalFlowTrait for BoxedRefMut<'_, OpticalFlowPCAFlow>

Source§

fn as_raw_mut_DenseOpticalFlow( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn calc( &mut self, i0: &impl ToInputArray, i1: &impl ToInputArray, flow: &mut impl ToInputOutputArray, ) -> Result<()>

Calculates an optical flow. Read more
Source§

fn collect_garbage(&mut self) -> Result<()>

Releases all inner buffers.
Source§

impl DenseOpticalFlowTrait for BoxedRefMut<'_, VariationalRefinement>

Source§

fn as_raw_mut_DenseOpticalFlow( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn calc( &mut self, i0: &impl ToInputArray, i1: &impl ToInputArray, flow: &mut impl ToInputOutputArray, ) -> Result<()>

Calculates an optical flow. Read more
Source§

fn collect_garbage(&mut self) -> Result<()>

Releases all inner buffers.
Source§

impl DenseOpticalFlowTraitConst for BoxedRefMut<'_, DISOpticalFlow>

Source§

fn as_raw_DenseOpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl DenseOpticalFlowTraitConst for BoxedRefMut<'_, DenseOpticalFlow>

Source§

fn as_raw_DenseOpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl DenseOpticalFlowTraitConst for BoxedRefMut<'_, DenseRLOFOpticalFlow>

Source§

fn as_raw_DenseOpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl DenseOpticalFlowTraitConst for BoxedRefMut<'_, DualTVL1OpticalFlow>

Source§

fn as_raw_DenseOpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl DenseOpticalFlowTraitConst for BoxedRefMut<'_, FarnebackOpticalFlow>

Source§

fn as_raw_DenseOpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl DenseOpticalFlowTraitConst for BoxedRefMut<'_, OpticalFlowPCAFlow>

Source§

fn as_raw_DenseOpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl DenseOpticalFlowTraitConst for BoxedRefMut<'_, VariationalRefinement>

Source§

fn as_raw_DenseOpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl DensePyrLkOptFlowEstimatorGpuTrait for BoxedRefMut<'_, DensePyrLkOptFlowEstimatorGpu>

Source§

fn as_raw_mut_DensePyrLkOptFlowEstimatorGpu( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn run( &mut self, frame0: &impl ToInputArray, frame1: &impl ToInputArray, flow_x: &mut impl ToInputOutputArray, flow_y: &mut impl ToInputOutputArray, errors: &mut impl ToOutputArray, ) -> Result<()>

Source§

impl DensePyrLkOptFlowEstimatorGpuTraitConst for BoxedRefMut<'_, DensePyrLkOptFlowEstimatorGpu>

Source§

fn as_raw_DensePyrLkOptFlowEstimatorGpu( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl DenseRLOFOpticalFlowTrait for BoxedRefMut<'_, DenseRLOFOpticalFlow>

Source§

fn as_raw_mut_DenseRLOFOpticalFlow( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_rlof_optical_flow_parameter( &mut self, val: Ptr<RLOFOpticalFlowParameter>, ) -> Result<()>

Configuration of the RLOF alogrithm. Read more
Source§

fn set_forward_backward(&mut self, val: f32) -> Result<()>

Threshold for the forward backward confidence check For each grid point inline formula a motion vector inline formula is computed. * If the forward backward error block formula * is larger than threshold given by this function then the motion vector will not be used by the following * vector field interpolation. inline formula denotes the backward flow. Note, the forward backward test * will only be applied if the threshold > 0. This may results into a doubled runtime for the motion estimation. * see also: getForwardBackward, setGridStep Read more
Source§

fn set_grid_step(&mut self, val: Size) -> Result<()>

Size of the grid to spawn the motion vectors. For each grid point a motion vector is computed. Some motion vectors will be removed due to the forwatd backward * threshold (if set >0). The rest will be the base of the vector field interpolation. * getForwardBackward, setGridStep Read more
Source§

fn set_interpolation(&mut self, val: InterpolationType) -> Result<()>

Interpolation used to compute the dense optical flow. Two interpolation algorithms are supported * - INTERP_GEO applies the fast geodesic interpolation, see Geistert2016. * - INTERP_EPIC_RESIDUAL applies the edge-preserving interpolation, see Revaud2015,Geistert2016. * see also: ximgproc::EdgeAwareInterpolator, getInterpolation
Source§

fn set_epick(&mut self, val: i32) -> Result<()>

see ximgproc::EdgeAwareInterpolator() K value. K is a number of nearest-neighbor matches considered, when fitting a locally affine * model. Usually it should be around 128. However, lower values would make the interpolation noticeably faster. * ximgproc::EdgeAwareInterpolator, setEPICK Read more
Source§

fn set_epic_sigma(&mut self, val: f32) -> Result<()>

see ximgproc::EdgeAwareInterpolator() sigma value. Sigma is a parameter defining how fast the weights decrease in the locally-weighted affine * fitting. Higher values can help preserve fine details, lower values can help to get rid of noise in the * output flow. * ximgproc::EdgeAwareInterpolator, setEPICSigma Read more
Source§

fn set_epic_lambda(&mut self, val: f32) -> Result<()>

see ximgproc::EdgeAwareInterpolator() lambda value. Lambda is a parameter defining the weight of the edge-aware term in geodesic distance, * should be in the range of 0 to 1000. * ximgproc::EdgeAwareInterpolator, setEPICSigma Read more
Source§

fn set_fgs_lambda(&mut self, val: f32) -> Result<()>

see ximgproc::EdgeAwareInterpolator(). Sets the respective fastGlobalSmootherFilter() parameter. * ximgproc::EdgeAwareInterpolator, setFgsLambda Read more
Source§

fn set_fgs_sigma(&mut self, val: f32) -> Result<()>

see ximgproc::EdgeAwareInterpolator(). Sets the respective fastGlobalSmootherFilter() parameter. * ximgproc::EdgeAwareInterpolator, ximgproc::fastGlobalSmootherFilter, setFgsSigma Read more
Source§

fn set_use_post_proc(&mut self, val: bool) -> Result<()>

enables ximgproc::fastGlobalSmootherFilter Read more
Source§

fn set_use_variational_refinement(&mut self, val: bool) -> Result<()>

enables VariationalRefinement Read more
Source§

fn set_ricsp_size(&mut self, val: i32) -> Result<()>

Parameter to tune the approximate size of the superpixel used for oversegmentation. Read more
Source§

fn set_ricslic_type(&mut self, val: i32) -> Result<()>

Parameter to choose superpixel algorithm variant to use: Read more
Source§

impl DenseRLOFOpticalFlowTraitConst for BoxedRefMut<'_, DenseRLOFOpticalFlow>

Source§

fn as_raw_DenseRLOFOpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_rlof_optical_flow_parameter( &self, ) -> Result<Ptr<RLOFOpticalFlowParameter>>

Configuration of the RLOF alogrithm. Read more
Source§

fn get_forward_backward(&self) -> Result<f32>

Threshold for the forward backward confidence check For each grid point inline formula a motion vector inline formula is computed. * If the forward backward error block formula * is larger than threshold given by this function then the motion vector will not be used by the following * vector field interpolation. inline formula denotes the backward flow. Note, the forward backward test * will only be applied if the threshold > 0. This may results into a doubled runtime for the motion estimation. * getForwardBackward, setGridStep Read more
Source§

fn get_grid_step(&self) -> Result<Size>

Size of the grid to spawn the motion vectors. For each grid point a motion vector is computed. Some motion vectors will be removed due to the forwatd backward * threshold (if set >0). The rest will be the base of the vector field interpolation. * see also: getForwardBackward, setGridStep
Source§

fn get_interpolation(&self) -> Result<InterpolationType>

Interpolation used to compute the dense optical flow. Two interpolation algorithms are supported * - INTERP_GEO applies the fast geodesic interpolation, see Geistert2016. * - INTERP_EPIC_RESIDUAL applies the edge-preserving interpolation, see Revaud2015,Geistert2016. * ximgproc::EdgeAwareInterpolator, getInterpolation Read more
Source§

fn get_epick(&self) -> Result<i32>

see ximgproc::EdgeAwareInterpolator() K value. K is a number of nearest-neighbor matches considered, when fitting a locally affine * model. Usually it should be around 128. However, lower values would make the interpolation noticeably faster. * see also: ximgproc::EdgeAwareInterpolator, setEPICK
Source§

fn get_epic_sigma(&self) -> Result<f32>

see ximgproc::EdgeAwareInterpolator() sigma value. Sigma is a parameter defining how fast the weights decrease in the locally-weighted affine * fitting. Higher values can help preserve fine details, lower values can help to get rid of noise in the * output flow. * see also: ximgproc::EdgeAwareInterpolator, setEPICSigma
Source§

fn get_epic_lambda(&self) -> Result<f32>

see ximgproc::EdgeAwareInterpolator() lambda value. Lambda is a parameter defining the weight of the edge-aware term in geodesic distance, * should be in the range of 0 to 1000. * see also: ximgproc::EdgeAwareInterpolator, setEPICSigma
Source§

fn get_fgs_lambda(&self) -> Result<f32>

see ximgproc::EdgeAwareInterpolator(). Sets the respective fastGlobalSmootherFilter() parameter. * see also: ximgproc::EdgeAwareInterpolator, setFgsLambda
Source§

fn get_fgs_sigma(&self) -> Result<f32>

see ximgproc::EdgeAwareInterpolator(). Sets the respective fastGlobalSmootherFilter() parameter. * see also: ximgproc::EdgeAwareInterpolator, ximgproc::fastGlobalSmootherFilter, setFgsSigma
Source§

fn get_use_post_proc(&self) -> Result<bool>

enables ximgproc::fastGlobalSmootherFilter Read more
Source§

fn get_use_variational_refinement(&self) -> Result<bool>

enables VariationalRefinement Read more
Source§

fn get_ricsp_size(&self) -> Result<i32>

Parameter to tune the approximate size of the superpixel used for oversegmentation. Read more
Source§

fn get_ricslic_type(&self) -> Result<i32>

Parameter to choose superpixel algorithm variant to use: Read more
Source§

impl DepthCleanerTrait for BoxedRefMut<'_, DepthCleaner>

Source§

fn as_raw_mut_DepthCleaner( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_window_size(&mut self, val: i32) -> Result<()>

Source§

fn set_depth(&mut self, val: i32) -> Result<()>

Source§

fn set_method(&mut self, val: i32) -> Result<()>

Source§

impl DepthCleanerTraitConst for BoxedRefMut<'_, DepthCleaner>

Source§

fn as_raw_DepthCleaner(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn apply( &self, points: &impl ToInputArray, depth: &mut impl ToOutputArray, ) -> Result<()>

Given a set of 3d points in a depth image, compute the normals at each point. Read more
Source§

fn initialize(&self) -> Result<()>

Initializes some data that is cached for later computation If that function is not called, it will be called the first time normals are computed
Source§

fn get_window_size(&self) -> Result<i32>

Source§

fn get_depth(&self) -> Result<i32>

Source§

fn get_method(&self) -> Result<i32>

Source§

impl DepthToSpaceLayerTrait for BoxedRefMut<'_, DepthToSpaceLayer>

Source§

fn as_raw_mut_DepthToSpaceLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl DepthToSpaceLayerTraitConst for BoxedRefMut<'_, DepthToSpaceLayer>

Source§

fn as_raw_DepthToSpaceLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl DequantizeLayerTrait for BoxedRefMut<'_, DequantizeLayer>

Source§

fn as_raw_mut_DequantizeLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_scales(&mut self, val: Vector<f32>)

Source§

fn set_zeropoints(&mut self, val: Vector<i32>)

Source§

impl DequantizeLayerTraitConst for BoxedRefMut<'_, DequantizeLayer>

Source§

fn as_raw_DequantizeLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn scales(&self) -> Vector<f32>

Source§

fn zeropoints(&self) -> Vector<i32>

Source§

impl DescriptorMatcherTrait for BoxedRefMut<'_, BFMatcher>

Source§

fn as_raw_mut_DescriptorMatcher( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn add(&mut self, descriptors: &impl ToInputArray) -> Result<()>

Adds descriptors to train a CPU(trainDescCollectionis) or GPU(utrainDescCollectionis) descriptor collection. Read more
Source§

fn clear(&mut self) -> Result<()>

Clears the train descriptor collections.
Source§

fn train(&mut self) -> Result<()>

Trains a descriptor matcher Read more
Source§

fn match_( &mut self, query_descriptors: &impl ToInputArray, matches: &mut Vector<DMatch>, masks: &impl ToInputArray, ) -> Result<()>

Finds the best match for each descriptor from a query set. Read more
Source§

fn match__def( &mut self, query_descriptors: &impl ToInputArray, matches: &mut Vector<DMatch>, ) -> Result<()>

@overload Read more
Source§

fn knn_match( &mut self, query_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, k: i32, masks: &impl ToInputArray, compact_result: bool, ) -> Result<()>

Finds the k best matches for each descriptor from a query set. Read more
Source§

fn knn_match_def( &mut self, query_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, k: i32, ) -> Result<()>

@overload Read more
Source§

fn radius_match( &mut self, query_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, max_distance: f32, masks: &impl ToInputArray, compact_result: bool, ) -> Result<()>

For each query descriptor, finds the training descriptors not farther than the specified distance. Read more
Source§

fn radius_match_def( &mut self, query_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, max_distance: f32, ) -> Result<()>

@overload Read more
Source§

fn read(&mut self, file_name: &str) -> Result<()>

Source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

Source§

impl DescriptorMatcherTrait for BoxedRefMut<'_, DescriptorMatcher>

Source§

fn as_raw_mut_DescriptorMatcher( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn add(&mut self, descriptors: &impl ToInputArray) -> Result<()>

Adds descriptors to train a CPU(trainDescCollectionis) or GPU(utrainDescCollectionis) descriptor collection. Read more
Source§

fn clear(&mut self) -> Result<()>

Clears the train descriptor collections.
Source§

fn train(&mut self) -> Result<()>

Trains a descriptor matcher Read more
Source§

fn match_( &mut self, query_descriptors: &impl ToInputArray, matches: &mut Vector<DMatch>, masks: &impl ToInputArray, ) -> Result<()>

Finds the best match for each descriptor from a query set. Read more
Source§

fn match__def( &mut self, query_descriptors: &impl ToInputArray, matches: &mut Vector<DMatch>, ) -> Result<()>

@overload Read more
Source§

fn knn_match( &mut self, query_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, k: i32, masks: &impl ToInputArray, compact_result: bool, ) -> Result<()>

Finds the k best matches for each descriptor from a query set. Read more
Source§

fn knn_match_def( &mut self, query_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, k: i32, ) -> Result<()>

@overload Read more
Source§

fn radius_match( &mut self, query_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, max_distance: f32, masks: &impl ToInputArray, compact_result: bool, ) -> Result<()>

For each query descriptor, finds the training descriptors not farther than the specified distance. Read more
Source§

fn radius_match_def( &mut self, query_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, max_distance: f32, ) -> Result<()>

@overload Read more
Source§

fn read(&mut self, file_name: &str) -> Result<()>

Source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

Source§

impl DescriptorMatcherTrait for BoxedRefMut<'_, FlannBasedMatcher>

Source§

fn as_raw_mut_DescriptorMatcher( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn add(&mut self, descriptors: &impl ToInputArray) -> Result<()>

Adds descriptors to train a CPU(trainDescCollectionis) or GPU(utrainDescCollectionis) descriptor collection. Read more
Source§

fn clear(&mut self) -> Result<()>

Clears the train descriptor collections.
Source§

fn train(&mut self) -> Result<()>

Trains a descriptor matcher Read more
Source§

fn match_( &mut self, query_descriptors: &impl ToInputArray, matches: &mut Vector<DMatch>, masks: &impl ToInputArray, ) -> Result<()>

Finds the best match for each descriptor from a query set. Read more
Source§

fn match__def( &mut self, query_descriptors: &impl ToInputArray, matches: &mut Vector<DMatch>, ) -> Result<()>

@overload Read more
Source§

fn knn_match( &mut self, query_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, k: i32, masks: &impl ToInputArray, compact_result: bool, ) -> Result<()>

Finds the k best matches for each descriptor from a query set. Read more
Source§

fn knn_match_def( &mut self, query_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, k: i32, ) -> Result<()>

@overload Read more
Source§

fn radius_match( &mut self, query_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, max_distance: f32, masks: &impl ToInputArray, compact_result: bool, ) -> Result<()>

For each query descriptor, finds the training descriptors not farther than the specified distance. Read more
Source§

fn radius_match_def( &mut self, query_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, max_distance: f32, ) -> Result<()>

@overload Read more
Source§

fn read(&mut self, file_name: &str) -> Result<()>

Source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

Source§

impl DescriptorMatcherTraitConst for BoxedRefMut<'_, BFMatcher>

Source§

fn as_raw_DescriptorMatcher( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_train_descriptors(&self) -> Result<Vector<Mat>>

Returns a constant link to the train descriptor collection trainDescCollection .
Source§

fn empty(&self) -> Result<bool>

Returns true if there are no train descriptors in the both collections.
Source§

fn is_mask_supported(&self) -> Result<bool>

Returns true if the descriptor matcher supports masking permissible matches.
Source§

fn train_match( &self, query_descriptors: &impl ToInputArray, train_descriptors: &impl ToInputArray, matches: &mut Vector<DMatch>, mask: &impl ToInputArray, ) -> Result<()>

Finds the best match for each descriptor from a query set. Read more
Source§

fn train_match_def( &self, query_descriptors: &impl ToInputArray, train_descriptors: &impl ToInputArray, matches: &mut Vector<DMatch>, ) -> Result<()>

Finds the best match for each descriptor from a query set. Read more
Source§

fn knn_train_match( &self, query_descriptors: &impl ToInputArray, train_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, k: i32, mask: &impl ToInputArray, compact_result: bool, ) -> Result<()>

Finds the k best matches for each descriptor from a query set. Read more
Source§

fn knn_train_match_def( &self, query_descriptors: &impl ToInputArray, train_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, k: i32, ) -> Result<()>

Finds the k best matches for each descriptor from a query set. Read more
Source§

fn radius_train_match( &self, query_descriptors: &impl ToInputArray, train_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, max_distance: f32, mask: &impl ToInputArray, compact_result: bool, ) -> Result<()>

For each query descriptor, finds the training descriptors not farther than the specified distance. Read more
Source§

fn radius_train_match_def( &self, query_descriptors: &impl ToInputArray, train_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, max_distance: f32, ) -> Result<()>

For each query descriptor, finds the training descriptors not farther than the specified distance. Read more
Source§

fn write(&self, file_name: &str) -> Result<()>

Source§

fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

Source§

fn clone(&self, empty_train_data: bool) -> Result<Ptr<DescriptorMatcher>>

Clones the matcher. Read more
Source§

fn clone_def(&self) -> Result<Ptr<DescriptorMatcher>>

Clones the matcher. Read more
Source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>

Source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>

Source§

impl DescriptorMatcherTraitConst for BoxedRefMut<'_, DescriptorMatcher>

Source§

fn as_raw_DescriptorMatcher( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_train_descriptors(&self) -> Result<Vector<Mat>>

Returns a constant link to the train descriptor collection trainDescCollection .
Source§

fn empty(&self) -> Result<bool>

Returns true if there are no train descriptors in the both collections.
Source§

fn is_mask_supported(&self) -> Result<bool>

Returns true if the descriptor matcher supports masking permissible matches.
Source§

fn train_match( &self, query_descriptors: &impl ToInputArray, train_descriptors: &impl ToInputArray, matches: &mut Vector<DMatch>, mask: &impl ToInputArray, ) -> Result<()>

Finds the best match for each descriptor from a query set. Read more
Source§

fn train_match_def( &self, query_descriptors: &impl ToInputArray, train_descriptors: &impl ToInputArray, matches: &mut Vector<DMatch>, ) -> Result<()>

Finds the best match for each descriptor from a query set. Read more
Source§

fn knn_train_match( &self, query_descriptors: &impl ToInputArray, train_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, k: i32, mask: &impl ToInputArray, compact_result: bool, ) -> Result<()>

Finds the k best matches for each descriptor from a query set. Read more
Source§

fn knn_train_match_def( &self, query_descriptors: &impl ToInputArray, train_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, k: i32, ) -> Result<()>

Finds the k best matches for each descriptor from a query set. Read more
Source§

fn radius_train_match( &self, query_descriptors: &impl ToInputArray, train_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, max_distance: f32, mask: &impl ToInputArray, compact_result: bool, ) -> Result<()>

For each query descriptor, finds the training descriptors not farther than the specified distance. Read more
Source§

fn radius_train_match_def( &self, query_descriptors: &impl ToInputArray, train_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, max_distance: f32, ) -> Result<()>

For each query descriptor, finds the training descriptors not farther than the specified distance. Read more
Source§

fn write(&self, file_name: &str) -> Result<()>

Source§

fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

Source§

fn clone(&self, empty_train_data: bool) -> Result<Ptr<DescriptorMatcher>>

Clones the matcher. Read more
Source§

fn clone_def(&self) -> Result<Ptr<DescriptorMatcher>>

Clones the matcher. Read more
Source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>

Source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>

Source§

impl DescriptorMatcherTraitConst for BoxedRefMut<'_, FlannBasedMatcher>

Source§

fn as_raw_DescriptorMatcher( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_train_descriptors(&self) -> Result<Vector<Mat>>

Returns a constant link to the train descriptor collection trainDescCollection .
Source§

fn empty(&self) -> Result<bool>

Returns true if there are no train descriptors in the both collections.
Source§

fn is_mask_supported(&self) -> Result<bool>

Returns true if the descriptor matcher supports masking permissible matches.
Source§

fn train_match( &self, query_descriptors: &impl ToInputArray, train_descriptors: &impl ToInputArray, matches: &mut Vector<DMatch>, mask: &impl ToInputArray, ) -> Result<()>

Finds the best match for each descriptor from a query set. Read more
Source§

fn train_match_def( &self, query_descriptors: &impl ToInputArray, train_descriptors: &impl ToInputArray, matches: &mut Vector<DMatch>, ) -> Result<()>

Finds the best match for each descriptor from a query set. Read more
Source§

fn knn_train_match( &self, query_descriptors: &impl ToInputArray, train_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, k: i32, mask: &impl ToInputArray, compact_result: bool, ) -> Result<()>

Finds the k best matches for each descriptor from a query set. Read more
Source§

fn knn_train_match_def( &self, query_descriptors: &impl ToInputArray, train_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, k: i32, ) -> Result<()>

Finds the k best matches for each descriptor from a query set. Read more
Source§

fn radius_train_match( &self, query_descriptors: &impl ToInputArray, train_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, max_distance: f32, mask: &impl ToInputArray, compact_result: bool, ) -> Result<()>

For each query descriptor, finds the training descriptors not farther than the specified distance. Read more
Source§

fn radius_train_match_def( &self, query_descriptors: &impl ToInputArray, train_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, max_distance: f32, ) -> Result<()>

For each query descriptor, finds the training descriptors not farther than the specified distance. Read more
Source§

fn write(&self, file_name: &str) -> Result<()>

Source§

fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

Source§

fn clone(&self, empty_train_data: bool) -> Result<Ptr<DescriptorMatcher>>

Clones the matcher. Read more
Source§

fn clone_def(&self) -> Result<Ptr<DescriptorMatcher>>

Clones the matcher. Read more
Source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>

Source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>

Source§

impl Detail_AffineBasedEstimatorTrait for BoxedRefMut<'_, Detail_AffineBasedEstimator>

Source§

fn as_raw_mut_Detail_AffineBasedEstimator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl Detail_AffineBasedEstimatorTraitConst for BoxedRefMut<'_, Detail_AffineBasedEstimator>

Source§

fn as_raw_Detail_AffineBasedEstimator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_AffineBestOf2NearestMatcherTrait for BoxedRefMut<'_, Detail_AffineBestOf2NearestMatcher>

Source§

fn as_raw_mut_Detail_AffineBestOf2NearestMatcher( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl Detail_AffineBestOf2NearestMatcherTraitConst for BoxedRefMut<'_, Detail_AffineBestOf2NearestMatcher>

Source§

fn as_raw_Detail_AffineBestOf2NearestMatcher( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_AffineWarperTrait for BoxedRefMut<'_, Detail_AffineWarper>

Source§

fn as_raw_mut_Detail_AffineWarper( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn warp_point( &mut self, pt: Point2f, k: &impl ToInputArray, h: &impl ToInputArray, ) -> Result<Point2f>

Projects the image point. Read more
Source§

fn warp_point_backward( &mut self, pt: Point2f, k: &impl ToInputArray, h: &impl ToInputArray, ) -> Result<Point2f>

Projects the image point backward. Read more
Source§

fn build_maps( &mut self, src_size: Size, k: &impl ToInputArray, h: &impl ToInputArray, xmap: &mut impl ToOutputArray, ymap: &mut impl ToOutputArray, ) -> Result<Rect>

Builds the projection maps according to the given camera data. Read more
Source§

fn warp( &mut self, src: &impl ToInputArray, k: &impl ToInputArray, h: &impl ToInputArray, interp_mode: i32, border_mode: i32, dst: &mut impl ToOutputArray, ) -> Result<Point>

Projects the image. Read more
Source§

fn warp_roi( &mut self, src_size: Size, k: &impl ToInputArray, h: &impl ToInputArray, ) -> Result<Rect>

Parameters Read more
Source§

impl Detail_AffineWarperTraitConst for BoxedRefMut<'_, Detail_AffineWarper>

Source§

fn as_raw_Detail_AffineWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_BestOf2NearestMatcherTrait for BoxedRefMut<'_, Detail_AffineBestOf2NearestMatcher>

Source§

fn as_raw_mut_Detail_BestOf2NearestMatcher( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn collect_garbage(&mut self) -> Result<()>

Source§

impl Detail_BestOf2NearestMatcherTrait for BoxedRefMut<'_, Detail_BestOf2NearestMatcher>

Source§

fn as_raw_mut_Detail_BestOf2NearestMatcher( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn collect_garbage(&mut self) -> Result<()>

Source§

impl Detail_BestOf2NearestMatcherTrait for BoxedRefMut<'_, Detail_BestOf2NearestRangeMatcher>

Source§

fn as_raw_mut_Detail_BestOf2NearestMatcher( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn collect_garbage(&mut self) -> Result<()>

Source§

impl Detail_BestOf2NearestMatcherTraitConst for BoxedRefMut<'_, Detail_AffineBestOf2NearestMatcher>

Source§

fn as_raw_Detail_BestOf2NearestMatcher( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_BestOf2NearestMatcherTraitConst for BoxedRefMut<'_, Detail_BestOf2NearestMatcher>

Source§

fn as_raw_Detail_BestOf2NearestMatcher( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_BestOf2NearestMatcherTraitConst for BoxedRefMut<'_, Detail_BestOf2NearestRangeMatcher>

Source§

fn as_raw_Detail_BestOf2NearestMatcher( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_BestOf2NearestRangeMatcherTrait for BoxedRefMut<'_, Detail_BestOf2NearestRangeMatcher>

Source§

fn as_raw_mut_Detail_BestOf2NearestRangeMatcher( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl Detail_BestOf2NearestRangeMatcherTraitConst for BoxedRefMut<'_, Detail_BestOf2NearestRangeMatcher>

Source§

fn as_raw_Detail_BestOf2NearestRangeMatcher( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_BlenderTrait for BoxedRefMut<'_, Detail_Blender>

Source§

fn as_raw_mut_Detail_Blender( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn prepare( &mut self, corners: &Vector<Point>, sizes: &Vector<Size>, ) -> Result<()>

Prepares the blender for blending. Read more
Source§

fn prepare_1(&mut self, dst_roi: Rect) -> Result<()>

Prepares the blender for blending. Read more
Source§

fn feed( &mut self, img: &impl ToInputArray, mask: &impl ToInputArray, tl: Point, ) -> Result<()>

Processes the image. Read more
Source§

fn blend( &mut self, dst: &mut impl ToInputOutputArray, dst_mask: &mut impl ToInputOutputArray, ) -> Result<()>

Blends and returns the final pano. Read more
Source§

impl Detail_BlenderTrait for BoxedRefMut<'_, Detail_FeatherBlender>

Source§

fn as_raw_mut_Detail_Blender( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn prepare( &mut self, corners: &Vector<Point>, sizes: &Vector<Size>, ) -> Result<()>

Prepares the blender for blending. Read more
Source§

fn prepare_1(&mut self, dst_roi: Rect) -> Result<()>

Prepares the blender for blending. Read more
Source§

fn feed( &mut self, img: &impl ToInputArray, mask: &impl ToInputArray, tl: Point, ) -> Result<()>

Processes the image. Read more
Source§

fn blend( &mut self, dst: &mut impl ToInputOutputArray, dst_mask: &mut impl ToInputOutputArray, ) -> Result<()>

Blends and returns the final pano. Read more
Source§

impl Detail_BlenderTrait for BoxedRefMut<'_, Detail_MultiBandBlender>

Source§

fn as_raw_mut_Detail_Blender( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn prepare( &mut self, corners: &Vector<Point>, sizes: &Vector<Size>, ) -> Result<()>

Prepares the blender for blending. Read more
Source§

fn prepare_1(&mut self, dst_roi: Rect) -> Result<()>

Prepares the blender for blending. Read more
Source§

fn feed( &mut self, img: &impl ToInputArray, mask: &impl ToInputArray, tl: Point, ) -> Result<()>

Processes the image. Read more
Source§

fn blend( &mut self, dst: &mut impl ToInputOutputArray, dst_mask: &mut impl ToInputOutputArray, ) -> Result<()>

Blends and returns the final pano. Read more
Source§

impl Detail_BlenderTraitConst for BoxedRefMut<'_, Detail_Blender>

Source§

fn as_raw_Detail_Blender( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_BlenderTraitConst for BoxedRefMut<'_, Detail_FeatherBlender>

Source§

fn as_raw_Detail_Blender( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_BlenderTraitConst for BoxedRefMut<'_, Detail_MultiBandBlender>

Source§

fn as_raw_Detail_Blender( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_BlocksChannelsCompensatorTrait for BoxedRefMut<'_, Detail_BlocksChannelsCompensator>

Source§

fn as_raw_mut_Detail_BlocksChannelsCompensator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn feed( &mut self, corners: &Vector<Point>, images: &Vector<UMat>, masks: &Vector<Tuple<(UMat, u8)>>, ) -> Result<()>

Source§

impl Detail_BlocksChannelsCompensatorTraitConst for BoxedRefMut<'_, Detail_BlocksChannelsCompensator>

Source§

fn as_raw_Detail_BlocksChannelsCompensator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_BlocksCompensatorTrait for BoxedRefMut<'_, Detail_BlocksChannelsCompensator>

Source§

fn as_raw_mut_Detail_BlocksCompensator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn apply( &mut self, index: i32, corner: Point, image: &mut impl ToInputOutputArray, mask: &impl ToInputArray, ) -> Result<()>

Source§

fn get_mat_gains(&mut self, umv: &mut Vector<Mat>) -> Result<()>

Source§

fn set_mat_gains(&mut self, umv: &mut Vector<Mat>) -> Result<()>

Source§

fn set_nr_feeds(&mut self, nr_feeds: i32) -> Result<()>

Source§

fn get_nr_feeds(&mut self) -> Result<i32>

Source§

fn set_similarity_threshold(&mut self, similarity_threshold: f64) -> Result<()>

Source§

fn set_block_size(&mut self, width: i32, height: i32) -> Result<()>

Source§

fn set_block_size_1(&mut self, size: Size) -> Result<()>

Source§

fn set_nr_gains_filtering_iterations( &mut self, nr_iterations: i32, ) -> Result<()>

Source§

impl Detail_BlocksCompensatorTrait for BoxedRefMut<'_, Detail_BlocksCompensator>

Source§

fn as_raw_mut_Detail_BlocksCompensator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn apply( &mut self, index: i32, corner: Point, image: &mut impl ToInputOutputArray, mask: &impl ToInputArray, ) -> Result<()>

Source§

fn get_mat_gains(&mut self, umv: &mut Vector<Mat>) -> Result<()>

Source§

fn set_mat_gains(&mut self, umv: &mut Vector<Mat>) -> Result<()>

Source§

fn set_nr_feeds(&mut self, nr_feeds: i32) -> Result<()>

Source§

fn get_nr_feeds(&mut self) -> Result<i32>

Source§

fn set_similarity_threshold(&mut self, similarity_threshold: f64) -> Result<()>

Source§

fn set_block_size(&mut self, width: i32, height: i32) -> Result<()>

Source§

fn set_block_size_1(&mut self, size: Size) -> Result<()>

Source§

fn set_nr_gains_filtering_iterations( &mut self, nr_iterations: i32, ) -> Result<()>

Source§

impl Detail_BlocksCompensatorTrait for BoxedRefMut<'_, Detail_BlocksGainCompensator>

Source§

fn as_raw_mut_Detail_BlocksCompensator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn apply( &mut self, index: i32, corner: Point, image: &mut impl ToInputOutputArray, mask: &impl ToInputArray, ) -> Result<()>

Source§

fn get_mat_gains(&mut self, umv: &mut Vector<Mat>) -> Result<()>

Source§

fn set_mat_gains(&mut self, umv: &mut Vector<Mat>) -> Result<()>

Source§

fn set_nr_feeds(&mut self, nr_feeds: i32) -> Result<()>

Source§

fn get_nr_feeds(&mut self) -> Result<i32>

Source§

fn set_similarity_threshold(&mut self, similarity_threshold: f64) -> Result<()>

Source§

fn set_block_size(&mut self, width: i32, height: i32) -> Result<()>

Source§

fn set_block_size_1(&mut self, size: Size) -> Result<()>

Source§

fn set_nr_gains_filtering_iterations( &mut self, nr_iterations: i32, ) -> Result<()>

Source§

impl Detail_BlocksCompensatorTraitConst for BoxedRefMut<'_, Detail_BlocksChannelsCompensator>

Source§

fn as_raw_Detail_BlocksCompensator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_similarity_threshold(&self) -> Result<f64>

Source§

fn get_block_size(&self) -> Result<Size>

Source§

fn get_nr_gains_filtering_iterations(&self) -> Result<i32>

Source§

impl Detail_BlocksCompensatorTraitConst for BoxedRefMut<'_, Detail_BlocksCompensator>

Source§

fn as_raw_Detail_BlocksCompensator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_similarity_threshold(&self) -> Result<f64>

Source§

fn get_block_size(&self) -> Result<Size>

Source§

fn get_nr_gains_filtering_iterations(&self) -> Result<i32>

Source§

impl Detail_BlocksCompensatorTraitConst for BoxedRefMut<'_, Detail_BlocksGainCompensator>

Source§

fn as_raw_Detail_BlocksCompensator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_similarity_threshold(&self) -> Result<f64>

Source§

fn get_block_size(&self) -> Result<Size>

Source§

fn get_nr_gains_filtering_iterations(&self) -> Result<i32>

Source§

impl Detail_BlocksGainCompensatorTrait for BoxedRefMut<'_, Detail_BlocksGainCompensator>

Source§

fn as_raw_mut_Detail_BlocksGainCompensator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn feed( &mut self, corners: &Vector<Point>, images: &Vector<UMat>, masks: &Vector<Tuple<(UMat, u8)>>, ) -> Result<()>

Source§

fn apply( &mut self, index: i32, corner: Point, image: &mut impl ToInputOutputArray, mask: &impl ToInputArray, ) -> Result<()>

Source§

fn get_mat_gains(&mut self, umv: &mut Vector<Mat>) -> Result<()>

Source§

fn set_mat_gains(&mut self, umv: &mut Vector<Mat>) -> Result<()>

Source§

impl Detail_BlocksGainCompensatorTraitConst for BoxedRefMut<'_, Detail_BlocksGainCompensator>

Source§

fn as_raw_Detail_BlocksGainCompensator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_BundleAdjusterAffinePartialTrait for BoxedRefMut<'_, Detail_BundleAdjusterAffinePartial>

Source§

fn as_raw_mut_Detail_BundleAdjusterAffinePartial( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl Detail_BundleAdjusterAffinePartialTraitConst for BoxedRefMut<'_, Detail_BundleAdjusterAffinePartial>

Source§

fn as_raw_Detail_BundleAdjusterAffinePartial( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_BundleAdjusterAffineTrait for BoxedRefMut<'_, Detail_BundleAdjusterAffine>

Source§

fn as_raw_mut_Detail_BundleAdjusterAffine( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl Detail_BundleAdjusterAffineTraitConst for BoxedRefMut<'_, Detail_BundleAdjusterAffine>

Source§

fn as_raw_Detail_BundleAdjusterAffine( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_BundleAdjusterBaseTrait for BoxedRefMut<'_, Detail_BundleAdjusterAffine>

Source§

fn as_raw_mut_Detail_BundleAdjusterBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_refinement_mask(&mut self, mask: &impl MatTraitConst) -> Result<()>

Source§

fn set_conf_thresh(&mut self, conf_thresh: f64) -> Result<()>

Source§

fn term_criteria(&mut self) -> Result<TermCriteria>

Source§

fn set_term_criteria(&mut self, term_criteria: TermCriteria) -> Result<()>

Source§

impl Detail_BundleAdjusterBaseTrait for BoxedRefMut<'_, Detail_BundleAdjusterAffinePartial>

Source§

fn as_raw_mut_Detail_BundleAdjusterBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_refinement_mask(&mut self, mask: &impl MatTraitConst) -> Result<()>

Source§

fn set_conf_thresh(&mut self, conf_thresh: f64) -> Result<()>

Source§

fn term_criteria(&mut self) -> Result<TermCriteria>

Source§

fn set_term_criteria(&mut self, term_criteria: TermCriteria) -> Result<()>

Source§

impl Detail_BundleAdjusterBaseTrait for BoxedRefMut<'_, Detail_BundleAdjusterBase>

Source§

fn as_raw_mut_Detail_BundleAdjusterBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_refinement_mask(&mut self, mask: &impl MatTraitConst) -> Result<()>

Source§

fn set_conf_thresh(&mut self, conf_thresh: f64) -> Result<()>

Source§

fn term_criteria(&mut self) -> Result<TermCriteria>

Source§

fn set_term_criteria(&mut self, term_criteria: TermCriteria) -> Result<()>

Source§

impl Detail_BundleAdjusterBaseTrait for BoxedRefMut<'_, Detail_BundleAdjusterRay>

Source§

fn as_raw_mut_Detail_BundleAdjusterBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_refinement_mask(&mut self, mask: &impl MatTraitConst) -> Result<()>

Source§

fn set_conf_thresh(&mut self, conf_thresh: f64) -> Result<()>

Source§

fn term_criteria(&mut self) -> Result<TermCriteria>

Source§

fn set_term_criteria(&mut self, term_criteria: TermCriteria) -> Result<()>

Source§

impl Detail_BundleAdjusterBaseTrait for BoxedRefMut<'_, Detail_BundleAdjusterReproj>

Source§

fn as_raw_mut_Detail_BundleAdjusterBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_refinement_mask(&mut self, mask: &impl MatTraitConst) -> Result<()>

Source§

fn set_conf_thresh(&mut self, conf_thresh: f64) -> Result<()>

Source§

fn term_criteria(&mut self) -> Result<TermCriteria>

Source§

fn set_term_criteria(&mut self, term_criteria: TermCriteria) -> Result<()>

Source§

impl Detail_BundleAdjusterBaseTrait for BoxedRefMut<'_, Detail_NoBundleAdjuster>

Source§

fn as_raw_mut_Detail_BundleAdjusterBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_refinement_mask(&mut self, mask: &impl MatTraitConst) -> Result<()>

Source§

fn set_conf_thresh(&mut self, conf_thresh: f64) -> Result<()>

Source§

fn term_criteria(&mut self) -> Result<TermCriteria>

Source§

fn set_term_criteria(&mut self, term_criteria: TermCriteria) -> Result<()>

Source§

impl Detail_BundleAdjusterBaseTraitConst for BoxedRefMut<'_, Detail_BundleAdjusterAffine>

Source§

fn as_raw_Detail_BundleAdjusterBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn refinement_mask(&self) -> Result<Mat>

Source§

fn conf_thresh(&self) -> Result<f64>

Source§

impl Detail_BundleAdjusterBaseTraitConst for BoxedRefMut<'_, Detail_BundleAdjusterAffinePartial>

Source§

fn as_raw_Detail_BundleAdjusterBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn refinement_mask(&self) -> Result<Mat>

Source§

fn conf_thresh(&self) -> Result<f64>

Source§

impl Detail_BundleAdjusterBaseTraitConst for BoxedRefMut<'_, Detail_BundleAdjusterBase>

Source§

fn as_raw_Detail_BundleAdjusterBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn refinement_mask(&self) -> Result<Mat>

Source§

fn conf_thresh(&self) -> Result<f64>

Source§

impl Detail_BundleAdjusterBaseTraitConst for BoxedRefMut<'_, Detail_BundleAdjusterRay>

Source§

fn as_raw_Detail_BundleAdjusterBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn refinement_mask(&self) -> Result<Mat>

Source§

fn conf_thresh(&self) -> Result<f64>

Source§

impl Detail_BundleAdjusterBaseTraitConst for BoxedRefMut<'_, Detail_BundleAdjusterReproj>

Source§

fn as_raw_Detail_BundleAdjusterBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn refinement_mask(&self) -> Result<Mat>

Source§

fn conf_thresh(&self) -> Result<f64>

Source§

impl Detail_BundleAdjusterBaseTraitConst for BoxedRefMut<'_, Detail_NoBundleAdjuster>

Source§

fn as_raw_Detail_BundleAdjusterBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn refinement_mask(&self) -> Result<Mat>

Source§

fn conf_thresh(&self) -> Result<f64>

Source§

impl Detail_BundleAdjusterRayTrait for BoxedRefMut<'_, Detail_BundleAdjusterRay>

Source§

fn as_raw_mut_Detail_BundleAdjusterRay( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl Detail_BundleAdjusterRayTraitConst for BoxedRefMut<'_, Detail_BundleAdjusterRay>

Source§

fn as_raw_Detail_BundleAdjusterRay( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_BundleAdjusterReprojTrait for BoxedRefMut<'_, Detail_BundleAdjusterReproj>

Source§

fn as_raw_mut_Detail_BundleAdjusterReproj( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl Detail_BundleAdjusterReprojTraitConst for BoxedRefMut<'_, Detail_BundleAdjusterReproj>

Source§

fn as_raw_Detail_BundleAdjusterReproj( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_CameraParamsTrait for BoxedRefMut<'_, Detail_CameraParams>

Source§

fn as_raw_mut_Detail_CameraParams( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_focal(&mut self, val: f64)

Source§

fn set_aspect(&mut self, val: f64)

Source§

fn set_ppx(&mut self, val: f64)

Source§

fn set_ppy(&mut self, val: f64)

Source§

fn set_r(&mut self, val: Mat)

Source§

fn set_t(&mut self, val: Mat)

Source§

fn set(&mut self, other: &impl Detail_CameraParamsTraitConst) -> Result<()>

Source§

impl Detail_CameraParamsTraitConst for BoxedRefMut<'_, Detail_CameraParams>

Source§

fn as_raw_Detail_CameraParams( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn focal(&self) -> f64

Source§

fn aspect(&self) -> f64

Source§

fn ppx(&self) -> f64

Source§

fn ppy(&self) -> f64

Source§

fn r(&self) -> Mat

Source§

fn t(&self) -> Mat

Source§

fn k(&self) -> Result<Mat>

Source§

impl Detail_ChannelsCompensatorTrait for BoxedRefMut<'_, Detail_ChannelsCompensator>

Source§

fn as_raw_mut_Detail_ChannelsCompensator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn feed( &mut self, corners: &Vector<Point>, images: &Vector<UMat>, masks: &Vector<Tuple<(UMat, u8)>>, ) -> Result<()>

Source§

fn apply( &mut self, index: i32, corner: Point, image: &mut impl ToInputOutputArray, mask: &impl ToInputArray, ) -> Result<()>

Source§

fn get_mat_gains(&mut self, umv: &mut Vector<Mat>) -> Result<()>

Source§

fn set_mat_gains(&mut self, umv: &mut Vector<Mat>) -> Result<()>

Source§

fn set_nr_feeds(&mut self, nr_feeds: i32) -> Result<()>

Source§

fn get_nr_feeds(&mut self) -> Result<i32>

Source§

fn set_similarity_threshold(&mut self, similarity_threshold: f64) -> Result<()>

Source§

impl Detail_ChannelsCompensatorTraitConst for BoxedRefMut<'_, Detail_ChannelsCompensator>

Source§

fn as_raw_Detail_ChannelsCompensator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_similarity_threshold(&self) -> Result<f64>

Source§

fn gains(&self) -> Result<Vector<Scalar>>

Source§

impl Detail_CheckContextTrait for BoxedRefMut<'_, Detail_CheckContext>

Source§

fn as_raw_mut_Detail_CheckContext( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_line(&mut self, val: i32)

Source§

fn set_test_op(&mut self, val: Detail_TestOp)

Source§

impl Detail_CheckContextTraitConst for BoxedRefMut<'_, Detail_CheckContext>

Source§

fn as_raw_Detail_CheckContext( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn func(&self) -> String

Source§

fn file(&self) -> String

Source§

fn line(&self) -> i32

Source§

fn test_op(&self) -> Detail_TestOp

Source§

fn message(&self) -> String

Source§

fn p1_str(&self) -> String

Source§

fn p2_str(&self) -> String

Source§

impl Detail_CompressedRectilinearPortraitProjectorTrait for BoxedRefMut<'_, Detail_CompressedRectilinearPortraitProjector>

Source§

fn as_raw_mut_Detail_CompressedRectilinearPortraitProjector( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_a(&mut self, val: f32)

Source§

fn set_b(&mut self, val: f32)

Source§

fn map_forward( &mut self, x: f32, y: f32, u: &mut f32, v: &mut f32, ) -> Result<()>

Source§

fn map_backward( &mut self, u: f32, v: f32, x: &mut f32, y: &mut f32, ) -> Result<()>

Source§

impl Detail_CompressedRectilinearPortraitProjectorTraitConst for BoxedRefMut<'_, Detail_CompressedRectilinearPortraitProjector>

Source§

fn as_raw_Detail_CompressedRectilinearPortraitProjector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn a(&self) -> f32

Source§

fn b(&self) -> f32

Source§

impl Detail_CompressedRectilinearPortraitWarperTrait for BoxedRefMut<'_, Detail_CompressedRectilinearPortraitWarper>

Source§

fn as_raw_mut_Detail_CompressedRectilinearPortraitWarper( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl Detail_CompressedRectilinearPortraitWarperTraitConst for BoxedRefMut<'_, Detail_CompressedRectilinearPortraitWarper>

Source§

fn as_raw_Detail_CompressedRectilinearPortraitWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_CompressedRectilinearProjectorTrait for BoxedRefMut<'_, Detail_CompressedRectilinearProjector>

Source§

fn as_raw_mut_Detail_CompressedRectilinearProjector( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_a(&mut self, val: f32)

Source§

fn set_b(&mut self, val: f32)

Source§

fn map_forward( &mut self, x: f32, y: f32, u: &mut f32, v: &mut f32, ) -> Result<()>

Source§

fn map_backward( &mut self, u: f32, v: f32, x: &mut f32, y: &mut f32, ) -> Result<()>

Source§

impl Detail_CompressedRectilinearProjectorTraitConst for BoxedRefMut<'_, Detail_CompressedRectilinearProjector>

Source§

fn as_raw_Detail_CompressedRectilinearProjector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn a(&self) -> f32

Source§

fn b(&self) -> f32

Source§

impl Detail_CompressedRectilinearWarperTrait for BoxedRefMut<'_, Detail_CompressedRectilinearWarper>

Source§

fn as_raw_mut_Detail_CompressedRectilinearWarper( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl Detail_CompressedRectilinearWarperTraitConst for BoxedRefMut<'_, Detail_CompressedRectilinearWarper>

Source§

fn as_raw_Detail_CompressedRectilinearWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_CylindricalPortraitProjectorTrait for BoxedRefMut<'_, Detail_CylindricalPortraitProjector>

Source§

fn as_raw_mut_Detail_CylindricalPortraitProjector( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn map_forward( &mut self, x: f32, y: f32, u: &mut f32, v: &mut f32, ) -> Result<()>

Source§

fn map_backward( &mut self, u: f32, v: f32, x: &mut f32, y: &mut f32, ) -> Result<()>

Source§

impl Detail_CylindricalPortraitProjectorTraitConst for BoxedRefMut<'_, Detail_CylindricalPortraitProjector>

Source§

fn as_raw_Detail_CylindricalPortraitProjector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_CylindricalPortraitWarperTrait for BoxedRefMut<'_, Detail_CylindricalPortraitWarper>

Source§

fn as_raw_mut_Detail_CylindricalPortraitWarper( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl Detail_CylindricalPortraitWarperTraitConst for BoxedRefMut<'_, Detail_CylindricalPortraitWarper>

Source§

fn as_raw_Detail_CylindricalPortraitWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_CylindricalProjectorTrait for BoxedRefMut<'_, Detail_CylindricalProjector>

Source§

fn as_raw_mut_Detail_CylindricalProjector( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn map_forward( &mut self, x: f32, y: f32, u: &mut f32, v: &mut f32, ) -> Result<()>

Source§

fn map_backward( &mut self, u: f32, v: f32, x: &mut f32, y: &mut f32, ) -> Result<()>

Source§

impl Detail_CylindricalProjectorTraitConst for BoxedRefMut<'_, Detail_CylindricalProjector>

Source§

fn as_raw_Detail_CylindricalProjector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_CylindricalWarperGpuTrait for BoxedRefMut<'_, Detail_CylindricalWarperGpu>

Source§

fn as_raw_mut_Detail_CylindricalWarperGpu( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn build_maps( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, xmap: &mut impl ToOutputArray, ymap: &mut impl ToOutputArray, ) -> Result<Rect>

Source§

fn warp( &mut self, src: &impl ToInputArray, k: &impl ToInputArray, r: &impl ToInputArray, interp_mode: i32, border_mode: i32, dst: &mut impl ToOutputArray, ) -> Result<Point>

Source§

fn build_maps_1( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, xmap: &mut impl GpuMatTrait, ymap: &mut impl GpuMatTrait, ) -> Result<Rect>

Source§

fn warp_1( &mut self, src: &impl GpuMatTraitConst, k: &impl ToInputArray, r: &impl ToInputArray, interp_mode: i32, border_mode: i32, dst: &mut impl GpuMatTrait, ) -> Result<Point>

Source§

impl Detail_CylindricalWarperGpuTraitConst for BoxedRefMut<'_, Detail_CylindricalWarperGpu>

Source§

fn as_raw_Detail_CylindricalWarperGpu( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_CylindricalWarperTrait for BoxedRefMut<'_, Detail_CylindricalWarper>

Source§

fn as_raw_mut_Detail_CylindricalWarper( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn build_maps( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, xmap: &mut impl ToOutputArray, ymap: &mut impl ToOutputArray, ) -> Result<Rect>

Source§

fn warp( &mut self, src: &impl ToInputArray, k: &impl ToInputArray, r: &impl ToInputArray, interp_mode: i32, border_mode: i32, dst: &mut impl ToOutputArray, ) -> Result<Point>

Source§

impl Detail_CylindricalWarperTrait for BoxedRefMut<'_, Detail_CylindricalWarperGpu>

Source§

fn as_raw_mut_Detail_CylindricalWarper( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn build_maps( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, xmap: &mut impl ToOutputArray, ymap: &mut impl ToOutputArray, ) -> Result<Rect>

Source§

fn warp( &mut self, src: &impl ToInputArray, k: &impl ToInputArray, r: &impl ToInputArray, interp_mode: i32, border_mode: i32, dst: &mut impl ToOutputArray, ) -> Result<Point>

Source§

impl Detail_CylindricalWarperTraitConst for BoxedRefMut<'_, Detail_CylindricalWarper>

Source§

fn as_raw_Detail_CylindricalWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_CylindricalWarperTraitConst for BoxedRefMut<'_, Detail_CylindricalWarperGpu>

Source§

fn as_raw_Detail_CylindricalWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_DisjointSetsTrait for BoxedRefMut<'_, Detail_DisjointSets>

Source§

fn as_raw_mut_Detail_DisjointSets( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_parent(&mut self, val: Vector<i32>)

Source§

fn set_size(&mut self, val: Vector<i32>)

Source§

fn create_one_elem_sets(&mut self, elem_count: i32) -> Result<()>

Source§

fn find_set_by_elem(&mut self, elem: i32) -> Result<i32>

Source§

fn merge_sets(&mut self, set1: i32, set2: i32) -> Result<i32>

Source§

impl Detail_DisjointSetsTraitConst for BoxedRefMut<'_, Detail_DisjointSets>

Source§

fn as_raw_Detail_DisjointSets( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn parent(&self) -> Vector<i32>

Source§

fn size(&self) -> Vector<i32>

Source§

impl Detail_DpSeamFinderTrait for BoxedRefMut<'_, Detail_DpSeamFinder>

Source§

fn as_raw_mut_Detail_DpSeamFinder( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_cost_function( &mut self, val: Detail_DpSeamFinder_CostFunction, ) -> Result<()>

Source§

fn set_cost_function_1(&mut self, val: &str) -> Result<()>

Source§

fn find( &mut self, src: &Vector<UMat>, corners: &Vector<Point>, masks: &mut Vector<UMat>, ) -> Result<()>

Source§

impl Detail_DpSeamFinderTraitConst for BoxedRefMut<'_, Detail_DpSeamFinder>

Source§

fn as_raw_Detail_DpSeamFinder( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn cost_function(&self) -> Result<Detail_DpSeamFinder_CostFunction>

Source§

impl Detail_EstimatorTrait for BoxedRefMut<'_, Detail_AffineBasedEstimator>

Source§

fn as_raw_mut_Detail_Estimator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

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

Estimates camera parameters. Read more
Source§

impl Detail_EstimatorTrait for BoxedRefMut<'_, Detail_BundleAdjusterAffine>

Source§

fn as_raw_mut_Detail_Estimator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

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

Estimates camera parameters. Read more
Source§

impl Detail_EstimatorTrait for BoxedRefMut<'_, Detail_BundleAdjusterAffinePartial>

Source§

fn as_raw_mut_Detail_Estimator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

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

Estimates camera parameters. Read more
Source§

impl Detail_EstimatorTrait for BoxedRefMut<'_, Detail_BundleAdjusterBase>

Source§

fn as_raw_mut_Detail_Estimator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

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

Estimates camera parameters. Read more
Source§

impl Detail_EstimatorTrait for BoxedRefMut<'_, Detail_BundleAdjusterRay>

Source§

fn as_raw_mut_Detail_Estimator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

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

Estimates camera parameters. Read more
Source§

impl Detail_EstimatorTrait for BoxedRefMut<'_, Detail_BundleAdjusterReproj>

Source§

fn as_raw_mut_Detail_Estimator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

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

Estimates camera parameters. Read more
Source§

impl Detail_EstimatorTrait for BoxedRefMut<'_, Detail_Estimator>

Source§

fn as_raw_mut_Detail_Estimator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

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

Estimates camera parameters. Read more
Source§

impl Detail_EstimatorTrait for BoxedRefMut<'_, Detail_HomographyBasedEstimator>

Source§

fn as_raw_mut_Detail_Estimator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

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

Estimates camera parameters. Read more
Source§

impl Detail_EstimatorTrait for BoxedRefMut<'_, Detail_NoBundleAdjuster>

Source§

fn as_raw_mut_Detail_Estimator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

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

Estimates camera parameters. Read more
Source§

impl Detail_EstimatorTraitConst for BoxedRefMut<'_, Detail_AffineBasedEstimator>

Source§

fn as_raw_Detail_Estimator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_EstimatorTraitConst for BoxedRefMut<'_, Detail_BundleAdjusterAffine>

Source§

fn as_raw_Detail_Estimator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_EstimatorTraitConst for BoxedRefMut<'_, Detail_BundleAdjusterAffinePartial>

Source§

fn as_raw_Detail_Estimator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_EstimatorTraitConst for BoxedRefMut<'_, Detail_BundleAdjusterBase>

Source§

fn as_raw_Detail_Estimator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_EstimatorTraitConst for BoxedRefMut<'_, Detail_BundleAdjusterRay>

Source§

fn as_raw_Detail_Estimator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_EstimatorTraitConst for BoxedRefMut<'_, Detail_BundleAdjusterReproj>

Source§

fn as_raw_Detail_Estimator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_EstimatorTraitConst for BoxedRefMut<'_, Detail_Estimator>

Source§

fn as_raw_Detail_Estimator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_EstimatorTraitConst for BoxedRefMut<'_, Detail_HomographyBasedEstimator>

Source§

fn as_raw_Detail_Estimator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_EstimatorTraitConst for BoxedRefMut<'_, Detail_NoBundleAdjuster>

Source§

fn as_raw_Detail_Estimator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_ExposureCompensatorTrait for BoxedRefMut<'_, Detail_BlocksChannelsCompensator>

Source§

fn as_raw_mut_Detail_ExposureCompensator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn feed( &mut self, corners: &Vector<Point>, images: &Vector<UMat>, masks: &Vector<UMat>, ) -> Result<()>

Parameters Read more
Source§

fn feed_1( &mut self, corners: &Vector<Point>, images: &Vector<UMat>, masks: &Vector<Tuple<(UMat, u8)>>, ) -> Result<()>

Parameters Read more
Source§

fn apply( &mut self, index: i32, corner: Point, image: &mut impl ToInputOutputArray, mask: &impl ToInputArray, ) -> Result<()>

Compensate exposure in the specified image. Read more
Source§

fn get_mat_gains(&mut self, unnamed: &mut Vector<Mat>) -> Result<()>

Source§

fn set_mat_gains(&mut self, unnamed: &mut Vector<Mat>) -> Result<()>

Source§

fn set_update_gain(&mut self, b: bool) -> Result<()>

Source§

fn get_update_gain(&mut self) -> Result<bool>

Source§

impl Detail_ExposureCompensatorTrait for BoxedRefMut<'_, Detail_BlocksCompensator>

Source§

fn as_raw_mut_Detail_ExposureCompensator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn feed( &mut self, corners: &Vector<Point>, images: &Vector<UMat>, masks: &Vector<UMat>, ) -> Result<()>

Parameters Read more
Source§

fn feed_1( &mut self, corners: &Vector<Point>, images: &Vector<UMat>, masks: &Vector<Tuple<(UMat, u8)>>, ) -> Result<()>

Parameters Read more
Source§

fn apply( &mut self, index: i32, corner: Point, image: &mut impl ToInputOutputArray, mask: &impl ToInputArray, ) -> Result<()>

Compensate exposure in the specified image. Read more
Source§

fn get_mat_gains(&mut self, unnamed: &mut Vector<Mat>) -> Result<()>

Source§

fn set_mat_gains(&mut self, unnamed: &mut Vector<Mat>) -> Result<()>

Source§

fn set_update_gain(&mut self, b: bool) -> Result<()>

Source§

fn get_update_gain(&mut self) -> Result<bool>

Source§

impl Detail_ExposureCompensatorTrait for BoxedRefMut<'_, Detail_BlocksGainCompensator>

Source§

fn as_raw_mut_Detail_ExposureCompensator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn feed( &mut self, corners: &Vector<Point>, images: &Vector<UMat>, masks: &Vector<UMat>, ) -> Result<()>

Parameters Read more
Source§

fn feed_1( &mut self, corners: &Vector<Point>, images: &Vector<UMat>, masks: &Vector<Tuple<(UMat, u8)>>, ) -> Result<()>

Parameters Read more
Source§

fn apply( &mut self, index: i32, corner: Point, image: &mut impl ToInputOutputArray, mask: &impl ToInputArray, ) -> Result<()>

Compensate exposure in the specified image. Read more
Source§

fn get_mat_gains(&mut self, unnamed: &mut Vector<Mat>) -> Result<()>

Source§

fn set_mat_gains(&mut self, unnamed: &mut Vector<Mat>) -> Result<()>

Source§

fn set_update_gain(&mut self, b: bool) -> Result<()>

Source§

fn get_update_gain(&mut self) -> Result<bool>

Source§

impl Detail_ExposureCompensatorTrait for BoxedRefMut<'_, Detail_ChannelsCompensator>

Source§

fn as_raw_mut_Detail_ExposureCompensator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn feed( &mut self, corners: &Vector<Point>, images: &Vector<UMat>, masks: &Vector<UMat>, ) -> Result<()>

Parameters Read more
Source§

fn feed_1( &mut self, corners: &Vector<Point>, images: &Vector<UMat>, masks: &Vector<Tuple<(UMat, u8)>>, ) -> Result<()>

Parameters Read more
Source§

fn apply( &mut self, index: i32, corner: Point, image: &mut impl ToInputOutputArray, mask: &impl ToInputArray, ) -> Result<()>

Compensate exposure in the specified image. Read more
Source§

fn get_mat_gains(&mut self, unnamed: &mut Vector<Mat>) -> Result<()>

Source§

fn set_mat_gains(&mut self, unnamed: &mut Vector<Mat>) -> Result<()>

Source§

fn set_update_gain(&mut self, b: bool) -> Result<()>

Source§

fn get_update_gain(&mut self) -> Result<bool>

Source§

impl Detail_ExposureCompensatorTrait for BoxedRefMut<'_, Detail_ExposureCompensator>

Source§

fn as_raw_mut_Detail_ExposureCompensator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn feed( &mut self, corners: &Vector<Point>, images: &Vector<UMat>, masks: &Vector<UMat>, ) -> Result<()>

Parameters Read more
Source§

fn feed_1( &mut self, corners: &Vector<Point>, images: &Vector<UMat>, masks: &Vector<Tuple<(UMat, u8)>>, ) -> Result<()>

Parameters Read more
Source§

fn apply( &mut self, index: i32, corner: Point, image: &mut impl ToInputOutputArray, mask: &impl ToInputArray, ) -> Result<()>

Compensate exposure in the specified image. Read more
Source§

fn get_mat_gains(&mut self, unnamed: &mut Vector<Mat>) -> Result<()>

Source§

fn set_mat_gains(&mut self, unnamed: &mut Vector<Mat>) -> Result<()>

Source§

fn set_update_gain(&mut self, b: bool) -> Result<()>

Source§

fn get_update_gain(&mut self) -> Result<bool>

Source§

impl Detail_ExposureCompensatorTrait for BoxedRefMut<'_, Detail_GainCompensator>

Source§

fn as_raw_mut_Detail_ExposureCompensator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn feed( &mut self, corners: &Vector<Point>, images: &Vector<UMat>, masks: &Vector<UMat>, ) -> Result<()>

Parameters Read more
Source§

fn feed_1( &mut self, corners: &Vector<Point>, images: &Vector<UMat>, masks: &Vector<Tuple<(UMat, u8)>>, ) -> Result<()>

Parameters Read more
Source§

fn apply( &mut self, index: i32, corner: Point, image: &mut impl ToInputOutputArray, mask: &impl ToInputArray, ) -> Result<()>

Compensate exposure in the specified image. Read more
Source§

fn get_mat_gains(&mut self, unnamed: &mut Vector<Mat>) -> Result<()>

Source§

fn set_mat_gains(&mut self, unnamed: &mut Vector<Mat>) -> Result<()>

Source§

fn set_update_gain(&mut self, b: bool) -> Result<()>

Source§

fn get_update_gain(&mut self) -> Result<bool>

Source§

impl Detail_ExposureCompensatorTrait for BoxedRefMut<'_, Detail_NoExposureCompensator>

Source§

fn as_raw_mut_Detail_ExposureCompensator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn feed( &mut self, corners: &Vector<Point>, images: &Vector<UMat>, masks: &Vector<UMat>, ) -> Result<()>

Parameters Read more
Source§

fn feed_1( &mut self, corners: &Vector<Point>, images: &Vector<UMat>, masks: &Vector<Tuple<(UMat, u8)>>, ) -> Result<()>

Parameters Read more
Source§

fn apply( &mut self, index: i32, corner: Point, image: &mut impl ToInputOutputArray, mask: &impl ToInputArray, ) -> Result<()>

Compensate exposure in the specified image. Read more
Source§

fn get_mat_gains(&mut self, unnamed: &mut Vector<Mat>) -> Result<()>

Source§

fn set_mat_gains(&mut self, unnamed: &mut Vector<Mat>) -> Result<()>

Source§

fn set_update_gain(&mut self, b: bool) -> Result<()>

Source§

fn get_update_gain(&mut self) -> Result<bool>

Source§

impl Detail_ExposureCompensatorTraitConst for BoxedRefMut<'_, Detail_BlocksChannelsCompensator>

Source§

fn as_raw_Detail_ExposureCompensator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_ExposureCompensatorTraitConst for BoxedRefMut<'_, Detail_BlocksCompensator>

Source§

fn as_raw_Detail_ExposureCompensator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_ExposureCompensatorTraitConst for BoxedRefMut<'_, Detail_BlocksGainCompensator>

Source§

fn as_raw_Detail_ExposureCompensator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_ExposureCompensatorTraitConst for BoxedRefMut<'_, Detail_ChannelsCompensator>

Source§

fn as_raw_Detail_ExposureCompensator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_ExposureCompensatorTraitConst for BoxedRefMut<'_, Detail_ExposureCompensator>

Source§

fn as_raw_Detail_ExposureCompensator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_ExposureCompensatorTraitConst for BoxedRefMut<'_, Detail_GainCompensator>

Source§

fn as_raw_Detail_ExposureCompensator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_ExposureCompensatorTraitConst for BoxedRefMut<'_, Detail_NoExposureCompensator>

Source§

fn as_raw_Detail_ExposureCompensator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_ExtractArgsCallbackTrait for BoxedRefMut<'_, Detail_ExtractArgsCallback>

Source§

fn as_raw_mut_Detail_ExtractArgsCallback( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl Detail_ExtractArgsCallbackTraitConst for BoxedRefMut<'_, Detail_ExtractArgsCallback>

Source§

fn as_raw_Detail_ExtractArgsCallback( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn apply(&self, info: &GTypesInfo) -> Result<GRunArgs>

Source§

impl Detail_ExtractMetaCallbackTrait for BoxedRefMut<'_, Detail_ExtractMetaCallback>

Source§

fn as_raw_mut_Detail_ExtractMetaCallback( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl Detail_ExtractMetaCallbackTraitConst for BoxedRefMut<'_, Detail_ExtractMetaCallback>

Source§

fn as_raw_Detail_ExtractMetaCallback( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_FeatherBlenderTrait for BoxedRefMut<'_, Detail_FeatherBlender>

Source§

fn as_raw_mut_Detail_FeatherBlender( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_sharpness(&mut self, val: f32) -> Result<()>

Source§

fn prepare(&mut self, dst_roi: Rect) -> Result<()>

Source§

fn feed( &mut self, img: &impl ToInputArray, mask: &impl ToInputArray, tl: Point, ) -> Result<()>

Source§

fn blend( &mut self, dst: &mut impl ToInputOutputArray, dst_mask: &mut impl ToInputOutputArray, ) -> Result<()>

Source§

fn create_weight_maps( &mut self, masks: &Vector<UMat>, corners: &Vector<Point>, weight_maps: &mut Vector<UMat>, ) -> Result<Rect>

Creates weight maps for fixed set of source images by their masks and top-left corners. Final image can be obtained by simple weighting of the source images.
Source§

impl Detail_FeatherBlenderTraitConst for BoxedRefMut<'_, Detail_FeatherBlender>

Source§

fn as_raw_Detail_FeatherBlender( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn sharpness(&self) -> Result<f32>

Source§

impl Detail_FeaturesMatcherTrait for BoxedRefMut<'_, Detail_AffineBestOf2NearestMatcher>

Source§

fn as_raw_mut_Detail_FeaturesMatcher( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn apply( &mut self, features1: &impl Detail_ImageFeaturesTraitConst, features2: &impl Detail_ImageFeaturesTraitConst, matches_info: &mut impl Detail_MatchesInfoTrait, ) -> Result<()>

Performs images matching. Read more
Source§

fn apply2( &mut self, features: &Vector<Detail_ImageFeatures>, pairwise_matches: &mut Vector<Detail_MatchesInfo>, mask: &impl UMatTraitConst, ) -> Result<()>

Performs images matching. Read more
Source§

fn apply2_def( &mut self, features: &Vector<Detail_ImageFeatures>, pairwise_matches: &mut Vector<Detail_MatchesInfo>, ) -> Result<()>

Performs images matching. Read more
Source§

fn collect_garbage(&mut self) -> Result<()>

Frees unused memory allocated before if there is any.
Source§

impl Detail_FeaturesMatcherTrait for BoxedRefMut<'_, Detail_BestOf2NearestMatcher>

Source§

fn as_raw_mut_Detail_FeaturesMatcher( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn apply( &mut self, features1: &impl Detail_ImageFeaturesTraitConst, features2: &impl Detail_ImageFeaturesTraitConst, matches_info: &mut impl Detail_MatchesInfoTrait, ) -> Result<()>

Performs images matching. Read more
Source§

fn apply2( &mut self, features: &Vector<Detail_ImageFeatures>, pairwise_matches: &mut Vector<Detail_MatchesInfo>, mask: &impl UMatTraitConst, ) -> Result<()>

Performs images matching. Read more
Source§

fn apply2_def( &mut self, features: &Vector<Detail_ImageFeatures>, pairwise_matches: &mut Vector<Detail_MatchesInfo>, ) -> Result<()>

Performs images matching. Read more
Source§

fn collect_garbage(&mut self) -> Result<()>

Frees unused memory allocated before if there is any.
Source§

impl Detail_FeaturesMatcherTrait for BoxedRefMut<'_, Detail_BestOf2NearestRangeMatcher>

Source§

fn as_raw_mut_Detail_FeaturesMatcher( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn apply( &mut self, features1: &impl Detail_ImageFeaturesTraitConst, features2: &impl Detail_ImageFeaturesTraitConst, matches_info: &mut impl Detail_MatchesInfoTrait, ) -> Result<()>

Performs images matching. Read more
Source§

fn apply2( &mut self, features: &Vector<Detail_ImageFeatures>, pairwise_matches: &mut Vector<Detail_MatchesInfo>, mask: &impl UMatTraitConst, ) -> Result<()>

Performs images matching. Read more
Source§

fn apply2_def( &mut self, features: &Vector<Detail_ImageFeatures>, pairwise_matches: &mut Vector<Detail_MatchesInfo>, ) -> Result<()>

Performs images matching. Read more
Source§

fn collect_garbage(&mut self) -> Result<()>

Frees unused memory allocated before if there is any.
Source§

impl Detail_FeaturesMatcherTrait for BoxedRefMut<'_, Detail_FeaturesMatcher>

Source§

fn as_raw_mut_Detail_FeaturesMatcher( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn apply( &mut self, features1: &impl Detail_ImageFeaturesTraitConst, features2: &impl Detail_ImageFeaturesTraitConst, matches_info: &mut impl Detail_MatchesInfoTrait, ) -> Result<()>

Performs images matching. Read more
Source§

fn apply2( &mut self, features: &Vector<Detail_ImageFeatures>, pairwise_matches: &mut Vector<Detail_MatchesInfo>, mask: &impl UMatTraitConst, ) -> Result<()>

Performs images matching. Read more
Source§

fn apply2_def( &mut self, features: &Vector<Detail_ImageFeatures>, pairwise_matches: &mut Vector<Detail_MatchesInfo>, ) -> Result<()>

Performs images matching. Read more
Source§

fn collect_garbage(&mut self) -> Result<()>

Frees unused memory allocated before if there is any.
Source§

impl Detail_FeaturesMatcherTraitConst for BoxedRefMut<'_, Detail_AffineBestOf2NearestMatcher>

Source§

fn as_raw_Detail_FeaturesMatcher( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn is_thread_safe(&self) -> Result<bool>

Returns Read more
Source§

impl Detail_FeaturesMatcherTraitConst for BoxedRefMut<'_, Detail_BestOf2NearestMatcher>

Source§

fn as_raw_Detail_FeaturesMatcher( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn is_thread_safe(&self) -> Result<bool>

Returns Read more
Source§

impl Detail_FeaturesMatcherTraitConst for BoxedRefMut<'_, Detail_BestOf2NearestRangeMatcher>

Source§

fn as_raw_Detail_FeaturesMatcher( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn is_thread_safe(&self) -> Result<bool>

Returns Read more
Source§

impl Detail_FeaturesMatcherTraitConst for BoxedRefMut<'_, Detail_FeaturesMatcher>

Source§

fn as_raw_Detail_FeaturesMatcher( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn is_thread_safe(&self) -> Result<bool>

Returns Read more
Source§

impl Detail_FisheyeProjectorTrait for BoxedRefMut<'_, Detail_FisheyeProjector>

Source§

fn as_raw_mut_Detail_FisheyeProjector( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn map_forward( &mut self, x: f32, y: f32, u: &mut f32, v: &mut f32, ) -> Result<()>

Source§

fn map_backward( &mut self, u: f32, v: f32, x: &mut f32, y: &mut f32, ) -> Result<()>

Source§

impl Detail_FisheyeProjectorTraitConst for BoxedRefMut<'_, Detail_FisheyeProjector>

Source§

fn as_raw_Detail_FisheyeProjector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_FisheyeWarperTrait for BoxedRefMut<'_, Detail_FisheyeWarper>

Source§

fn as_raw_mut_Detail_FisheyeWarper( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl Detail_FisheyeWarperTraitConst for BoxedRefMut<'_, Detail_FisheyeWarper>

Source§

fn as_raw_Detail_FisheyeWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_GArrayUTrait for BoxedRefMut<'_, Detail_GArrayU>

Source§

fn as_raw_mut_Detail_GArrayU( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl Detail_GArrayUTraitConst for BoxedRefMut<'_, Detail_GArrayU>

Source§

fn as_raw_Detail_GArrayU( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_GOpaqueUTrait for BoxedRefMut<'_, Detail_GOpaqueU>

Source§

fn as_raw_mut_Detail_GOpaqueU( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl Detail_GOpaqueUTraitConst for BoxedRefMut<'_, Detail_GOpaqueU>

Source§

fn as_raw_Detail_GOpaqueU( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_GainCompensatorTrait for BoxedRefMut<'_, Detail_GainCompensator>

Source§

fn as_raw_mut_Detail_GainCompensator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn feed( &mut self, corners: &Vector<Point>, images: &Vector<UMat>, masks: &Vector<Tuple<(UMat, u8)>>, ) -> Result<()>

Source§

fn single_feed( &mut self, corners: &Vector<Point>, images: &Vector<UMat>, masks: &Vector<Tuple<(UMat, u8)>>, ) -> Result<()>

Source§

fn apply( &mut self, index: i32, corner: Point, image: &mut impl ToInputOutputArray, mask: &impl ToInputArray, ) -> Result<()>

Source§

fn get_mat_gains(&mut self, umv: &mut Vector<Mat>) -> Result<()>

Source§

fn set_mat_gains(&mut self, umv: &mut Vector<Mat>) -> Result<()>

Source§

fn set_nr_feeds(&mut self, nr_feeds: i32) -> Result<()>

Source§

fn get_nr_feeds(&mut self) -> Result<i32>

Source§

fn set_similarity_threshold(&mut self, similarity_threshold: f64) -> Result<()>

Source§

fn prepare_similarity_mask( &mut self, corners: &Vector<Point>, images: &Vector<UMat>, ) -> Result<()>

Source§

impl Detail_GainCompensatorTraitConst for BoxedRefMut<'_, Detail_GainCompensator>

Source§

fn as_raw_Detail_GainCompensator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_similarity_threshold(&self) -> Result<f64>

Source§

fn gains(&self) -> Result<Vector<f64>>

Source§

impl Detail_GraphCutSeamFinderBaseTrait for BoxedRefMut<'_, Detail_GraphCutSeamFinder>

Source§

fn as_raw_mut_Detail_GraphCutSeamFinderBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl Detail_GraphCutSeamFinderBaseTrait for BoxedRefMut<'_, Detail_GraphCutSeamFinderBase>

Source§

fn as_raw_mut_Detail_GraphCutSeamFinderBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl Detail_GraphCutSeamFinderBaseTrait for BoxedRefMut<'_, Detail_GraphCutSeamFinderGpu>

Source§

fn as_raw_mut_Detail_GraphCutSeamFinderBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl Detail_GraphCutSeamFinderBaseTraitConst for BoxedRefMut<'_, Detail_GraphCutSeamFinder>

Source§

fn as_raw_Detail_GraphCutSeamFinderBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_GraphCutSeamFinderBaseTraitConst for BoxedRefMut<'_, Detail_GraphCutSeamFinderBase>

Source§

fn as_raw_Detail_GraphCutSeamFinderBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_GraphCutSeamFinderBaseTraitConst for BoxedRefMut<'_, Detail_GraphCutSeamFinderGpu>

Source§

fn as_raw_Detail_GraphCutSeamFinderBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_GraphCutSeamFinderGpuTrait for BoxedRefMut<'_, Detail_GraphCutSeamFinderGpu>

Source§

fn as_raw_mut_Detail_GraphCutSeamFinderGpu( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn find( &mut self, src: &Vector<UMat>, corners: &Vector<Point>, masks: &mut Vector<UMat>, ) -> Result<()>

Source§

fn find_in_pair( &mut self, first: size_t, second: size_t, roi: Rect, ) -> Result<()>

Source§

impl Detail_GraphCutSeamFinderGpuTraitConst for BoxedRefMut<'_, Detail_GraphCutSeamFinderGpu>

Source§

fn as_raw_Detail_GraphCutSeamFinderGpu( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_GraphCutSeamFinderTrait for BoxedRefMut<'_, Detail_GraphCutSeamFinder>

Source§

fn as_raw_mut_Detail_GraphCutSeamFinder( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn find( &mut self, src: &Vector<UMat>, corners: &Vector<Point>, masks: &mut Vector<UMat>, ) -> Result<()>

Source§

impl Detail_GraphCutSeamFinderTraitConst for BoxedRefMut<'_, Detail_GraphCutSeamFinder>

Source§

fn as_raw_Detail_GraphCutSeamFinder( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_GraphEdgeTrait for BoxedRefMut<'_, Detail_GraphEdge>

Source§

fn as_raw_mut_Detail_GraphEdge( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_from(&mut self, val: i32)

Source§

fn set_to(&mut self, val: i32)

Source§

fn set_weight(&mut self, val: f32)

Source§

impl Detail_GraphEdgeTraitConst for BoxedRefMut<'_, Detail_GraphEdge>

Source§

fn as_raw_Detail_GraphEdge( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn from(&self) -> i32

Source§

fn to(&self) -> i32

Source§

fn weight(&self) -> f32

Source§

fn less_than(&self, other: &impl Detail_GraphEdgeTraitConst) -> Result<bool>

Source§

fn greater_than(&self, other: &impl Detail_GraphEdgeTraitConst) -> Result<bool>

Source§

impl Detail_GraphTrait for BoxedRefMut<'_, Detail_Graph>

Source§

fn as_raw_mut_Detail_Graph( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn create(&mut self, num_vertices: i32) -> Result<()>

Source§

fn add_edge(&mut self, from: i32, to: i32, weight: f32) -> Result<()>

Source§

impl Detail_GraphTraitConst for BoxedRefMut<'_, Detail_Graph>

Source§

fn as_raw_Detail_Graph(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn num_vertices(&self) -> Result<i32>

Source§

impl Detail_HomographyBasedEstimatorTrait for BoxedRefMut<'_, Detail_HomographyBasedEstimator>

Source§

fn as_raw_mut_Detail_HomographyBasedEstimator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl Detail_HomographyBasedEstimatorTraitConst for BoxedRefMut<'_, Detail_HomographyBasedEstimator>

Source§

fn as_raw_Detail_HomographyBasedEstimator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_ImageFeaturesTrait for BoxedRefMut<'_, Detail_ImageFeatures>

Source§

fn as_raw_mut_Detail_ImageFeatures( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_img_idx(&mut self, val: i32)

Source§

fn set_img_size(&mut self, val: Size)

Source§

fn set_keypoints(&mut self, val: Vector<KeyPoint>)

Source§

fn set_descriptors(&mut self, val: UMat)

Source§

fn get_keypoints(&mut self) -> Result<Vector<KeyPoint>>

Source§

impl Detail_ImageFeaturesTraitConst for BoxedRefMut<'_, Detail_ImageFeatures>

Source§

fn as_raw_Detail_ImageFeatures( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn img_idx(&self) -> i32

Source§

fn img_size(&self) -> Size

Source§

fn keypoints(&self) -> Vector<KeyPoint>

Source§

fn descriptors(&self) -> UMat

Source§

impl Detail_MatchesInfoTrait for BoxedRefMut<'_, Detail_MatchesInfo>

Source§

fn as_raw_mut_Detail_MatchesInfo( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_src_img_idx(&mut self, val: i32)

Source§

fn set_dst_img_idx(&mut self, val: i32)

Images indices (optional)
Source§

fn set_matches(&mut self, val: Vector<DMatch>)

Source§

fn set_inliers_mask(&mut self, val: Vector<u8>)

Geometrically consistent matches mask
Source§

fn set_num_inliers(&mut self, val: i32)

Number of geometrically consistent matches
Source§

fn set_h(&mut self, val: Mat)

Estimated transformation
Source§

fn set_confidence(&mut self, val: f64)

Confidence two images are from the same panorama
Source§

fn set(&mut self, other: &impl Detail_MatchesInfoTraitConst) -> Result<()>

Source§

fn get_matches(&mut self) -> Result<Vector<DMatch>>

Source§

fn get_inliers(&mut self) -> Result<Vector<u8>>

Source§

impl Detail_MatchesInfoTraitConst for BoxedRefMut<'_, Detail_MatchesInfo>

Source§

fn as_raw_Detail_MatchesInfo( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn src_img_idx(&self) -> i32

Source§

fn dst_img_idx(&self) -> i32

Images indices (optional)
Source§

fn matches(&self) -> Vector<DMatch>

Source§

fn inliers_mask(&self) -> Vector<u8>

Geometrically consistent matches mask
Source§

fn num_inliers(&self) -> i32

Number of geometrically consistent matches
Source§

fn h(&self) -> Mat

Estimated transformation
Source§

fn confidence(&self) -> f64

Confidence two images are from the same panorama
Source§

impl Detail_MercatorProjectorTrait for BoxedRefMut<'_, Detail_MercatorProjector>

Source§

fn as_raw_mut_Detail_MercatorProjector( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn map_forward( &mut self, x: f32, y: f32, u: &mut f32, v: &mut f32, ) -> Result<()>

Source§

fn map_backward( &mut self, u: f32, v: f32, x: &mut f32, y: &mut f32, ) -> Result<()>

Source§

impl Detail_MercatorProjectorTraitConst for BoxedRefMut<'_, Detail_MercatorProjector>

Source§

fn as_raw_Detail_MercatorProjector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_MercatorWarperTrait for BoxedRefMut<'_, Detail_MercatorWarper>

Source§

fn as_raw_mut_Detail_MercatorWarper( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl Detail_MercatorWarperTraitConst for BoxedRefMut<'_, Detail_MercatorWarper>

Source§

fn as_raw_Detail_MercatorWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_MultiBandBlenderTrait for BoxedRefMut<'_, Detail_MultiBandBlender>

Source§

fn as_raw_mut_Detail_MultiBandBlender( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_num_bands(&mut self, val: i32) -> Result<()>

Source§

fn prepare(&mut self, dst_roi: Rect) -> Result<()>

Source§

fn feed( &mut self, img: &impl ToInputArray, mask: &impl ToInputArray, tl: Point, ) -> Result<()>

Source§

fn blend( &mut self, dst: &mut impl ToInputOutputArray, dst_mask: &mut impl ToInputOutputArray, ) -> Result<()>

Source§

impl Detail_MultiBandBlenderTraitConst for BoxedRefMut<'_, Detail_MultiBandBlender>

Source§

fn as_raw_Detail_MultiBandBlender( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn num_bands(&self) -> Result<i32>

Source§

impl Detail_NoBundleAdjusterTrait for BoxedRefMut<'_, Detail_NoBundleAdjuster>

Source§

fn as_raw_mut_Detail_NoBundleAdjuster( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl Detail_NoBundleAdjusterTraitConst for BoxedRefMut<'_, Detail_NoBundleAdjuster>

Source§

fn as_raw_Detail_NoBundleAdjuster( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_NoExposureCompensatorTrait for BoxedRefMut<'_, Detail_NoExposureCompensator>

Source§

fn as_raw_mut_Detail_NoExposureCompensator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn feed( &mut self, unnamed: &Vector<Point>, unnamed_1: &Vector<UMat>, unnamed_2: &Vector<Tuple<(UMat, u8)>>, ) -> Result<()>

Source§

fn apply( &mut self, unnamed: i32, unnamed_1: Point, unnamed_2: &mut impl ToInputOutputArray, unnamed_3: &impl ToInputArray, ) -> Result<()>

Source§

fn get_mat_gains(&mut self, umv: &mut Vector<Mat>) -> Result<()>

Source§

fn set_mat_gains(&mut self, umv: &mut Vector<Mat>) -> Result<()>

Source§

impl Detail_NoExposureCompensatorTraitConst for BoxedRefMut<'_, Detail_NoExposureCompensator>

Source§

fn as_raw_Detail_NoExposureCompensator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_NoSeamFinderTrait for BoxedRefMut<'_, Detail_NoSeamFinder>

Source§

fn as_raw_mut_Detail_NoSeamFinder( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn find( &mut self, unnamed: &Vector<UMat>, unnamed_1: &Vector<Point>, unnamed_2: &mut Vector<UMat>, ) -> Result<()>

Source§

impl Detail_NoSeamFinderTraitConst for BoxedRefMut<'_, Detail_NoSeamFinder>

Source§

fn as_raw_Detail_NoSeamFinder( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_PairwiseSeamFinderTrait for BoxedRefMut<'_, Detail_GraphCutSeamFinderGpu>

Source§

fn as_raw_mut_Detail_PairwiseSeamFinder( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn find( &mut self, src: &Vector<UMat>, corners: &Vector<Point>, masks: &mut Vector<UMat>, ) -> Result<()>

Source§

impl Detail_PairwiseSeamFinderTrait for BoxedRefMut<'_, Detail_PairwiseSeamFinder>

Source§

fn as_raw_mut_Detail_PairwiseSeamFinder( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn find( &mut self, src: &Vector<UMat>, corners: &Vector<Point>, masks: &mut Vector<UMat>, ) -> Result<()>

Source§

impl Detail_PairwiseSeamFinderTrait for BoxedRefMut<'_, Detail_VoronoiSeamFinder>

Source§

fn as_raw_mut_Detail_PairwiseSeamFinder( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn find( &mut self, src: &Vector<UMat>, corners: &Vector<Point>, masks: &mut Vector<UMat>, ) -> Result<()>

Source§

impl Detail_PairwiseSeamFinderTraitConst for BoxedRefMut<'_, Detail_GraphCutSeamFinderGpu>

Source§

fn as_raw_Detail_PairwiseSeamFinder( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_PairwiseSeamFinderTraitConst for BoxedRefMut<'_, Detail_PairwiseSeamFinder>

Source§

fn as_raw_Detail_PairwiseSeamFinder( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_PairwiseSeamFinderTraitConst for BoxedRefMut<'_, Detail_VoronoiSeamFinder>

Source§

fn as_raw_Detail_PairwiseSeamFinder( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_PaniniPortraitProjectorTrait for BoxedRefMut<'_, Detail_PaniniPortraitProjector>

Source§

fn as_raw_mut_Detail_PaniniPortraitProjector( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_a(&mut self, val: f32)

Source§

fn set_b(&mut self, val: f32)

Source§

fn map_forward( &mut self, x: f32, y: f32, u: &mut f32, v: &mut f32, ) -> Result<()>

Source§

fn map_backward( &mut self, u: f32, v: f32, x: &mut f32, y: &mut f32, ) -> Result<()>

Source§

impl Detail_PaniniPortraitProjectorTraitConst for BoxedRefMut<'_, Detail_PaniniPortraitProjector>

Source§

fn as_raw_Detail_PaniniPortraitProjector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn a(&self) -> f32

Source§

fn b(&self) -> f32

Source§

impl Detail_PaniniPortraitWarperTrait for BoxedRefMut<'_, Detail_PaniniPortraitWarper>

Source§

fn as_raw_mut_Detail_PaniniPortraitWarper( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl Detail_PaniniPortraitWarperTraitConst for BoxedRefMut<'_, Detail_PaniniPortraitWarper>

Source§

fn as_raw_Detail_PaniniPortraitWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_PaniniProjectorTrait for BoxedRefMut<'_, Detail_PaniniProjector>

Source§

fn as_raw_mut_Detail_PaniniProjector( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_a(&mut self, val: f32)

Source§

fn set_b(&mut self, val: f32)

Source§

fn map_forward( &mut self, x: f32, y: f32, u: &mut f32, v: &mut f32, ) -> Result<()>

Source§

fn map_backward( &mut self, u: f32, v: f32, x: &mut f32, y: &mut f32, ) -> Result<()>

Source§

impl Detail_PaniniProjectorTraitConst for BoxedRefMut<'_, Detail_PaniniProjector>

Source§

fn as_raw_Detail_PaniniProjector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn a(&self) -> f32

Source§

fn b(&self) -> f32

Source§

impl Detail_PaniniWarperTrait for BoxedRefMut<'_, Detail_PaniniWarper>

Source§

fn as_raw_mut_Detail_PaniniWarper( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl Detail_PaniniWarperTraitConst for BoxedRefMut<'_, Detail_PaniniWarper>

Source§

fn as_raw_Detail_PaniniWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_PlanePortraitProjectorTrait for BoxedRefMut<'_, Detail_PlanePortraitProjector>

Source§

fn as_raw_mut_Detail_PlanePortraitProjector( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn map_forward( &mut self, x: f32, y: f32, u: &mut f32, v: &mut f32, ) -> Result<()>

Source§

fn map_backward( &mut self, u: f32, v: f32, x: &mut f32, y: &mut f32, ) -> Result<()>

Source§

impl Detail_PlanePortraitProjectorTraitConst for BoxedRefMut<'_, Detail_PlanePortraitProjector>

Source§

fn as_raw_Detail_PlanePortraitProjector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_PlanePortraitWarperTrait for BoxedRefMut<'_, Detail_PlanePortraitWarper>

Source§

fn as_raw_mut_Detail_PlanePortraitWarper( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl Detail_PlanePortraitWarperTraitConst for BoxedRefMut<'_, Detail_PlanePortraitWarper>

Source§

fn as_raw_Detail_PlanePortraitWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_PlaneProjectorTrait for BoxedRefMut<'_, Detail_PlaneProjector>

Source§

fn as_raw_mut_Detail_PlaneProjector( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn map_forward( &mut self, x: f32, y: f32, u: &mut f32, v: &mut f32, ) -> Result<()>

Source§

fn map_backward( &mut self, u: f32, v: f32, x: &mut f32, y: &mut f32, ) -> Result<()>

Source§

impl Detail_PlaneProjectorTraitConst for BoxedRefMut<'_, Detail_PlaneProjector>

Source§

fn as_raw_Detail_PlaneProjector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_PlaneWarperGpuTrait for BoxedRefMut<'_, Detail_PlaneWarperGpu>

Source§

fn as_raw_mut_Detail_PlaneWarperGpu( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn build_maps( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, xmap: &mut impl ToOutputArray, ymap: &mut impl ToOutputArray, ) -> Result<Rect>

Source§

fn build_maps_1( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, t: &impl ToInputArray, xmap: &mut impl ToOutputArray, ymap: &mut impl ToOutputArray, ) -> Result<Rect>

Source§

fn warp( &mut self, src: &impl ToInputArray, k: &impl ToInputArray, r: &impl ToInputArray, interp_mode: i32, border_mode: i32, dst: &mut impl ToOutputArray, ) -> Result<Point>

Source§

fn warp_1( &mut self, src: &impl ToInputArray, k: &impl ToInputArray, r: &impl ToInputArray, t: &impl ToInputArray, interp_mode: i32, border_mode: i32, dst: &mut impl ToOutputArray, ) -> Result<Point>

Source§

fn build_maps_2( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, xmap: &mut impl GpuMatTrait, ymap: &mut impl GpuMatTrait, ) -> Result<Rect>

Source§

fn build_maps_3( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, t: &impl ToInputArray, xmap: &mut impl GpuMatTrait, ymap: &mut impl GpuMatTrait, ) -> Result<Rect>

Source§

fn warp_2( &mut self, src: &impl GpuMatTraitConst, k: &impl ToInputArray, r: &impl ToInputArray, interp_mode: i32, border_mode: i32, dst: &mut impl GpuMatTrait, ) -> Result<Point>

Source§

fn warp_3( &mut self, src: &impl GpuMatTraitConst, k: &impl ToInputArray, r: &impl ToInputArray, t: &impl ToInputArray, interp_mode: i32, border_mode: i32, dst: &mut impl GpuMatTrait, ) -> Result<Point>

Source§

impl Detail_PlaneWarperGpuTraitConst for BoxedRefMut<'_, Detail_PlaneWarperGpu>

Source§

fn as_raw_Detail_PlaneWarperGpu( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_PlaneWarperTrait for BoxedRefMut<'_, Detail_AffineWarper>

Source§

fn as_raw_mut_Detail_PlaneWarper( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn warp_point( &mut self, pt: Point2f, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Point2f>

Source§

fn warp_point_1( &mut self, pt: Point2f, k: &impl ToInputArray, r: &impl ToInputArray, t: &impl ToInputArray, ) -> Result<Point2f>

Source§

fn warp_point_backward( &mut self, pt: Point2f, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Point2f>

Source§

fn warp_point_backward_1( &mut self, pt: Point2f, k: &impl ToInputArray, r: &impl ToInputArray, t: &impl ToInputArray, ) -> Result<Point2f>

Source§

fn build_maps( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, t: &impl ToInputArray, xmap: &mut impl ToOutputArray, ymap: &mut impl ToOutputArray, ) -> Result<Rect>

Source§

fn build_maps_1( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, xmap: &mut impl ToOutputArray, ymap: &mut impl ToOutputArray, ) -> Result<Rect>

Source§

fn warp( &mut self, src: &impl ToInputArray, k: &impl ToInputArray, r: &impl ToInputArray, interp_mode: i32, border_mode: i32, dst: &mut impl ToOutputArray, ) -> Result<Point>

Source§

fn warp_1( &mut self, src: &impl ToInputArray, k: &impl ToInputArray, r: &impl ToInputArray, t: &impl ToInputArray, interp_mode: i32, border_mode: i32, dst: &mut impl ToOutputArray, ) -> Result<Point>

Source§

fn warp_roi( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Rect>

Source§

fn warp_roi_1( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, t: &impl ToInputArray, ) -> Result<Rect>

Source§

impl Detail_PlaneWarperTrait for BoxedRefMut<'_, Detail_PlaneWarper>

Source§

fn as_raw_mut_Detail_PlaneWarper( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn warp_point( &mut self, pt: Point2f, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Point2f>

Source§

fn warp_point_1( &mut self, pt: Point2f, k: &impl ToInputArray, r: &impl ToInputArray, t: &impl ToInputArray, ) -> Result<Point2f>

Source§

fn warp_point_backward( &mut self, pt: Point2f, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Point2f>

Source§

fn warp_point_backward_1( &mut self, pt: Point2f, k: &impl ToInputArray, r: &impl ToInputArray, t: &impl ToInputArray, ) -> Result<Point2f>

Source§

fn build_maps( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, t: &impl ToInputArray, xmap: &mut impl ToOutputArray, ymap: &mut impl ToOutputArray, ) -> Result<Rect>

Source§

fn build_maps_1( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, xmap: &mut impl ToOutputArray, ymap: &mut impl ToOutputArray, ) -> Result<Rect>

Source§

fn warp( &mut self, src: &impl ToInputArray, k: &impl ToInputArray, r: &impl ToInputArray, interp_mode: i32, border_mode: i32, dst: &mut impl ToOutputArray, ) -> Result<Point>

Source§

fn warp_1( &mut self, src: &impl ToInputArray, k: &impl ToInputArray, r: &impl ToInputArray, t: &impl ToInputArray, interp_mode: i32, border_mode: i32, dst: &mut impl ToOutputArray, ) -> Result<Point>

Source§

fn warp_roi( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Rect>

Source§

fn warp_roi_1( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, t: &impl ToInputArray, ) -> Result<Rect>

Source§

impl Detail_PlaneWarperTrait for BoxedRefMut<'_, Detail_PlaneWarperGpu>

Source§

fn as_raw_mut_Detail_PlaneWarper( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn warp_point( &mut self, pt: Point2f, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Point2f>

Source§

fn warp_point_1( &mut self, pt: Point2f, k: &impl ToInputArray, r: &impl ToInputArray, t: &impl ToInputArray, ) -> Result<Point2f>

Source§

fn warp_point_backward( &mut self, pt: Point2f, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Point2f>

Source§

fn warp_point_backward_1( &mut self, pt: Point2f, k: &impl ToInputArray, r: &impl ToInputArray, t: &impl ToInputArray, ) -> Result<Point2f>

Source§

fn build_maps( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, t: &impl ToInputArray, xmap: &mut impl ToOutputArray, ymap: &mut impl ToOutputArray, ) -> Result<Rect>

Source§

fn build_maps_1( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, xmap: &mut impl ToOutputArray, ymap: &mut impl ToOutputArray, ) -> Result<Rect>

Source§

fn warp( &mut self, src: &impl ToInputArray, k: &impl ToInputArray, r: &impl ToInputArray, interp_mode: i32, border_mode: i32, dst: &mut impl ToOutputArray, ) -> Result<Point>

Source§

fn warp_1( &mut self, src: &impl ToInputArray, k: &impl ToInputArray, r: &impl ToInputArray, t: &impl ToInputArray, interp_mode: i32, border_mode: i32, dst: &mut impl ToOutputArray, ) -> Result<Point>

Source§

fn warp_roi( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Rect>

Source§

fn warp_roi_1( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, t: &impl ToInputArray, ) -> Result<Rect>

Source§

impl Detail_PlaneWarperTraitConst for BoxedRefMut<'_, Detail_AffineWarper>

Source§

fn as_raw_Detail_PlaneWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_PlaneWarperTraitConst for BoxedRefMut<'_, Detail_PlaneWarper>

Source§

fn as_raw_Detail_PlaneWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_PlaneWarperTraitConst for BoxedRefMut<'_, Detail_PlaneWarperGpu>

Source§

fn as_raw_Detail_PlaneWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_ProjectorBaseTrait for BoxedRefMut<'_, Detail_CompressedRectilinearPortraitProjector>

Source§

fn as_raw_mut_Detail_ProjectorBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_scale(&mut self, val: f32)

Source§

fn k_mut(&mut self) -> &mut [f32; 9]

Source§

fn rinv_mut(&mut self) -> &mut [f32; 9]

Source§

fn r_kinv_mut(&mut self) -> &mut [f32; 9]

Source§

fn k_rinv_mut(&mut self) -> &mut [f32; 9]

Source§

fn t_mut(&mut self) -> &mut [f32; 3]

Source§

fn set_camera_params( &mut self, k: &impl ToInputArray, r: &impl ToInputArray, t: &impl ToInputArray, ) -> Result<()>

C++ default parameters Read more
Source§

fn set_camera_params_def(&mut self) -> Result<()>

Source§

impl Detail_ProjectorBaseTrait for BoxedRefMut<'_, Detail_CompressedRectilinearProjector>

Source§

fn as_raw_mut_Detail_ProjectorBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_scale(&mut self, val: f32)

Source§

fn k_mut(&mut self) -> &mut [f32; 9]

Source§

fn rinv_mut(&mut self) -> &mut [f32; 9]

Source§

fn r_kinv_mut(&mut self) -> &mut [f32; 9]

Source§

fn k_rinv_mut(&mut self) -> &mut [f32; 9]

Source§

fn t_mut(&mut self) -> &mut [f32; 3]

Source§

fn set_camera_params( &mut self, k: &impl ToInputArray, r: &impl ToInputArray, t: &impl ToInputArray, ) -> Result<()>

C++ default parameters Read more
Source§

fn set_camera_params_def(&mut self) -> Result<()>

Source§

impl Detail_ProjectorBaseTrait for BoxedRefMut<'_, Detail_CylindricalPortraitProjector>

Source§

fn as_raw_mut_Detail_ProjectorBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_scale(&mut self, val: f32)

Source§

fn k_mut(&mut self) -> &mut [f32; 9]

Source§

fn rinv_mut(&mut self) -> &mut [f32; 9]

Source§

fn r_kinv_mut(&mut self) -> &mut [f32; 9]

Source§

fn k_rinv_mut(&mut self) -> &mut [f32; 9]

Source§

fn t_mut(&mut self) -> &mut [f32; 3]

Source§

fn set_camera_params( &mut self, k: &impl ToInputArray, r: &impl ToInputArray, t: &impl ToInputArray, ) -> Result<()>

C++ default parameters Read more
Source§

fn set_camera_params_def(&mut self) -> Result<()>

Source§

impl Detail_ProjectorBaseTrait for BoxedRefMut<'_, Detail_CylindricalProjector>

Source§

fn as_raw_mut_Detail_ProjectorBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_scale(&mut self, val: f32)

Source§

fn k_mut(&mut self) -> &mut [f32; 9]

Source§

fn rinv_mut(&mut self) -> &mut [f32; 9]

Source§

fn r_kinv_mut(&mut self) -> &mut [f32; 9]

Source§

fn k_rinv_mut(&mut self) -> &mut [f32; 9]

Source§

fn t_mut(&mut self) -> &mut [f32; 3]

Source§

fn set_camera_params( &mut self, k: &impl ToInputArray, r: &impl ToInputArray, t: &impl ToInputArray, ) -> Result<()>

C++ default parameters Read more
Source§

fn set_camera_params_def(&mut self) -> Result<()>

Source§

impl Detail_ProjectorBaseTrait for BoxedRefMut<'_, Detail_FisheyeProjector>

Source§

fn as_raw_mut_Detail_ProjectorBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_scale(&mut self, val: f32)

Source§

fn k_mut(&mut self) -> &mut [f32; 9]

Source§

fn rinv_mut(&mut self) -> &mut [f32; 9]

Source§

fn r_kinv_mut(&mut self) -> &mut [f32; 9]

Source§

fn k_rinv_mut(&mut self) -> &mut [f32; 9]

Source§

fn t_mut(&mut self) -> &mut [f32; 3]

Source§

fn set_camera_params( &mut self, k: &impl ToInputArray, r: &impl ToInputArray, t: &impl ToInputArray, ) -> Result<()>

C++ default parameters Read more
Source§

fn set_camera_params_def(&mut self) -> Result<()>

Source§

impl Detail_ProjectorBaseTrait for BoxedRefMut<'_, Detail_MercatorProjector>

Source§

fn as_raw_mut_Detail_ProjectorBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_scale(&mut self, val: f32)

Source§

fn k_mut(&mut self) -> &mut [f32; 9]

Source§

fn rinv_mut(&mut self) -> &mut [f32; 9]

Source§

fn r_kinv_mut(&mut self) -> &mut [f32; 9]

Source§

fn k_rinv_mut(&mut self) -> &mut [f32; 9]

Source§

fn t_mut(&mut self) -> &mut [f32; 3]

Source§

fn set_camera_params( &mut self, k: &impl ToInputArray, r: &impl ToInputArray, t: &impl ToInputArray, ) -> Result<()>

C++ default parameters Read more
Source§

fn set_camera_params_def(&mut self) -> Result<()>

Source§

impl Detail_ProjectorBaseTrait for BoxedRefMut<'_, Detail_PaniniPortraitProjector>

Source§

fn as_raw_mut_Detail_ProjectorBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_scale(&mut self, val: f32)

Source§

fn k_mut(&mut self) -> &mut [f32; 9]

Source§

fn rinv_mut(&mut self) -> &mut [f32; 9]

Source§

fn r_kinv_mut(&mut self) -> &mut [f32; 9]

Source§

fn k_rinv_mut(&mut self) -> &mut [f32; 9]

Source§

fn t_mut(&mut self) -> &mut [f32; 3]

Source§

fn set_camera_params( &mut self, k: &impl ToInputArray, r: &impl ToInputArray, t: &impl ToInputArray, ) -> Result<()>

C++ default parameters Read more
Source§

fn set_camera_params_def(&mut self) -> Result<()>

Source§

impl Detail_ProjectorBaseTrait for BoxedRefMut<'_, Detail_PaniniProjector>

Source§

fn as_raw_mut_Detail_ProjectorBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_scale(&mut self, val: f32)

Source§

fn k_mut(&mut self) -> &mut [f32; 9]

Source§

fn rinv_mut(&mut self) -> &mut [f32; 9]

Source§

fn r_kinv_mut(&mut self) -> &mut [f32; 9]

Source§

fn k_rinv_mut(&mut self) -> &mut [f32; 9]

Source§

fn t_mut(&mut self) -> &mut [f32; 3]

Source§

fn set_camera_params( &mut self, k: &impl ToInputArray, r: &impl ToInputArray, t: &impl ToInputArray, ) -> Result<()>

C++ default parameters Read more
Source§

fn set_camera_params_def(&mut self) -> Result<()>

Source§

impl Detail_ProjectorBaseTrait for BoxedRefMut<'_, Detail_PlanePortraitProjector>

Source§

fn as_raw_mut_Detail_ProjectorBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_scale(&mut self, val: f32)

Source§

fn k_mut(&mut self) -> &mut [f32; 9]

Source§

fn rinv_mut(&mut self) -> &mut [f32; 9]

Source§

fn r_kinv_mut(&mut self) -> &mut [f32; 9]

Source§

fn k_rinv_mut(&mut self) -> &mut [f32; 9]

Source§

fn t_mut(&mut self) -> &mut [f32; 3]

Source§

fn set_camera_params( &mut self, k: &impl ToInputArray, r: &impl ToInputArray, t: &impl ToInputArray, ) -> Result<()>

C++ default parameters Read more
Source§

fn set_camera_params_def(&mut self) -> Result<()>

Source§

impl Detail_ProjectorBaseTrait for BoxedRefMut<'_, Detail_PlaneProjector>

Source§

fn as_raw_mut_Detail_ProjectorBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_scale(&mut self, val: f32)

Source§

fn k_mut(&mut self) -> &mut [f32; 9]

Source§

fn rinv_mut(&mut self) -> &mut [f32; 9]

Source§

fn r_kinv_mut(&mut self) -> &mut [f32; 9]

Source§

fn k_rinv_mut(&mut self) -> &mut [f32; 9]

Source§

fn t_mut(&mut self) -> &mut [f32; 3]

Source§

fn set_camera_params( &mut self, k: &impl ToInputArray, r: &impl ToInputArray, t: &impl ToInputArray, ) -> Result<()>

C++ default parameters Read more
Source§

fn set_camera_params_def(&mut self) -> Result<()>

Source§

impl Detail_ProjectorBaseTrait for BoxedRefMut<'_, Detail_ProjectorBase>

Source§

fn as_raw_mut_Detail_ProjectorBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_scale(&mut self, val: f32)

Source§

fn k_mut(&mut self) -> &mut [f32; 9]

Source§

fn rinv_mut(&mut self) -> &mut [f32; 9]

Source§

fn r_kinv_mut(&mut self) -> &mut [f32; 9]

Source§

fn k_rinv_mut(&mut self) -> &mut [f32; 9]

Source§

fn t_mut(&mut self) -> &mut [f32; 3]

Source§

fn set_camera_params( &mut self, k: &impl ToInputArray, r: &impl ToInputArray, t: &impl ToInputArray, ) -> Result<()>

C++ default parameters Read more
Source§

fn set_camera_params_def(&mut self) -> Result<()>

Source§

impl Detail_ProjectorBaseTrait for BoxedRefMut<'_, Detail_SphericalPortraitProjector>

Source§

fn as_raw_mut_Detail_ProjectorBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_scale(&mut self, val: f32)

Source§

fn k_mut(&mut self) -> &mut [f32; 9]

Source§

fn rinv_mut(&mut self) -> &mut [f32; 9]

Source§

fn r_kinv_mut(&mut self) -> &mut [f32; 9]

Source§

fn k_rinv_mut(&mut self) -> &mut [f32; 9]

Source§

fn t_mut(&mut self) -> &mut [f32; 3]

Source§

fn set_camera_params( &mut self, k: &impl ToInputArray, r: &impl ToInputArray, t: &impl ToInputArray, ) -> Result<()>

C++ default parameters Read more
Source§

fn set_camera_params_def(&mut self) -> Result<()>

Source§

impl Detail_ProjectorBaseTrait for BoxedRefMut<'_, Detail_SphericalProjector>

Source§

fn as_raw_mut_Detail_ProjectorBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_scale(&mut self, val: f32)

Source§

fn k_mut(&mut self) -> &mut [f32; 9]

Source§

fn rinv_mut(&mut self) -> &mut [f32; 9]

Source§

fn r_kinv_mut(&mut self) -> &mut [f32; 9]

Source§

fn k_rinv_mut(&mut self) -> &mut [f32; 9]

Source§

fn t_mut(&mut self) -> &mut [f32; 3]

Source§

fn set_camera_params( &mut self, k: &impl ToInputArray, r: &impl ToInputArray, t: &impl ToInputArray, ) -> Result<()>

C++ default parameters Read more
Source§

fn set_camera_params_def(&mut self) -> Result<()>

Source§

impl Detail_ProjectorBaseTrait for BoxedRefMut<'_, Detail_StereographicProjector>

Source§

fn as_raw_mut_Detail_ProjectorBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_scale(&mut self, val: f32)

Source§

fn k_mut(&mut self) -> &mut [f32; 9]

Source§

fn rinv_mut(&mut self) -> &mut [f32; 9]

Source§

fn r_kinv_mut(&mut self) -> &mut [f32; 9]

Source§

fn k_rinv_mut(&mut self) -> &mut [f32; 9]

Source§

fn t_mut(&mut self) -> &mut [f32; 3]

Source§

fn set_camera_params( &mut self, k: &impl ToInputArray, r: &impl ToInputArray, t: &impl ToInputArray, ) -> Result<()>

C++ default parameters Read more
Source§

fn set_camera_params_def(&mut self) -> Result<()>

Source§

impl Detail_ProjectorBaseTrait for BoxedRefMut<'_, Detail_TransverseMercatorProjector>

Source§

fn as_raw_mut_Detail_ProjectorBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_scale(&mut self, val: f32)

Source§

fn k_mut(&mut self) -> &mut [f32; 9]

Source§

fn rinv_mut(&mut self) -> &mut [f32; 9]

Source§

fn r_kinv_mut(&mut self) -> &mut [f32; 9]

Source§

fn k_rinv_mut(&mut self) -> &mut [f32; 9]

Source§

fn t_mut(&mut self) -> &mut [f32; 3]

Source§

fn set_camera_params( &mut self, k: &impl ToInputArray, r: &impl ToInputArray, t: &impl ToInputArray, ) -> Result<()>

C++ default parameters Read more
Source§

fn set_camera_params_def(&mut self) -> Result<()>

Source§

impl Detail_ProjectorBaseTraitConst for BoxedRefMut<'_, Detail_CompressedRectilinearPortraitProjector>

Source§

fn as_raw_Detail_ProjectorBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn scale(&self) -> f32

Source§

fn k(&self) -> &[f32; 9]

Source§

fn rinv(&self) -> &[f32; 9]

Source§

fn r_kinv(&self) -> &[f32; 9]

Source§

fn k_rinv(&self) -> &[f32; 9]

Source§

fn t(&self) -> &[f32; 3]

Source§

impl Detail_ProjectorBaseTraitConst for BoxedRefMut<'_, Detail_CompressedRectilinearProjector>

Source§

fn as_raw_Detail_ProjectorBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn scale(&self) -> f32

Source§

fn k(&self) -> &[f32; 9]

Source§

fn rinv(&self) -> &[f32; 9]

Source§

fn r_kinv(&self) -> &[f32; 9]

Source§

fn k_rinv(&self) -> &[f32; 9]

Source§

fn t(&self) -> &[f32; 3]

Source§

impl Detail_ProjectorBaseTraitConst for BoxedRefMut<'_, Detail_CylindricalPortraitProjector>

Source§

fn as_raw_Detail_ProjectorBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn scale(&self) -> f32

Source§

fn k(&self) -> &[f32; 9]

Source§

fn rinv(&self) -> &[f32; 9]

Source§

fn r_kinv(&self) -> &[f32; 9]

Source§

fn k_rinv(&self) -> &[f32; 9]

Source§

fn t(&self) -> &[f32; 3]

Source§

impl Detail_ProjectorBaseTraitConst for BoxedRefMut<'_, Detail_CylindricalProjector>

Source§

fn as_raw_Detail_ProjectorBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn scale(&self) -> f32

Source§

fn k(&self) -> &[f32; 9]

Source§

fn rinv(&self) -> &[f32; 9]

Source§

fn r_kinv(&self) -> &[f32; 9]

Source§

fn k_rinv(&self) -> &[f32; 9]

Source§

fn t(&self) -> &[f32; 3]

Source§

impl Detail_ProjectorBaseTraitConst for BoxedRefMut<'_, Detail_FisheyeProjector>

Source§

fn as_raw_Detail_ProjectorBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn scale(&self) -> f32

Source§

fn k(&self) -> &[f32; 9]

Source§

fn rinv(&self) -> &[f32; 9]

Source§

fn r_kinv(&self) -> &[f32; 9]

Source§

fn k_rinv(&self) -> &[f32; 9]

Source§

fn t(&self) -> &[f32; 3]

Source§

impl Detail_ProjectorBaseTraitConst for BoxedRefMut<'_, Detail_MercatorProjector>

Source§

fn as_raw_Detail_ProjectorBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn scale(&self) -> f32

Source§

fn k(&self) -> &[f32; 9]

Source§

fn rinv(&self) -> &[f32; 9]

Source§

fn r_kinv(&self) -> &[f32; 9]

Source§

fn k_rinv(&self) -> &[f32; 9]

Source§

fn t(&self) -> &[f32; 3]

Source§

impl Detail_ProjectorBaseTraitConst for BoxedRefMut<'_, Detail_PaniniPortraitProjector>

Source§

fn as_raw_Detail_ProjectorBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn scale(&self) -> f32

Source§

fn k(&self) -> &[f32; 9]

Source§

fn rinv(&self) -> &[f32; 9]

Source§

fn r_kinv(&self) -> &[f32; 9]

Source§

fn k_rinv(&self) -> &[f32; 9]

Source§

fn t(&self) -> &[f32; 3]

Source§

impl Detail_ProjectorBaseTraitConst for BoxedRefMut<'_, Detail_PaniniProjector>

Source§

fn as_raw_Detail_ProjectorBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn scale(&self) -> f32

Source§

fn k(&self) -> &[f32; 9]

Source§

fn rinv(&self) -> &[f32; 9]

Source§

fn r_kinv(&self) -> &[f32; 9]

Source§

fn k_rinv(&self) -> &[f32; 9]

Source§

fn t(&self) -> &[f32; 3]

Source§

impl Detail_ProjectorBaseTraitConst for BoxedRefMut<'_, Detail_PlanePortraitProjector>

Source§

fn as_raw_Detail_ProjectorBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn scale(&self) -> f32

Source§

fn k(&self) -> &[f32; 9]

Source§

fn rinv(&self) -> &[f32; 9]

Source§

fn r_kinv(&self) -> &[f32; 9]

Source§

fn k_rinv(&self) -> &[f32; 9]

Source§

fn t(&self) -> &[f32; 3]

Source§

impl Detail_ProjectorBaseTraitConst for BoxedRefMut<'_, Detail_PlaneProjector>

Source§

fn as_raw_Detail_ProjectorBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn scale(&self) -> f32

Source§

fn k(&self) -> &[f32; 9]

Source§

fn rinv(&self) -> &[f32; 9]

Source§

fn r_kinv(&self) -> &[f32; 9]

Source§

fn k_rinv(&self) -> &[f32; 9]

Source§

fn t(&self) -> &[f32; 3]

Source§

impl Detail_ProjectorBaseTraitConst for BoxedRefMut<'_, Detail_ProjectorBase>

Source§

fn as_raw_Detail_ProjectorBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn scale(&self) -> f32

Source§

fn k(&self) -> &[f32; 9]

Source§

fn rinv(&self) -> &[f32; 9]

Source§

fn r_kinv(&self) -> &[f32; 9]

Source§

fn k_rinv(&self) -> &[f32; 9]

Source§

fn t(&self) -> &[f32; 3]

Source§

impl Detail_ProjectorBaseTraitConst for BoxedRefMut<'_, Detail_SphericalPortraitProjector>

Source§

fn as_raw_Detail_ProjectorBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn scale(&self) -> f32

Source§

fn k(&self) -> &[f32; 9]

Source§

fn rinv(&self) -> &[f32; 9]

Source§

fn r_kinv(&self) -> &[f32; 9]

Source§

fn k_rinv(&self) -> &[f32; 9]

Source§

fn t(&self) -> &[f32; 3]

Source§

impl Detail_ProjectorBaseTraitConst for BoxedRefMut<'_, Detail_SphericalProjector>

Source§

fn as_raw_Detail_ProjectorBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn scale(&self) -> f32

Source§

fn k(&self) -> &[f32; 9]

Source§

fn rinv(&self) -> &[f32; 9]

Source§

fn r_kinv(&self) -> &[f32; 9]

Source§

fn k_rinv(&self) -> &[f32; 9]

Source§

fn t(&self) -> &[f32; 3]

Source§

impl Detail_ProjectorBaseTraitConst for BoxedRefMut<'_, Detail_StereographicProjector>

Source§

fn as_raw_Detail_ProjectorBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn scale(&self) -> f32

Source§

fn k(&self) -> &[f32; 9]

Source§

fn rinv(&self) -> &[f32; 9]

Source§

fn r_kinv(&self) -> &[f32; 9]

Source§

fn k_rinv(&self) -> &[f32; 9]

Source§

fn t(&self) -> &[f32; 3]

Source§

impl Detail_ProjectorBaseTraitConst for BoxedRefMut<'_, Detail_TransverseMercatorProjector>

Source§

fn as_raw_Detail_ProjectorBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn scale(&self) -> f32

Source§

fn k(&self) -> &[f32; 9]

Source§

fn rinv(&self) -> &[f32; 9]

Source§

fn r_kinv(&self) -> &[f32; 9]

Source§

fn k_rinv(&self) -> &[f32; 9]

Source§

fn t(&self) -> &[f32; 3]

Source§

impl Detail_RotationWarperTrait for BoxedRefMut<'_, Detail_AffineWarper>

Source§

fn as_raw_mut_Detail_RotationWarper( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn warp_point( &mut self, pt: Point2f, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Point2f>

Projects the image point. Read more
Source§

fn warp_point_backward( &mut self, pt: Point2f, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Point2f>

Source§

fn build_maps( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, xmap: &mut impl ToOutputArray, ymap: &mut impl ToOutputArray, ) -> Result<Rect>

Builds the projection maps according to the given camera data. Read more
Source§

fn warp( &mut self, src: &impl ToInputArray, k: &impl ToInputArray, r: &impl ToInputArray, interp_mode: i32, border_mode: i32, dst: &mut impl ToOutputArray, ) -> Result<Point>

Projects the image. Read more
Source§

fn warp_backward( &mut self, src: &impl ToInputArray, k: &impl ToInputArray, r: &impl ToInputArray, interp_mode: i32, border_mode: i32, dst_size: Size, dst: &mut impl ToOutputArray, ) -> Result<()>

Projects the image backward. Read more
Source§

fn warp_roi( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Rect>

Parameters Read more
Source§

fn set_scale(&mut self, unnamed: f32) -> Result<()>

Source§

impl Detail_RotationWarperTrait for BoxedRefMut<'_, Detail_CompressedRectilinearPortraitWarper>

Source§

fn as_raw_mut_Detail_RotationWarper( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn warp_point( &mut self, pt: Point2f, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Point2f>

Projects the image point. Read more
Source§

fn warp_point_backward( &mut self, pt: Point2f, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Point2f>

Source§

fn build_maps( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, xmap: &mut impl ToOutputArray, ymap: &mut impl ToOutputArray, ) -> Result<Rect>

Builds the projection maps according to the given camera data. Read more
Source§

fn warp( &mut self, src: &impl ToInputArray, k: &impl ToInputArray, r: &impl ToInputArray, interp_mode: i32, border_mode: i32, dst: &mut impl ToOutputArray, ) -> Result<Point>

Projects the image. Read more
Source§

fn warp_backward( &mut self, src: &impl ToInputArray, k: &impl ToInputArray, r: &impl ToInputArray, interp_mode: i32, border_mode: i32, dst_size: Size, dst: &mut impl ToOutputArray, ) -> Result<()>

Projects the image backward. Read more
Source§

fn warp_roi( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Rect>

Parameters Read more
Source§

fn set_scale(&mut self, unnamed: f32) -> Result<()>

Source§

impl Detail_RotationWarperTrait for BoxedRefMut<'_, Detail_CompressedRectilinearWarper>

Source§

fn as_raw_mut_Detail_RotationWarper( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn warp_point( &mut self, pt: Point2f, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Point2f>

Projects the image point. Read more
Source§

fn warp_point_backward( &mut self, pt: Point2f, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Point2f>

Source§

fn build_maps( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, xmap: &mut impl ToOutputArray, ymap: &mut impl ToOutputArray, ) -> Result<Rect>

Builds the projection maps according to the given camera data. Read more
Source§

fn warp( &mut self, src: &impl ToInputArray, k: &impl ToInputArray, r: &impl ToInputArray, interp_mode: i32, border_mode: i32, dst: &mut impl ToOutputArray, ) -> Result<Point>

Projects the image. Read more
Source§

fn warp_backward( &mut self, src: &impl ToInputArray, k: &impl ToInputArray, r: &impl ToInputArray, interp_mode: i32, border_mode: i32, dst_size: Size, dst: &mut impl ToOutputArray, ) -> Result<()>

Projects the image backward. Read more
Source§

fn warp_roi( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Rect>

Parameters Read more
Source§

fn set_scale(&mut self, unnamed: f32) -> Result<()>

Source§

impl Detail_RotationWarperTrait for BoxedRefMut<'_, Detail_CylindricalPortraitWarper>

Source§

fn as_raw_mut_Detail_RotationWarper( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn warp_point( &mut self, pt: Point2f, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Point2f>

Projects the image point. Read more
Source§

fn warp_point_backward( &mut self, pt: Point2f, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Point2f>

Source§

fn build_maps( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, xmap: &mut impl ToOutputArray, ymap: &mut impl ToOutputArray, ) -> Result<Rect>

Builds the projection maps according to the given camera data. Read more
Source§

fn warp( &mut self, src: &impl ToInputArray, k: &impl ToInputArray, r: &impl ToInputArray, interp_mode: i32, border_mode: i32, dst: &mut impl ToOutputArray, ) -> Result<Point>

Projects the image. Read more
Source§

fn warp_backward( &mut self, src: &impl ToInputArray, k: &impl ToInputArray, r: &impl ToInputArray, interp_mode: i32, border_mode: i32, dst_size: Size, dst: &mut impl ToOutputArray, ) -> Result<()>

Projects the image backward. Read more
Source§

fn warp_roi( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Rect>

Parameters Read more
Source§

fn set_scale(&mut self, unnamed: f32) -> Result<()>

Source§

impl Detail_RotationWarperTrait for BoxedRefMut<'_, Detail_CylindricalWarper>

Source§

fn as_raw_mut_Detail_RotationWarper( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn warp_point( &mut self, pt: Point2f, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Point2f>

Projects the image point. Read more
Source§

fn warp_point_backward( &mut self, pt: Point2f, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Point2f>

Source§

fn build_maps( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, xmap: &mut impl ToOutputArray, ymap: &mut impl ToOutputArray, ) -> Result<Rect>

Builds the projection maps according to the given camera data. Read more
Source§

fn warp( &mut self, src: &impl ToInputArray, k: &impl ToInputArray, r: &impl ToInputArray, interp_mode: i32, border_mode: i32, dst: &mut impl ToOutputArray, ) -> Result<Point>

Projects the image. Read more
Source§

fn warp_backward( &mut self, src: &impl ToInputArray, k: &impl ToInputArray, r: &impl ToInputArray, interp_mode: i32, border_mode: i32, dst_size: Size, dst: &mut impl ToOutputArray, ) -> Result<()>

Projects the image backward. Read more
Source§

fn warp_roi( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Rect>

Parameters Read more
Source§

fn set_scale(&mut self, unnamed: f32) -> Result<()>

Source§

impl Detail_RotationWarperTrait for BoxedRefMut<'_, Detail_CylindricalWarperGpu>

Source§

fn as_raw_mut_Detail_RotationWarper( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn warp_point( &mut self, pt: Point2f, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Point2f>

Projects the image point. Read more
Source§

fn warp_point_backward( &mut self, pt: Point2f, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Point2f>

Source§

fn build_maps( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, xmap: &mut impl ToOutputArray, ymap: &mut impl ToOutputArray, ) -> Result<Rect>

Builds the projection maps according to the given camera data. Read more
Source§

fn warp( &mut self, src: &impl ToInputArray, k: &impl ToInputArray, r: &impl ToInputArray, interp_mode: i32, border_mode: i32, dst: &mut impl ToOutputArray, ) -> Result<Point>

Projects the image. Read more
Source§

fn warp_backward( &mut self, src: &impl ToInputArray, k: &impl ToInputArray, r: &impl ToInputArray, interp_mode: i32, border_mode: i32, dst_size: Size, dst: &mut impl ToOutputArray, ) -> Result<()>

Projects the image backward. Read more
Source§

fn warp_roi( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Rect>

Parameters Read more
Source§

fn set_scale(&mut self, unnamed: f32) -> Result<()>

Source§

impl Detail_RotationWarperTrait for BoxedRefMut<'_, Detail_FisheyeWarper>

Source§

fn as_raw_mut_Detail_RotationWarper( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn warp_point( &mut self, pt: Point2f, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Point2f>

Projects the image point. Read more
Source§

fn warp_point_backward( &mut self, pt: Point2f, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Point2f>

Source§

fn build_maps( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, xmap: &mut impl ToOutputArray, ymap: &mut impl ToOutputArray, ) -> Result<Rect>

Builds the projection maps according to the given camera data. Read more
Source§

fn warp( &mut self, src: &impl ToInputArray, k: &impl ToInputArray, r: &impl ToInputArray, interp_mode: i32, border_mode: i32, dst: &mut impl ToOutputArray, ) -> Result<Point>

Projects the image. Read more
Source§

fn warp_backward( &mut self, src: &impl ToInputArray, k: &impl ToInputArray, r: &impl ToInputArray, interp_mode: i32, border_mode: i32, dst_size: Size, dst: &mut impl ToOutputArray, ) -> Result<()>

Projects the image backward. Read more
Source§

fn warp_roi( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Rect>

Parameters Read more
Source§

fn set_scale(&mut self, unnamed: f32) -> Result<()>

Source§

impl Detail_RotationWarperTrait for BoxedRefMut<'_, Detail_MercatorWarper>

Source§

fn as_raw_mut_Detail_RotationWarper( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn warp_point( &mut self, pt: Point2f, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Point2f>

Projects the image point. Read more
Source§

fn warp_point_backward( &mut self, pt: Point2f, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Point2f>

Source§

fn build_maps( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, xmap: &mut impl ToOutputArray, ymap: &mut impl ToOutputArray, ) -> Result<Rect>

Builds the projection maps according to the given camera data. Read more
Source§

fn warp( &mut self, src: &impl ToInputArray, k: &impl ToInputArray, r: &impl ToInputArray, interp_mode: i32, border_mode: i32, dst: &mut impl ToOutputArray, ) -> Result<Point>

Projects the image. Read more
Source§

fn warp_backward( &mut self, src: &impl ToInputArray, k: &impl ToInputArray, r: &impl ToInputArray, interp_mode: i32, border_mode: i32, dst_size: Size, dst: &mut impl ToOutputArray, ) -> Result<()>

Projects the image backward. Read more
Source§

fn warp_roi( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Rect>

Parameters Read more
Source§

fn set_scale(&mut self, unnamed: f32) -> Result<()>

Source§

impl Detail_RotationWarperTrait for BoxedRefMut<'_, Detail_PaniniPortraitWarper>

Source§

fn as_raw_mut_Detail_RotationWarper( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn warp_point( &mut self, pt: Point2f, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Point2f>

Projects the image point. Read more
Source§

fn warp_point_backward( &mut self, pt: Point2f, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Point2f>

Source§

fn build_maps( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, xmap: &mut impl ToOutputArray, ymap: &mut impl ToOutputArray, ) -> Result<Rect>

Builds the projection maps according to the given camera data. Read more
Source§

fn warp( &mut self, src: &impl ToInputArray, k: &impl ToInputArray, r: &impl ToInputArray, interp_mode: i32, border_mode: i32, dst: &mut impl ToOutputArray, ) -> Result<Point>

Projects the image. Read more
Source§

fn warp_backward( &mut self, src: &impl ToInputArray, k: &impl ToInputArray, r: &impl ToInputArray, interp_mode: i32, border_mode: i32, dst_size: Size, dst: &mut impl ToOutputArray, ) -> Result<()>

Projects the image backward. Read more
Source§

fn warp_roi( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Rect>

Parameters Read more
Source§

fn set_scale(&mut self, unnamed: f32) -> Result<()>

Source§

impl Detail_RotationWarperTrait for BoxedRefMut<'_, Detail_PaniniWarper>

Source§

fn as_raw_mut_Detail_RotationWarper( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn warp_point( &mut self, pt: Point2f, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Point2f>

Projects the image point. Read more
Source§

fn warp_point_backward( &mut self, pt: Point2f, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Point2f>

Source§

fn build_maps( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, xmap: &mut impl ToOutputArray, ymap: &mut impl ToOutputArray, ) -> Result<Rect>

Builds the projection maps according to the given camera data. Read more
Source§

fn warp( &mut self, src: &impl ToInputArray, k: &impl ToInputArray, r: &impl ToInputArray, interp_mode: i32, border_mode: i32, dst: &mut impl ToOutputArray, ) -> Result<Point>

Projects the image. Read more
Source§

fn warp_backward( &mut self, src: &impl ToInputArray, k: &impl ToInputArray, r: &impl ToInputArray, interp_mode: i32, border_mode: i32, dst_size: Size, dst: &mut impl ToOutputArray, ) -> Result<()>

Projects the image backward. Read more
Source§

fn warp_roi( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Rect>

Parameters Read more
Source§

fn set_scale(&mut self, unnamed: f32) -> Result<()>

Source§

impl Detail_RotationWarperTrait for BoxedRefMut<'_, Detail_PlanePortraitWarper>

Source§

fn as_raw_mut_Detail_RotationWarper( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn warp_point( &mut self, pt: Point2f, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Point2f>

Projects the image point. Read more
Source§

fn warp_point_backward( &mut self, pt: Point2f, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Point2f>

Source§

fn build_maps( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, xmap: &mut impl ToOutputArray, ymap: &mut impl ToOutputArray, ) -> Result<Rect>

Builds the projection maps according to the given camera data. Read more
Source§

fn warp( &mut self, src: &impl ToInputArray, k: &impl ToInputArray, r: &impl ToInputArray, interp_mode: i32, border_mode: i32, dst: &mut impl ToOutputArray, ) -> Result<Point>

Projects the image. Read more
Source§

fn warp_backward( &mut self, src: &impl ToInputArray, k: &impl ToInputArray, r: &impl ToInputArray, interp_mode: i32, border_mode: i32, dst_size: Size, dst: &mut impl ToOutputArray, ) -> Result<()>

Projects the image backward. Read more
Source§

fn warp_roi( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Rect>

Parameters Read more
Source§

fn set_scale(&mut self, unnamed: f32) -> Result<()>

Source§

impl Detail_RotationWarperTrait for BoxedRefMut<'_, Detail_PlaneWarper>

Source§

fn as_raw_mut_Detail_RotationWarper( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn warp_point( &mut self, pt: Point2f, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Point2f>

Projects the image point. Read more
Source§

fn warp_point_backward( &mut self, pt: Point2f, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Point2f>

Source§

fn build_maps( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, xmap: &mut impl ToOutputArray, ymap: &mut impl ToOutputArray, ) -> Result<Rect>

Builds the projection maps according to the given camera data. Read more
Source§

fn warp( &mut self, src: &impl ToInputArray, k: &impl ToInputArray, r: &impl ToInputArray, interp_mode: i32, border_mode: i32, dst: &mut impl ToOutputArray, ) -> Result<Point>

Projects the image. Read more
Source§

fn warp_backward( &mut self, src: &impl ToInputArray, k: &impl ToInputArray, r: &impl ToInputArray, interp_mode: i32, border_mode: i32, dst_size: Size, dst: &mut impl ToOutputArray, ) -> Result<()>

Projects the image backward. Read more
Source§

fn warp_roi( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Rect>

Parameters Read more
Source§

fn set_scale(&mut self, unnamed: f32) -> Result<()>

Source§

impl Detail_RotationWarperTrait for BoxedRefMut<'_, Detail_PlaneWarperGpu>

Source§

fn as_raw_mut_Detail_RotationWarper( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn warp_point( &mut self, pt: Point2f, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Point2f>

Projects the image point. Read more
Source§

fn warp_point_backward( &mut self, pt: Point2f, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Point2f>

Source§

fn build_maps( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, xmap: &mut impl ToOutputArray, ymap: &mut impl ToOutputArray, ) -> Result<Rect>

Builds the projection maps according to the given camera data. Read more
Source§

fn warp( &mut self, src: &impl ToInputArray, k: &impl ToInputArray, r: &impl ToInputArray, interp_mode: i32, border_mode: i32, dst: &mut impl ToOutputArray, ) -> Result<Point>

Projects the image. Read more
Source§

fn warp_backward( &mut self, src: &impl ToInputArray, k: &impl ToInputArray, r: &impl ToInputArray, interp_mode: i32, border_mode: i32, dst_size: Size, dst: &mut impl ToOutputArray, ) -> Result<()>

Projects the image backward. Read more
Source§

fn warp_roi( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Rect>

Parameters Read more
Source§

fn set_scale(&mut self, unnamed: f32) -> Result<()>

Source§

impl Detail_RotationWarperTrait for BoxedRefMut<'_, Detail_RotationWarper>

Source§

fn as_raw_mut_Detail_RotationWarper( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn warp_point( &mut self, pt: Point2f, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Point2f>

Projects the image point. Read more
Source§

fn warp_point_backward( &mut self, pt: Point2f, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Point2f>

Source§

fn build_maps( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, xmap: &mut impl ToOutputArray, ymap: &mut impl ToOutputArray, ) -> Result<Rect>

Builds the projection maps according to the given camera data. Read more
Source§

fn warp( &mut self, src: &impl ToInputArray, k: &impl ToInputArray, r: &impl ToInputArray, interp_mode: i32, border_mode: i32, dst: &mut impl ToOutputArray, ) -> Result<Point>

Projects the image. Read more
Source§

fn warp_backward( &mut self, src: &impl ToInputArray, k: &impl ToInputArray, r: &impl ToInputArray, interp_mode: i32, border_mode: i32, dst_size: Size, dst: &mut impl ToOutputArray, ) -> Result<()>

Projects the image backward. Read more
Source§

fn warp_roi( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Rect>

Parameters Read more
Source§

fn set_scale(&mut self, unnamed: f32) -> Result<()>

Source§

impl Detail_RotationWarperTrait for BoxedRefMut<'_, Detail_SphericalPortraitWarper>

Source§

fn as_raw_mut_Detail_RotationWarper( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn warp_point( &mut self, pt: Point2f, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Point2f>

Projects the image point. Read more
Source§

fn warp_point_backward( &mut self, pt: Point2f, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Point2f>

Source§

fn build_maps( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, xmap: &mut impl ToOutputArray, ymap: &mut impl ToOutputArray, ) -> Result<Rect>

Builds the projection maps according to the given camera data. Read more
Source§

fn warp( &mut self, src: &impl ToInputArray, k: &impl ToInputArray, r: &impl ToInputArray, interp_mode: i32, border_mode: i32, dst: &mut impl ToOutputArray, ) -> Result<Point>

Projects the image. Read more
Source§

fn warp_backward( &mut self, src: &impl ToInputArray, k: &impl ToInputArray, r: &impl ToInputArray, interp_mode: i32, border_mode: i32, dst_size: Size, dst: &mut impl ToOutputArray, ) -> Result<()>

Projects the image backward. Read more
Source§

fn warp_roi( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Rect>

Parameters Read more
Source§

fn set_scale(&mut self, unnamed: f32) -> Result<()>

Source§

impl Detail_RotationWarperTrait for BoxedRefMut<'_, Detail_SphericalWarper>

Source§

fn as_raw_mut_Detail_RotationWarper( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn warp_point( &mut self, pt: Point2f, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Point2f>

Projects the image point. Read more
Source§

fn warp_point_backward( &mut self, pt: Point2f, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Point2f>

Source§

fn build_maps( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, xmap: &mut impl ToOutputArray, ymap: &mut impl ToOutputArray, ) -> Result<Rect>

Builds the projection maps according to the given camera data. Read more
Source§

fn warp( &mut self, src: &impl ToInputArray, k: &impl ToInputArray, r: &impl ToInputArray, interp_mode: i32, border_mode: i32, dst: &mut impl ToOutputArray, ) -> Result<Point>

Projects the image. Read more
Source§

fn warp_backward( &mut self, src: &impl ToInputArray, k: &impl ToInputArray, r: &impl ToInputArray, interp_mode: i32, border_mode: i32, dst_size: Size, dst: &mut impl ToOutputArray, ) -> Result<()>

Projects the image backward. Read more
Source§

fn warp_roi( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Rect>

Parameters Read more
Source§

fn set_scale(&mut self, unnamed: f32) -> Result<()>

Source§

impl Detail_RotationWarperTrait for BoxedRefMut<'_, Detail_SphericalWarperGpu>

Source§

fn as_raw_mut_Detail_RotationWarper( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn warp_point( &mut self, pt: Point2f, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Point2f>

Projects the image point. Read more
Source§

fn warp_point_backward( &mut self, pt: Point2f, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Point2f>

Source§

fn build_maps( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, xmap: &mut impl ToOutputArray, ymap: &mut impl ToOutputArray, ) -> Result<Rect>

Builds the projection maps according to the given camera data. Read more
Source§

fn warp( &mut self, src: &impl ToInputArray, k: &impl ToInputArray, r: &impl ToInputArray, interp_mode: i32, border_mode: i32, dst: &mut impl ToOutputArray, ) -> Result<Point>

Projects the image. Read more
Source§

fn warp_backward( &mut self, src: &impl ToInputArray, k: &impl ToInputArray, r: &impl ToInputArray, interp_mode: i32, border_mode: i32, dst_size: Size, dst: &mut impl ToOutputArray, ) -> Result<()>

Projects the image backward. Read more
Source§

fn warp_roi( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Rect>

Parameters Read more
Source§

fn set_scale(&mut self, unnamed: f32) -> Result<()>

Source§

impl Detail_RotationWarperTrait for BoxedRefMut<'_, Detail_StereographicWarper>

Source§

fn as_raw_mut_Detail_RotationWarper( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn warp_point( &mut self, pt: Point2f, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Point2f>

Projects the image point. Read more
Source§

fn warp_point_backward( &mut self, pt: Point2f, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Point2f>

Source§

fn build_maps( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, xmap: &mut impl ToOutputArray, ymap: &mut impl ToOutputArray, ) -> Result<Rect>

Builds the projection maps according to the given camera data. Read more
Source§

fn warp( &mut self, src: &impl ToInputArray, k: &impl ToInputArray, r: &impl ToInputArray, interp_mode: i32, border_mode: i32, dst: &mut impl ToOutputArray, ) -> Result<Point>

Projects the image. Read more
Source§

fn warp_backward( &mut self, src: &impl ToInputArray, k: &impl ToInputArray, r: &impl ToInputArray, interp_mode: i32, border_mode: i32, dst_size: Size, dst: &mut impl ToOutputArray, ) -> Result<()>

Projects the image backward. Read more
Source§

fn warp_roi( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Rect>

Parameters Read more
Source§

fn set_scale(&mut self, unnamed: f32) -> Result<()>

Source§

impl Detail_RotationWarperTrait for BoxedRefMut<'_, Detail_TransverseMercatorWarper>

Source§

fn as_raw_mut_Detail_RotationWarper( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn warp_point( &mut self, pt: Point2f, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Point2f>

Projects the image point. Read more
Source§

fn warp_point_backward( &mut self, pt: Point2f, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Point2f>

Source§

fn build_maps( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, xmap: &mut impl ToOutputArray, ymap: &mut impl ToOutputArray, ) -> Result<Rect>

Builds the projection maps according to the given camera data. Read more
Source§

fn warp( &mut self, src: &impl ToInputArray, k: &impl ToInputArray, r: &impl ToInputArray, interp_mode: i32, border_mode: i32, dst: &mut impl ToOutputArray, ) -> Result<Point>

Projects the image. Read more
Source§

fn warp_backward( &mut self, src: &impl ToInputArray, k: &impl ToInputArray, r: &impl ToInputArray, interp_mode: i32, border_mode: i32, dst_size: Size, dst: &mut impl ToOutputArray, ) -> Result<()>

Projects the image backward. Read more
Source§

fn warp_roi( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Rect>

Parameters Read more
Source§

fn set_scale(&mut self, unnamed: f32) -> Result<()>

Source§

impl Detail_RotationWarperTraitConst for BoxedRefMut<'_, Detail_AffineWarper>

Source§

fn as_raw_Detail_RotationWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_scale(&self) -> Result<f32>

Source§

impl Detail_RotationWarperTraitConst for BoxedRefMut<'_, Detail_CompressedRectilinearPortraitWarper>

Source§

fn as_raw_Detail_RotationWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_scale(&self) -> Result<f32>

Source§

impl Detail_RotationWarperTraitConst for BoxedRefMut<'_, Detail_CompressedRectilinearWarper>

Source§

fn as_raw_Detail_RotationWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_scale(&self) -> Result<f32>

Source§

impl Detail_RotationWarperTraitConst for BoxedRefMut<'_, Detail_CylindricalPortraitWarper>

Source§

fn as_raw_Detail_RotationWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_scale(&self) -> Result<f32>

Source§

impl Detail_RotationWarperTraitConst for BoxedRefMut<'_, Detail_CylindricalWarper>

Source§

fn as_raw_Detail_RotationWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_scale(&self) -> Result<f32>

Source§

impl Detail_RotationWarperTraitConst for BoxedRefMut<'_, Detail_CylindricalWarperGpu>

Source§

fn as_raw_Detail_RotationWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_scale(&self) -> Result<f32>

Source§

impl Detail_RotationWarperTraitConst for BoxedRefMut<'_, Detail_FisheyeWarper>

Source§

fn as_raw_Detail_RotationWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_scale(&self) -> Result<f32>

Source§

impl Detail_RotationWarperTraitConst for BoxedRefMut<'_, Detail_MercatorWarper>

Source§

fn as_raw_Detail_RotationWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_scale(&self) -> Result<f32>

Source§

impl Detail_RotationWarperTraitConst for BoxedRefMut<'_, Detail_PaniniPortraitWarper>

Source§

fn as_raw_Detail_RotationWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_scale(&self) -> Result<f32>

Source§

impl Detail_RotationWarperTraitConst for BoxedRefMut<'_, Detail_PaniniWarper>

Source§

fn as_raw_Detail_RotationWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_scale(&self) -> Result<f32>

Source§

impl Detail_RotationWarperTraitConst for BoxedRefMut<'_, Detail_PlanePortraitWarper>

Source§

fn as_raw_Detail_RotationWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_scale(&self) -> Result<f32>

Source§

impl Detail_RotationWarperTraitConst for BoxedRefMut<'_, Detail_PlaneWarper>

Source§

fn as_raw_Detail_RotationWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_scale(&self) -> Result<f32>

Source§

impl Detail_RotationWarperTraitConst for BoxedRefMut<'_, Detail_PlaneWarperGpu>

Source§

fn as_raw_Detail_RotationWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_scale(&self) -> Result<f32>

Source§

impl Detail_RotationWarperTraitConst for BoxedRefMut<'_, Detail_RotationWarper>

Source§

fn as_raw_Detail_RotationWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_scale(&self) -> Result<f32>

Source§

impl Detail_RotationWarperTraitConst for BoxedRefMut<'_, Detail_SphericalPortraitWarper>

Source§

fn as_raw_Detail_RotationWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_scale(&self) -> Result<f32>

Source§

impl Detail_RotationWarperTraitConst for BoxedRefMut<'_, Detail_SphericalWarper>

Source§

fn as_raw_Detail_RotationWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_scale(&self) -> Result<f32>

Source§

impl Detail_RotationWarperTraitConst for BoxedRefMut<'_, Detail_SphericalWarperGpu>

Source§

fn as_raw_Detail_RotationWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_scale(&self) -> Result<f32>

Source§

impl Detail_RotationWarperTraitConst for BoxedRefMut<'_, Detail_StereographicWarper>

Source§

fn as_raw_Detail_RotationWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_scale(&self) -> Result<f32>

Source§

impl Detail_RotationWarperTraitConst for BoxedRefMut<'_, Detail_TransverseMercatorWarper>

Source§

fn as_raw_Detail_RotationWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_scale(&self) -> Result<f32>

Source§

impl Detail_SeamFinderTrait for BoxedRefMut<'_, Detail_DpSeamFinder>

Source§

fn as_raw_mut_Detail_SeamFinder( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn find( &mut self, src: &Vector<UMat>, corners: &Vector<Point>, masks: &mut Vector<UMat>, ) -> Result<()>

Estimates seams. Read more
Source§

impl Detail_SeamFinderTrait for BoxedRefMut<'_, Detail_GraphCutSeamFinder>

Source§

fn as_raw_mut_Detail_SeamFinder( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn find( &mut self, src: &Vector<UMat>, corners: &Vector<Point>, masks: &mut Vector<UMat>, ) -> Result<()>

Estimates seams. Read more
Source§

impl Detail_SeamFinderTrait for BoxedRefMut<'_, Detail_GraphCutSeamFinderGpu>

Source§

fn as_raw_mut_Detail_SeamFinder( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn find( &mut self, src: &Vector<UMat>, corners: &Vector<Point>, masks: &mut Vector<UMat>, ) -> Result<()>

Estimates seams. Read more
Source§

impl Detail_SeamFinderTrait for BoxedRefMut<'_, Detail_NoSeamFinder>

Source§

fn as_raw_mut_Detail_SeamFinder( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn find( &mut self, src: &Vector<UMat>, corners: &Vector<Point>, masks: &mut Vector<UMat>, ) -> Result<()>

Estimates seams. Read more
Source§

impl Detail_SeamFinderTrait for BoxedRefMut<'_, Detail_PairwiseSeamFinder>

Source§

fn as_raw_mut_Detail_SeamFinder( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn find( &mut self, src: &Vector<UMat>, corners: &Vector<Point>, masks: &mut Vector<UMat>, ) -> Result<()>

Estimates seams. Read more
Source§

impl Detail_SeamFinderTrait for BoxedRefMut<'_, Detail_SeamFinder>

Source§

fn as_raw_mut_Detail_SeamFinder( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn find( &mut self, src: &Vector<UMat>, corners: &Vector<Point>, masks: &mut Vector<UMat>, ) -> Result<()>

Estimates seams. Read more
Source§

impl Detail_SeamFinderTrait for BoxedRefMut<'_, Detail_VoronoiSeamFinder>

Source§

fn as_raw_mut_Detail_SeamFinder( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn find( &mut self, src: &Vector<UMat>, corners: &Vector<Point>, masks: &mut Vector<UMat>, ) -> Result<()>

Estimates seams. Read more
Source§

impl Detail_SeamFinderTraitConst for BoxedRefMut<'_, Detail_DpSeamFinder>

Source§

fn as_raw_Detail_SeamFinder( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_SeamFinderTraitConst for BoxedRefMut<'_, Detail_GraphCutSeamFinder>

Source§

fn as_raw_Detail_SeamFinder( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_SeamFinderTraitConst for BoxedRefMut<'_, Detail_GraphCutSeamFinderGpu>

Source§

fn as_raw_Detail_SeamFinder( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_SeamFinderTraitConst for BoxedRefMut<'_, Detail_NoSeamFinder>

Source§

fn as_raw_Detail_SeamFinder( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_SeamFinderTraitConst for BoxedRefMut<'_, Detail_PairwiseSeamFinder>

Source§

fn as_raw_Detail_SeamFinder( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_SeamFinderTraitConst for BoxedRefMut<'_, Detail_SeamFinder>

Source§

fn as_raw_Detail_SeamFinder( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_SeamFinderTraitConst for BoxedRefMut<'_, Detail_VoronoiSeamFinder>

Source§

fn as_raw_Detail_SeamFinder( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_SphericalPortraitProjectorTrait for BoxedRefMut<'_, Detail_SphericalPortraitProjector>

Source§

fn as_raw_mut_Detail_SphericalPortraitProjector( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn map_forward( &mut self, x: f32, y: f32, u: &mut f32, v: &mut f32, ) -> Result<()>

Source§

fn map_backward( &mut self, u: f32, v: f32, x: &mut f32, y: &mut f32, ) -> Result<()>

Source§

impl Detail_SphericalPortraitProjectorTraitConst for BoxedRefMut<'_, Detail_SphericalPortraitProjector>

Source§

fn as_raw_Detail_SphericalPortraitProjector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_SphericalPortraitWarperTrait for BoxedRefMut<'_, Detail_SphericalPortraitWarper>

Source§

fn as_raw_mut_Detail_SphericalPortraitWarper( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl Detail_SphericalPortraitWarperTraitConst for BoxedRefMut<'_, Detail_SphericalPortraitWarper>

Source§

fn as_raw_Detail_SphericalPortraitWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_SphericalProjectorTrait for BoxedRefMut<'_, Detail_SphericalProjector>

Source§

fn as_raw_mut_Detail_SphericalProjector( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn map_forward( &mut self, x: f32, y: f32, u: &mut f32, v: &mut f32, ) -> Result<()>

Source§

fn map_backward( &mut self, u: f32, v: f32, x: &mut f32, y: &mut f32, ) -> Result<()>

Source§

impl Detail_SphericalProjectorTraitConst for BoxedRefMut<'_, Detail_SphericalProjector>

Source§

fn as_raw_Detail_SphericalProjector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_SphericalWarperGpuTrait for BoxedRefMut<'_, Detail_SphericalWarperGpu>

Source§

fn as_raw_mut_Detail_SphericalWarperGpu( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn build_maps( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, xmap: &mut impl ToOutputArray, ymap: &mut impl ToOutputArray, ) -> Result<Rect>

Source§

fn warp( &mut self, src: &impl ToInputArray, k: &impl ToInputArray, r: &impl ToInputArray, interp_mode: i32, border_mode: i32, dst: &mut impl ToOutputArray, ) -> Result<Point>

Source§

fn build_maps_1( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, xmap: &mut impl GpuMatTrait, ymap: &mut impl GpuMatTrait, ) -> Result<Rect>

Source§

fn warp_1( &mut self, src: &impl GpuMatTraitConst, k: &impl ToInputArray, r: &impl ToInputArray, interp_mode: i32, border_mode: i32, dst: &mut impl GpuMatTrait, ) -> Result<Point>

Source§

impl Detail_SphericalWarperGpuTraitConst for BoxedRefMut<'_, Detail_SphericalWarperGpu>

Source§

fn as_raw_Detail_SphericalWarperGpu( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_SphericalWarperTrait for BoxedRefMut<'_, Detail_SphericalWarper>

Source§

fn as_raw_mut_Detail_SphericalWarper( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn build_maps( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, xmap: &mut impl ToOutputArray, ymap: &mut impl ToOutputArray, ) -> Result<Rect>

Source§

fn warp( &mut self, src: &impl ToInputArray, k: &impl ToInputArray, r: &impl ToInputArray, interp_mode: i32, border_mode: i32, dst: &mut impl ToOutputArray, ) -> Result<Point>

Source§

impl Detail_SphericalWarperTrait for BoxedRefMut<'_, Detail_SphericalWarperGpu>

Source§

fn as_raw_mut_Detail_SphericalWarper( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn build_maps( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, xmap: &mut impl ToOutputArray, ymap: &mut impl ToOutputArray, ) -> Result<Rect>

Source§

fn warp( &mut self, src: &impl ToInputArray, k: &impl ToInputArray, r: &impl ToInputArray, interp_mode: i32, border_mode: i32, dst: &mut impl ToOutputArray, ) -> Result<Point>

Source§

impl Detail_SphericalWarperTraitConst for BoxedRefMut<'_, Detail_SphericalWarper>

Source§

fn as_raw_Detail_SphericalWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_SphericalWarperTraitConst for BoxedRefMut<'_, Detail_SphericalWarperGpu>

Source§

fn as_raw_Detail_SphericalWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_StereographicProjectorTrait for BoxedRefMut<'_, Detail_StereographicProjector>

Source§

fn as_raw_mut_Detail_StereographicProjector( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn map_forward( &mut self, x: f32, y: f32, u: &mut f32, v: &mut f32, ) -> Result<()>

Source§

fn map_backward( &mut self, u: f32, v: f32, x: &mut f32, y: &mut f32, ) -> Result<()>

Source§

impl Detail_StereographicProjectorTraitConst for BoxedRefMut<'_, Detail_StereographicProjector>

Source§

fn as_raw_Detail_StereographicProjector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_StereographicWarperTrait for BoxedRefMut<'_, Detail_StereographicWarper>

Source§

fn as_raw_mut_Detail_StereographicWarper( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl Detail_StereographicWarperTraitConst for BoxedRefMut<'_, Detail_StereographicWarper>

Source§

fn as_raw_Detail_StereographicWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_TransverseMercatorProjectorTrait for BoxedRefMut<'_, Detail_TransverseMercatorProjector>

Source§

fn as_raw_mut_Detail_TransverseMercatorProjector( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn map_forward( &mut self, x: f32, y: f32, u: &mut f32, v: &mut f32, ) -> Result<()>

Source§

fn map_backward( &mut self, u: f32, v: f32, x: &mut f32, y: &mut f32, ) -> Result<()>

Source§

impl Detail_TransverseMercatorProjectorTraitConst for BoxedRefMut<'_, Detail_TransverseMercatorProjector>

Source§

fn as_raw_Detail_TransverseMercatorProjector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_TransverseMercatorWarperTrait for BoxedRefMut<'_, Detail_TransverseMercatorWarper>

Source§

fn as_raw_mut_Detail_TransverseMercatorWarper( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl Detail_TransverseMercatorWarperTraitConst for BoxedRefMut<'_, Detail_TransverseMercatorWarper>

Source§

fn as_raw_Detail_TransverseMercatorWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Detail_VoronoiSeamFinderTrait for BoxedRefMut<'_, Detail_VoronoiSeamFinder>

Source§

fn as_raw_mut_Detail_VoronoiSeamFinder( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn find( &mut self, src: &Vector<UMat>, corners: &Vector<Point>, masks: &mut Vector<UMat>, ) -> Result<()>

Source§

fn find_1( &mut self, size: &Vector<Size>, corners: &Vector<Point>, masks: &mut Vector<UMat>, ) -> Result<()>

Source§

impl Detail_VoronoiSeamFinderTraitConst for BoxedRefMut<'_, Detail_VoronoiSeamFinder>

Source§

fn as_raw_Detail_VoronoiSeamFinder( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl DetectionBasedTrackerTrait for BoxedRefMut<'_, DetectionBasedTracker>

Source§

fn as_raw_mut_DetectionBasedTracker( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn run(&mut self) -> Result<bool>

Source§

fn stop(&mut self) -> Result<()>

Source§

fn reset_tracking(&mut self) -> Result<()>

Source§

fn process(&mut self, image_gray: &impl MatTraitConst) -> Result<()>

Source§

fn set_parameters( &mut self, params: &impl DetectionBasedTracker_ParametersTraitConst, ) -> Result<bool>

Source§

fn add_object(&mut self, location: Rect) -> Result<i32>

Source§

impl DetectionBasedTrackerTraitConst for BoxedRefMut<'_, DetectionBasedTracker>

Source§

fn as_raw_DetectionBasedTracker( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_parameters(&self) -> Result<DetectionBasedTracker_Parameters>

Source§

fn get_objects(&self, result: &mut Vector<Rect>) -> Result<()>

Source§

fn get_objects_1( &self, result: &mut Vector<DetectionBasedTracker_Object>, ) -> Result<()>

Source§

fn get_objects_2( &self, result: &mut Vector<DetectionBasedTracker_ExtObject>, ) -> Result<()>

Source§

impl DetectionBasedTracker_ExtObjectTrait for BoxedRefMut<'_, DetectionBasedTracker_ExtObject>

Source§

fn as_raw_mut_DetectionBasedTracker_ExtObject( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_id(&mut self, val: i32)

Source§

fn set_location(&mut self, val: Rect)

Source§

fn set_status(&mut self, val: DetectionBasedTracker_ObjectStatus)

Source§

impl DetectionBasedTracker_ExtObjectTraitConst for BoxedRefMut<'_, DetectionBasedTracker_ExtObject>

Source§

fn as_raw_DetectionBasedTracker_ExtObject( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn id(&self) -> i32

Source§

fn location(&self) -> Rect

Source§

fn status(&self) -> DetectionBasedTracker_ObjectStatus

Source§

impl DetectionBasedTracker_IDetectorTrait for BoxedRefMut<'_, DetectionBasedTracker_IDetector>

Source§

fn as_raw_mut_DetectionBasedTracker_IDetector( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn detect( &mut self, image: &impl MatTraitConst, objects: &mut Vector<Rect>, ) -> Result<()>

Source§

fn set_min_object_size(&mut self, min: Size) -> Result<()>

Source§

fn set_max_object_size(&mut self, max: Size) -> Result<()>

Source§

fn get_scale_factor(&mut self) -> Result<f32>

Source§

fn set_scale_factor(&mut self, value: f32) -> Result<()>

Source§

fn get_min_neighbours(&mut self) -> Result<i32>

Source§

fn set_min_neighbours(&mut self, value: i32) -> Result<()>

Source§

impl DetectionBasedTracker_IDetectorTraitConst for BoxedRefMut<'_, DetectionBasedTracker_IDetector>

Source§

fn as_raw_DetectionBasedTracker_IDetector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_min_object_size(&self) -> Result<Size>

Source§

fn get_max_object_size(&self) -> Result<Size>

Source§

impl DetectionBasedTracker_ParametersTrait for BoxedRefMut<'_, DetectionBasedTracker_Parameters>

Source§

fn as_raw_mut_DetectionBasedTracker_Parameters( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_max_track_lifetime(&mut self, val: i32)

Source§

fn set_min_detection_period(&mut self, val: i32)

Source§

impl DetectionBasedTracker_ParametersTraitConst for BoxedRefMut<'_, DetectionBasedTracker_Parameters>

Source§

fn as_raw_DetectionBasedTracker_Parameters( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn max_track_lifetime(&self) -> i32

Source§

fn min_detection_period(&self) -> i32

Source§

impl DetectionModelTrait for BoxedRefMut<'_, DetectionModel>

Source§

fn as_raw_mut_DetectionModel( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_nms_across_classes(&mut self, value: bool) -> Result<DetectionModel>

nmsAcrossClasses defaults to false, such that when non max suppression is used during the detect() function, it will do so per-class. This function allows you to toggle this behaviour. Read more
Source§

fn get_nms_across_classes(&mut self) -> Result<bool>

Getter for nmsAcrossClasses. This variable defaults to false, such that when non max suppression is used during the detect() function, it will do so only per-class
Source§

fn detect( &mut self, frame: &impl ToInputArray, class_ids: &mut Vector<i32>, confidences: &mut Vector<f32>, boxes: &mut Vector<Rect>, conf_threshold: f32, nms_threshold: f32, ) -> Result<()>

Given the @p input frame, create input blob, run net and return result detections. Read more
Source§

fn detect_def( &mut self, frame: &impl ToInputArray, class_ids: &mut Vector<i32>, confidences: &mut Vector<f32>, boxes: &mut Vector<Rect>, ) -> Result<()>

Given the @p input frame, create input blob, run net and return result detections. Read more
Source§

impl DetectionModelTraitConst for BoxedRefMut<'_, DetectionModel>

Source§

fn as_raw_DetectionModel( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl DetectionOutputLayerTrait for BoxedRefMut<'_, DetectionOutputLayer>

Source§

fn as_raw_mut_DetectionOutputLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl DetectionOutputLayerTraitConst for BoxedRefMut<'_, DetectionOutputLayer>

Source§

fn as_raw_DetectionOutputLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl DetectionROITrait for BoxedRefMut<'_, DetectionROI>

Source§

fn as_raw_mut_DetectionROI( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_scale(&mut self, val: f64)

scale(size) of the bounding box
Source§

fn set_locations(&mut self, val: Vector<Point>)

set of requested locations to be evaluated
Source§

fn set_confidences(&mut self, val: Vector<f64>)

vector that will contain confidence values for each location
Source§

impl DetectionROITraitConst for BoxedRefMut<'_, DetectionROI>

Source§

fn as_raw_DetectionROI(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn scale(&self) -> f64

scale(size) of the bounding box
Source§

fn locations(&self) -> Vector<Point>

set of requested locations to be evaluated
Source§

fn confidences(&self) -> Vector<f64>

vector that will contain confidence values for each location
Source§

impl DetectorParametersTrait for BoxedRefMut<'_, DetectorParameters>

Source§

fn as_raw_mut_DetectorParameters( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_adaptive_thresh_win_size_min(&mut self, val: i32)

minimum window size for adaptive thresholding before finding contours (default 3).
Source§

fn set_adaptive_thresh_win_size_max(&mut self, val: i32)

maximum window size for adaptive thresholding before finding contours (default 23).
Source§

fn set_adaptive_thresh_win_size_step(&mut self, val: i32)

increments from adaptiveThreshWinSizeMin to adaptiveThreshWinSizeMax during the thresholding (default 10).
Source§

fn set_adaptive_thresh_constant(&mut self, val: f64)

constant for adaptive thresholding before finding contours (default 7)
Source§

fn set_min_marker_perimeter_rate(&mut self, val: f64)

determine minimum perimeter for marker contour to be detected. Read more
Source§

fn set_max_marker_perimeter_rate(&mut self, val: f64)

determine maximum perimeter for marker contour to be detected. Read more
Source§

fn set_polygonal_approx_accuracy_rate(&mut self, val: f64)

minimum accuracy during the polygonal approximation process to determine which contours are squares. (default 0.03)
Source§

fn set_min_corner_distance_rate(&mut self, val: f64)

minimum distance between corners for detected markers relative to its perimeter (default 0.05)
Source§

fn set_min_distance_to_border(&mut self, val: i32)

minimum distance of any corner to the image border for detected markers (in pixels) (default 3)
Source§

fn set_min_marker_distance_rate(&mut self, val: f64)

minimum average distance between the corners of the two markers to be grouped (default 0.125). Read more
Source§

fn set_min_group_distance(&mut self, val: f32)

minimum average distance between the corners of the two markers in group to add them to the list of candidates Read more
Source§

fn set_corner_refinement_method(&mut self, val: i32)

default value CORNER_REFINE_NONE
Source§

fn set_corner_refinement_win_size(&mut self, val: i32)

maximum window size for the corner refinement process (in pixels) (default 5). Read more
Source§

fn set_relative_corner_refinment_win_size(&mut self, val: f32)

Dynamic window size for corner refinement relative to Aruco module size (default 0.3). Read more
Source§

fn set_corner_refinement_max_iterations(&mut self, val: i32)

maximum number of iterations for stop criteria of the corner refinement process (default 30).
Source§

fn set_corner_refinement_min_accuracy(&mut self, val: f64)

minimum error for the stop cristeria of the corner refinement process (default: 0.1)
Source§

fn set_marker_border_bits(&mut self, val: i32)

number of bits of the marker border, i.e. marker border width (default 1).
Source§

fn set_perspective_remove_pixel_per_cell(&mut self, val: i32)

number of bits (per dimension) for each cell of the marker when removing the perspective (default 4).
Source§

fn set_perspective_remove_ignored_margin_per_cell(&mut self, val: f64)

width of the margin of pixels on each cell not considered for the determination of the cell bit. Read more
Source§

fn set_max_erroneous_bits_in_border_rate(&mut self, val: f64)

maximum number of accepted erroneous bits in the border (i.e. number of allowed white bits in the border). Read more
Source§

fn set_min_otsu_std_dev(&mut self, val: f64)

minimun standard deviation in pixels values during the decodification step to apply Otsu thresholding (otherwise, all the bits are set to 0 or 1 depending on mean higher than 128 or not) (default 5.0)
Source§

fn set_error_correction_rate(&mut self, val: f64)

error correction rate respect to the maximun error correction capability for each dictionary (default 0.6).
Source§

fn set_april_tag_quad_decimate(&mut self, val: f32)

April :: User-configurable parameters. Read more
Source§

fn set_april_tag_quad_sigma(&mut self, val: f32)

what Gaussian blur should be applied to the segmented image (used for quad detection?)
Source§

fn set_april_tag_min_cluster_pixels(&mut self, val: i32)

reject quads containing too few pixels (default 5).
Source§

fn set_april_tag_max_nmaxima(&mut self, val: i32)

how many corner candidates to consider when segmenting a group of pixels into a quad (default 10).
Source§

fn set_april_tag_critical_rad(&mut self, val: f32)

reject quads where pairs of edges have angles that are close to straight or close to 180 degrees. Read more
Source§

fn set_april_tag_max_line_fit_mse(&mut self, val: f32)

when fitting lines to the contours, what is the maximum mean squared error
Source§

fn set_april_tag_min_white_black_diff(&mut self, val: i32)

add an extra check that the white model must be (overall) brighter than the black model. Read more
Source§

fn set_april_tag_deglitch(&mut self, val: i32)

should the thresholded image be deglitched? Only useful for very noisy images (default 0).
Source§

fn set_detect_inverted_marker(&mut self, val: bool)

to check if there is a white marker. Read more
Source§

fn set_use_aruco3_detection(&mut self, val: bool)

enable the new and faster Aruco detection strategy. Read more
Source§

fn set_min_side_length_canonical_img(&mut self, val: i32)

minimum side length of a marker in the canonical image. Latter is the binarized image in which contours are searched.
Source§

fn set_min_marker_length_ratio_original_img(&mut self, val: f32)

range [0,1], eq (2) from paper. The parameter tau_i has a direct influence on the processing speed.
Source§

fn read_detector_parameters( &mut self, fn_: &impl FileNodeTraitConst, ) -> Result<bool>

Read a new set of DetectorParameters from FileNode (use FileStorage.root()).
Source§

fn write_detector_parameters( &mut self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<bool>

Write a set of DetectorParameters to FileStorage Read more
Source§

fn write_detector_parameters_def( &mut self, fs: &mut impl FileStorageTrait, ) -> Result<bool>

Write a set of DetectorParameters to FileStorage Read more
Source§

impl DetectorParametersTraitConst for BoxedRefMut<'_, DetectorParameters>

Source§

fn as_raw_DetectorParameters( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn adaptive_thresh_win_size_min(&self) -> i32

minimum window size for adaptive thresholding before finding contours (default 3).
Source§

fn adaptive_thresh_win_size_max(&self) -> i32

maximum window size for adaptive thresholding before finding contours (default 23).
Source§

fn adaptive_thresh_win_size_step(&self) -> i32

increments from adaptiveThreshWinSizeMin to adaptiveThreshWinSizeMax during the thresholding (default 10).
Source§

fn adaptive_thresh_constant(&self) -> f64

constant for adaptive thresholding before finding contours (default 7)
Source§

fn min_marker_perimeter_rate(&self) -> f64

determine minimum perimeter for marker contour to be detected. Read more
Source§

fn max_marker_perimeter_rate(&self) -> f64

determine maximum perimeter for marker contour to be detected. Read more
Source§

fn polygonal_approx_accuracy_rate(&self) -> f64

minimum accuracy during the polygonal approximation process to determine which contours are squares. (default 0.03)
Source§

fn min_corner_distance_rate(&self) -> f64

minimum distance between corners for detected markers relative to its perimeter (default 0.05)
Source§

fn min_distance_to_border(&self) -> i32

minimum distance of any corner to the image border for detected markers (in pixels) (default 3)
Source§

fn min_marker_distance_rate(&self) -> f64

minimum average distance between the corners of the two markers to be grouped (default 0.125). Read more
Source§

fn min_group_distance(&self) -> f32

minimum average distance between the corners of the two markers in group to add them to the list of candidates Read more
Source§

fn corner_refinement_method(&self) -> i32

default value CORNER_REFINE_NONE
Source§

fn corner_refinement_win_size(&self) -> i32

maximum window size for the corner refinement process (in pixels) (default 5). Read more
Source§

fn relative_corner_refinment_win_size(&self) -> f32

Dynamic window size for corner refinement relative to Aruco module size (default 0.3). Read more
Source§

fn corner_refinement_max_iterations(&self) -> i32

maximum number of iterations for stop criteria of the corner refinement process (default 30).
Source§

fn corner_refinement_min_accuracy(&self) -> f64

minimum error for the stop cristeria of the corner refinement process (default: 0.1)
Source§

fn marker_border_bits(&self) -> i32

number of bits of the marker border, i.e. marker border width (default 1).
Source§

fn perspective_remove_pixel_per_cell(&self) -> i32

number of bits (per dimension) for each cell of the marker when removing the perspective (default 4).
Source§

fn perspective_remove_ignored_margin_per_cell(&self) -> f64

width of the margin of pixels on each cell not considered for the determination of the cell bit. Read more
Source§

fn max_erroneous_bits_in_border_rate(&self) -> f64

maximum number of accepted erroneous bits in the border (i.e. number of allowed white bits in the border). Read more
Source§

fn min_otsu_std_dev(&self) -> f64

minimun standard deviation in pixels values during the decodification step to apply Otsu thresholding (otherwise, all the bits are set to 0 or 1 depending on mean higher than 128 or not) (default 5.0)
Source§

fn error_correction_rate(&self) -> f64

error correction rate respect to the maximun error correction capability for each dictionary (default 0.6).
Source§

fn april_tag_quad_decimate(&self) -> f32

April :: User-configurable parameters. Read more
Source§

fn april_tag_quad_sigma(&self) -> f32

what Gaussian blur should be applied to the segmented image (used for quad detection?)
Source§

fn april_tag_min_cluster_pixels(&self) -> i32

reject quads containing too few pixels (default 5).
Source§

fn april_tag_max_nmaxima(&self) -> i32

how many corner candidates to consider when segmenting a group of pixels into a quad (default 10).
Source§

fn april_tag_critical_rad(&self) -> f32

reject quads where pairs of edges have angles that are close to straight or close to 180 degrees. Read more
Source§

fn april_tag_max_line_fit_mse(&self) -> f32

when fitting lines to the contours, what is the maximum mean squared error
Source§

fn april_tag_min_white_black_diff(&self) -> i32

add an extra check that the white model must be (overall) brighter than the black model. Read more
Source§

fn april_tag_deglitch(&self) -> i32

should the thresholded image be deglitched? Only useful for very noisy images (default 0).
Source§

fn detect_inverted_marker(&self) -> bool

to check if there is a white marker. Read more
Source§

fn use_aruco3_detection(&self) -> bool

enable the new and faster Aruco detection strategy. Read more
Source§

fn min_side_length_canonical_img(&self) -> i32

minimum side length of a marker in the canonical image. Latter is the binarized image in which contours are searched.
Source§

fn min_marker_length_ratio_original_img(&self) -> f32

range [0,1], eq (2) from paper. The parameter tau_i has a direct influence on the processing speed.
Source§

impl DeviceInfoTrait for BoxedRefMut<'_, DeviceInfo>

Source§

fn as_raw_mut_DeviceInfo( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl DeviceInfoTraitConst for BoxedRefMut<'_, DeviceInfo>

Source§

fn as_raw_DeviceInfo(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn device_id(&self) -> Result<i32>

Returns system index of the CUDA device starting with 0.
Source§

fn name(&self) -> Result<String>

ASCII string identifying device
Source§

fn total_global_mem(&self) -> Result<size_t>

global memory available on device in bytes
Source§

fn shared_mem_per_block(&self) -> Result<size_t>

shared memory available per block in bytes
Source§

fn regs_per_block(&self) -> Result<i32>

32-bit registers available per block
Source§

fn warp_size(&self) -> Result<i32>

warp size in threads
Source§

fn mem_pitch(&self) -> Result<size_t>

maximum pitch in bytes allowed by memory copies
Source§

fn max_threads_per_block(&self) -> Result<i32>

maximum number of threads per block
Source§

fn max_threads_dim(&self) -> Result<Vec3i>

maximum size of each dimension of a block
Source§

fn max_grid_size(&self) -> Result<Vec3i>

maximum size of each dimension of a grid
Source§

fn clock_rate(&self) -> Result<i32>

clock frequency in kilohertz
Source§

fn total_const_mem(&self) -> Result<size_t>

constant memory available on device in bytes
Source§

fn major_version(&self) -> Result<i32>

major compute capability
Source§

fn minor_version(&self) -> Result<i32>

minor compute capability
Source§

fn texture_alignment(&self) -> Result<size_t>

alignment requirement for textures
Source§

fn texture_pitch_alignment(&self) -> Result<size_t>

pitch alignment requirement for texture references bound to pitched memory
Source§

fn multi_processor_count(&self) -> Result<i32>

number of multiprocessors on device
Source§

fn kernel_exec_timeout_enabled(&self) -> Result<bool>

specified whether there is a run time limit on kernels
Source§

fn integrated(&self) -> Result<bool>

device is integrated as opposed to discrete
Source§

fn can_map_host_memory(&self) -> Result<bool>

device can map host memory with cudaHostAlloc/cudaHostGetDevicePointer
Source§

fn compute_mode(&self) -> Result<DeviceInfo_ComputeMode>

compute mode
Source§

fn max_texture1_d(&self) -> Result<i32>

maximum 1D texture size
Source§

fn max_texture1_d_mipmap(&self) -> Result<i32>

maximum 1D mipmapped texture size
Source§

fn max_texture1_d_linear(&self) -> Result<i32>

maximum size for 1D textures bound to linear memory
Source§

fn max_texture_2d(&self) -> Result<Vec2i>

maximum 2D texture dimensions
Source§

fn max_texture_2d_mipmap(&self) -> Result<Vec2i>

maximum 2D mipmapped texture dimensions
Source§

fn max_texture_2d_linear(&self) -> Result<Vec3i>

maximum dimensions (width, height, pitch) for 2D textures bound to pitched memory
Source§

fn max_texture_2d_gather(&self) -> Result<Vec2i>

maximum 2D texture dimensions if texture gather operations have to be performed
Source§

fn max_texture_3d(&self) -> Result<Vec3i>

maximum 3D texture dimensions
Source§

fn max_texture_cubemap(&self) -> Result<i32>

maximum Cubemap texture dimensions
Source§

fn max_texture1_d_layered(&self) -> Result<Vec2i>

maximum 1D layered texture dimensions
Source§

fn max_texture_2d_layered(&self) -> Result<Vec3i>

maximum 2D layered texture dimensions
Source§

fn max_texture_cubemap_layered(&self) -> Result<Vec2i>

maximum Cubemap layered texture dimensions
Source§

fn max_surface1_d(&self) -> Result<i32>

maximum 1D surface size
Source§

fn max_surface_2d(&self) -> Result<Vec2i>

maximum 2D surface dimensions
Source§

fn max_surface_3d(&self) -> Result<Vec3i>

maximum 3D surface dimensions
Source§

fn max_surface1_d_layered(&self) -> Result<Vec2i>

maximum 1D layered surface dimensions
Source§

fn max_surface_2d_layered(&self) -> Result<Vec3i>

maximum 2D layered surface dimensions
Source§

fn max_surface_cubemap(&self) -> Result<i32>

maximum Cubemap surface dimensions
Source§

fn max_surface_cubemap_layered(&self) -> Result<Vec2i>

maximum Cubemap layered surface dimensions
Source§

fn surface_alignment(&self) -> Result<size_t>

alignment requirements for surfaces
Source§

fn concurrent_kernels(&self) -> Result<bool>

device can possibly execute multiple kernels concurrently
Source§

fn ecc_enabled(&self) -> Result<bool>

device has ECC support enabled
Source§

fn pci_bus_id(&self) -> Result<i32>

PCI bus ID of the device
Source§

fn pci_device_id(&self) -> Result<i32>

PCI device ID of the device
Source§

fn pci_domain_id(&self) -> Result<i32>

PCI domain ID of the device
Source§

fn tcc_driver(&self) -> Result<bool>

true if device is a Tesla device using TCC driver, false otherwise
Source§

fn async_engine_count(&self) -> Result<i32>

number of asynchronous engines
Source§

fn unified_addressing(&self) -> Result<bool>

device shares a unified address space with the host
Source§

fn memory_clock_rate(&self) -> Result<i32>

peak memory clock frequency in kilohertz
Source§

fn memory_bus_width(&self) -> Result<i32>

global memory bus width in bits
Source§

fn l2_cache_size(&self) -> Result<i32>

size of L2 cache in bytes
Source§

fn max_threads_per_multi_processor(&self) -> Result<i32>

maximum resident threads per multiprocessor
Source§

fn query_memory( &self, total_memory: &mut size_t, free_memory: &mut size_t, ) -> Result<()>

gets free and total device memory
Source§

fn free_memory(&self) -> Result<size_t>

Source§

fn total_memory(&self) -> Result<size_t>

Source§

fn supports(&self, feature_set: FeatureSet) -> Result<bool>

Provides information on CUDA feature support. Read more
Source§

fn is_compatible(&self) -> Result<bool>

Checks the CUDA module and device compatibility. Read more
Source§

impl DeviceTrait for BoxedRefMut<'_, Device>

Source§

fn as_raw_mut_Device( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set(&mut self, d: &impl DeviceTraitConst) -> Result<()>

Source§

fn set_1(&mut self, d: Device)

Source§

unsafe fn set_2(&mut self, d: *mut c_void) -> Result<()>

Source§

impl DeviceTraitConst for BoxedRefMut<'_, Device>

Source§

fn as_raw_Device(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn name(&self) -> Result<String>

Source§

fn extensions(&self) -> Result<String>

Source§

fn is_extension_supported(&self, extension_name: &str) -> Result<bool>

Source§

fn version(&self) -> Result<String>

Source§

fn vendor_name(&self) -> Result<String>

Source§

fn opencl_c_version(&self) -> Result<String>

Source§

fn opencl_version(&self) -> Result<String>

Source§

fn device_version_major(&self) -> Result<i32>

Source§

fn device_version_minor(&self) -> Result<i32>

Source§

fn driver_version(&self) -> Result<String>

Source§

fn ptr(&self) -> Result<*mut c_void>

Source§

fn typ(&self) -> Result<i32>

Source§

fn address_bits(&self) -> Result<i32>

Source§

fn available(&self) -> Result<bool>

Source§

fn compiler_available(&self) -> Result<bool>

Source§

fn linker_available(&self) -> Result<bool>

Source§

fn double_fp_config(&self) -> Result<i32>

Source§

fn single_fp_config(&self) -> Result<i32>

Source§

fn half_fp_config(&self) -> Result<i32>

Source§

fn has_fp64(&self) -> Result<bool>

true if ‘cl_khr_fp64’ extension is available
Source§

fn has_fp16(&self) -> Result<bool>

true if ‘cl_khr_fp16’ extension is available
Source§

fn endian_little(&self) -> Result<bool>

Source§

fn error_correction_support(&self) -> Result<bool>

Source§

fn execution_capabilities(&self) -> Result<i32>

Source§

fn global_mem_cache_size(&self) -> Result<size_t>

Source§

fn global_mem_cache_type(&self) -> Result<i32>

Source§

fn global_mem_cache_line_size(&self) -> Result<i32>

Source§

fn global_mem_size(&self) -> Result<size_t>

Source§

fn local_mem_size(&self) -> Result<size_t>

Source§

fn local_mem_type(&self) -> Result<i32>

Source§

fn host_unified_memory(&self) -> Result<bool>

Source§

fn image_support(&self) -> Result<bool>

Source§

fn image_from_buffer_support(&self) -> Result<bool>

Source§

fn image_pitch_alignment(&self) -> Result<u32>

Source§

fn image_base_address_alignment(&self) -> Result<u32>

Source§

fn intel_subgroups_support(&self) -> Result<bool>

deprecated, use isExtensionSupported() method (probably with “cl_khr_subgroups” value)
Source§

fn image_2d_max_width(&self) -> Result<size_t>

Source§

fn image_2d_max_height(&self) -> Result<size_t>

Source§

fn image_3d_max_width(&self) -> Result<size_t>

Source§

fn image_3d_max_height(&self) -> Result<size_t>

Source§

fn image_3d_max_depth(&self) -> Result<size_t>

Source§

fn image_max_buffer_size(&self) -> Result<size_t>

Source§

fn image_max_array_size(&self) -> Result<size_t>

Source§

fn vendor_id(&self) -> Result<i32>

Source§

fn is_amd(&self) -> Result<bool>

Source§

fn is_intel(&self) -> Result<bool>

Source§

fn is_n_vidia(&self) -> Result<bool>

Source§

fn max_clock_frequency(&self) -> Result<i32>

Source§

fn max_compute_units(&self) -> Result<i32>

Source§

fn max_constant_args(&self) -> Result<i32>

Source§

fn max_constant_buffer_size(&self) -> Result<size_t>

Source§

fn max_mem_alloc_size(&self) -> Result<size_t>

Source§

fn max_parameter_size(&self) -> Result<size_t>

Source§

fn max_read_image_args(&self) -> Result<i32>

Source§

fn max_write_image_args(&self) -> Result<i32>

Source§

fn max_samplers(&self) -> Result<i32>

Source§

fn max_work_group_size(&self) -> Result<size_t>

Source§

fn max_work_item_dims(&self) -> Result<i32>

Source§

fn max_work_item_sizes(&self, unnamed: &mut size_t) -> Result<()>

Source§

fn mem_base_addr_align(&self) -> Result<i32>

Source§

fn native_vector_width_char(&self) -> Result<i32>

Source§

fn native_vector_width_short(&self) -> Result<i32>

Source§

fn native_vector_width_int(&self) -> Result<i32>

Source§

fn native_vector_width_long(&self) -> Result<i32>

Source§

fn native_vector_width_float(&self) -> Result<i32>

Source§

fn native_vector_width_double(&self) -> Result<i32>

Source§

fn native_vector_width_half(&self) -> Result<i32>

Source§

fn preferred_vector_width_char(&self) -> Result<i32>

Source§

fn preferred_vector_width_short(&self) -> Result<i32>

Source§

fn preferred_vector_width_int(&self) -> Result<i32>

Source§

fn preferred_vector_width_long(&self) -> Result<i32>

Source§

fn preferred_vector_width_float(&self) -> Result<i32>

Source§

fn preferred_vector_width_double(&self) -> Result<i32>

Source§

fn preferred_vector_width_half(&self) -> Result<i32>

Source§

fn printf_buffer_size(&self) -> Result<size_t>

Source§

fn profiling_timer_resolution(&self) -> Result<size_t>

Source§

fn empty(&self) -> Result<bool>

Source§

impl DictTrait for BoxedRefMut<'_, Dict>

Source§

fn as_raw_mut_Dict( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

unsafe fn ptr_mut(&mut self, key: &str) -> Result<DictValue>

If the @p key in the dictionary then returns pointer to its value, else returns NULL.
Source§

fn set_str(&mut self, key: &str, value: &str) -> Result<String>

Sets new @p value for the @p key, or adds new key-value pair into the dictionary.
Source§

fn set( &mut self, key: &str, value: &impl DictValueTraitConst, ) -> Result<DictValue>

Sets new @p value for the @p key, or adds new key-value pair into the dictionary.
Source§

fn set_f64(&mut self, key: &str, value: &f64) -> Result<f64>

Sets new @p value for the @p key, or adds new key-value pair into the dictionary.
Source§

fn set_i64(&mut self, key: &str, value: &i64) -> Result<i64>

Sets new @p value for the @p key, or adds new key-value pair into the dictionary.
Source§

fn erase(&mut self, key: &str) -> Result<()>

Erase @p key from the dictionary.
Source§

impl DictTrait for BoxedRefMut<'_, LayerParams>

Source§

fn as_raw_mut_Dict( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

unsafe fn ptr_mut(&mut self, key: &str) -> Result<DictValue>

If the @p key in the dictionary then returns pointer to its value, else returns NULL.
Source§

fn set_str(&mut self, key: &str, value: &str) -> Result<String>

Sets new @p value for the @p key, or adds new key-value pair into the dictionary.
Source§

fn set( &mut self, key: &str, value: &impl DictValueTraitConst, ) -> Result<DictValue>

Sets new @p value for the @p key, or adds new key-value pair into the dictionary.
Source§

fn set_f64(&mut self, key: &str, value: &f64) -> Result<f64>

Sets new @p value for the @p key, or adds new key-value pair into the dictionary.
Source§

fn set_i64(&mut self, key: &str, value: &i64) -> Result<i64>

Sets new @p value for the @p key, or adds new key-value pair into the dictionary.
Source§

fn erase(&mut self, key: &str) -> Result<()>

Erase @p key from the dictionary.
Source§

impl DictTraitConst for BoxedRefMut<'_, Dict>

Source§

fn as_raw_Dict(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn has(&self, key: &str) -> Result<bool>

Checks a presence of the @p key in the dictionary.
Source§

unsafe fn ptr(&self, key: &str) -> Result<DictValue>

If the @p key in the dictionary then returns pointer to its value, else returns NULL. Read more
Source§

fn get(&self, key: &str) -> Result<DictValue>

If the @p key in the dictionary then returns its value, else an error will be generated.
Source§

impl DictTraitConst for BoxedRefMut<'_, LayerParams>

Source§

fn as_raw_Dict(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn has(&self, key: &str) -> Result<bool>

Checks a presence of the @p key in the dictionary.
Source§

unsafe fn ptr(&self, key: &str) -> Result<DictValue>

If the @p key in the dictionary then returns pointer to its value, else returns NULL. Read more
Source§

fn get(&self, key: &str) -> Result<DictValue>

If the @p key in the dictionary then returns its value, else an error will be generated.
Source§

impl DictValueTrait for BoxedRefMut<'_, DictValue>

Source§

fn as_raw_mut_DictValue( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set(&mut self, r: &impl DictValueTraitConst) -> Result<()>

Source§

impl DictValueTraitConst for BoxedRefMut<'_, DictValue>

Source§

fn as_raw_DictValue(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_str(&self, idx: i32) -> Result<String>

C++ default parameters Read more
Source§

fn get_str_def(&self) -> Result<String>

Source§

fn get_f64(&self, idx: i32) -> Result<f64>

C++ default parameters Read more
Source§

fn get_f64_def(&self) -> Result<f64>

Source§

fn get_i32(&self, idx: i32) -> Result<i32>

C++ default parameters Read more
Source§

fn get_i32_def(&self) -> Result<i32>

Source§

fn get_i64(&self, idx: i32) -> Result<i64>

C++ default parameters Read more
Source§

fn get_i64_def(&self) -> Result<i64>

Source§

fn size(&self) -> Result<i32>

Source§

fn is_int(&self) -> Result<bool>

Source§

fn is_string(&self) -> Result<bool>

Source§

fn is_real(&self) -> Result<bool>

Source§

fn get_int_value(&self, idx: i32) -> Result<i32>

C++ default parameters Read more
Source§

fn get_int_value_def(&self) -> Result<i32>

Source§

fn get_real_value(&self, idx: i32) -> Result<f64>

C++ default parameters Read more
Source§

fn get_real_value_def(&self) -> Result<f64>

Source§

fn get_string_value(&self, idx: i32) -> Result<String>

C++ default parameters Read more
Source§

fn get_string_value_def(&self) -> Result<String>

Source§

impl DictionaryTrait for BoxedRefMut<'_, Dictionary>

Source§

fn as_raw_mut_Dictionary( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_bytes_list(&mut self, val: Mat)

marker code information. See class description for more details
Source§

fn set_marker_size(&mut self, val: i32)

number of bits per dimension
Source§

fn set_max_correction_bits(&mut self, val: i32)

maximum number of bits that can be corrected
Source§

fn read_dictionary(&mut self, fn_: &impl FileNodeTraitConst) -> Result<bool>

Read a new dictionary from FileNode. Read more
Source§

fn write_dictionary( &mut self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>

Write a dictionary to FileStorage, format is the same as in readDictionary(). Read more
Source§

fn write_dictionary_def(&mut self, fs: &mut impl FileStorageTrait) -> Result<()>

Write a dictionary to FileStorage, format is the same as in readDictionary(). Read more
Source§

impl DictionaryTraitConst for BoxedRefMut<'_, Dictionary>

Source§

fn as_raw_Dictionary(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn bytes_list(&self) -> Mat

marker code information. See class description for more details
Source§

fn marker_size(&self) -> i32

number of bits per dimension
Source§

fn max_correction_bits(&self) -> i32

maximum number of bits that can be corrected
Source§

fn identify( &self, only_bits: &impl MatTraitConst, idx: &mut i32, rotation: &mut i32, max_correction_rate: f64, ) -> Result<bool>

Given a matrix of bits. Returns whether if marker is identified or not. Read more
Source§

fn get_distance_to_id( &self, bits: &impl ToInputArray, id: i32, all_rotations: bool, ) -> Result<i32>

Returns Hamming distance of the input bits to the specific id. Read more
Source§

fn get_distance_to_id_def( &self, bits: &impl ToInputArray, id: i32, ) -> Result<i32>

Returns Hamming distance of the input bits to the specific id. Read more
Source§

fn generate_image_marker( &self, id: i32, side_pixels: i32, _img: &mut impl ToOutputArray, border_bits: i32, ) -> Result<()>

Generate a canonical marker image Read more
Source§

fn generate_image_marker_def( &self, id: i32, side_pixels: i32, _img: &mut impl ToOutputArray, ) -> Result<()>

Generate a canonical marker image Read more
Source§

impl DisparityFilterTrait for BoxedRefMut<'_, DisparityFilter>

Source§

fn as_raw_mut_DisparityFilter( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn filter( &mut self, disparity_map_left: &impl ToInputArray, left_view: &impl ToInputArray, filtered_disparity_map: &mut impl ToOutputArray, disparity_map_right: &impl ToInputArray, roi: Rect, right_view: &impl ToInputArray, ) -> Result<()>

Apply filtering to the disparity map. Read more
Source§

fn filter_def( &mut self, disparity_map_left: &impl ToInputArray, left_view: &impl ToInputArray, filtered_disparity_map: &mut impl ToOutputArray, ) -> Result<()>

Apply filtering to the disparity map. Read more
Source§

impl DisparityFilterTrait for BoxedRefMut<'_, DisparityWLSFilter>

Source§

fn as_raw_mut_DisparityFilter( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn filter( &mut self, disparity_map_left: &impl ToInputArray, left_view: &impl ToInputArray, filtered_disparity_map: &mut impl ToOutputArray, disparity_map_right: &impl ToInputArray, roi: Rect, right_view: &impl ToInputArray, ) -> Result<()>

Apply filtering to the disparity map. Read more
Source§

fn filter_def( &mut self, disparity_map_left: &impl ToInputArray, left_view: &impl ToInputArray, filtered_disparity_map: &mut impl ToOutputArray, ) -> Result<()>

Apply filtering to the disparity map. Read more
Source§

impl DisparityFilterTraitConst for BoxedRefMut<'_, DisparityFilter>

Source§

fn as_raw_DisparityFilter( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl DisparityFilterTraitConst for BoxedRefMut<'_, DisparityWLSFilter>

Source§

fn as_raw_DisparityFilter( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl DisparityWLSFilterTrait for BoxedRefMut<'_, DisparityWLSFilter>

Source§

fn as_raw_mut_DisparityWLSFilter( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn get_lambda(&mut self) -> Result<f64>

Lambda is a parameter defining the amount of regularization during filtering. Larger values force filtered disparity map edges to adhere more to source image edges. Typical value is 8000.
Source§

fn set_lambda(&mut self, _lambda: f64) -> Result<()>

See also Read more
Source§

fn get_sigma_color(&mut self) -> Result<f64>

SigmaColor is a parameter defining how sensitive the filtering process is to source image edges. Large values can lead to disparity leakage through low-contrast edges. Small values can make the filter too sensitive to noise and textures in the source image. Typical values range from 0.8 to 2.0.
Source§

fn set_sigma_color(&mut self, _sigma_color: f64) -> Result<()>

See also Read more
Source§

fn get_lr_cthresh(&mut self) -> Result<i32>

LRCthresh is a threshold of disparity difference used in left-right-consistency check during confidence map computation. The default value of 24 (1.5 pixels) is virtually always good enough.
Source§

fn set_lr_cthresh(&mut self, _lrc_thresh: i32) -> Result<()>

See also Read more
Source§

fn get_depth_discontinuity_radius(&mut self) -> Result<i32>

DepthDiscontinuityRadius is a parameter used in confidence computation. It defines the size of low-confidence regions around depth discontinuities.
Source§

fn set_depth_discontinuity_radius(&mut self, _disc_radius: i32) -> Result<()>

See also Read more
Source§

fn get_confidence_map(&mut self) -> Result<Mat>

Get the confidence map that was used in the last filter call. It is a CV_32F one-channel image with values ranging from 0.0 (totally untrusted regions of the raw disparity map) to 255.0 (regions containing correct disparity values with a high degree of confidence).
Source§

fn get_roi(&mut self) -> Result<Rect>

Get the ROI used in the last filter call
Source§

impl DisparityWLSFilterTraitConst for BoxedRefMut<'_, DisparityWLSFilter>

Source§

fn as_raw_DisparityWLSFilter( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl DnnSuperResImplTrait for BoxedRefMut<'_, DnnSuperResImpl>

Source§

fn as_raw_mut_DnnSuperResImpl( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn read_model(&mut self, path: &str) -> Result<()>

Read the model from the given path Read more
Source§

fn read_model_1(&mut self, weights: &str, definition: &str) -> Result<()>

Read the model from the given path Read more
Source§

fn set_model(&mut self, algo: &str, scale: i32) -> Result<()>

Set desired model Read more
Source§

fn set_preferable_backend(&mut self, backend_id: i32) -> Result<()>

Set computation backend
Source§

fn set_preferable_target(&mut self, target_id: i32) -> Result<()>

Set computation target
Source§

fn upsample( &mut self, img: &impl ToInputArray, result: &mut impl ToOutputArray, ) -> Result<()>

Upsample via neural network Read more
Source§

fn upsample_multioutput( &mut self, img: &impl ToInputArray, imgs_new: &mut Vector<Mat>, scale_factors: &Vector<i32>, node_names: &Vector<String>, ) -> Result<()>

Upsample via neural network of multiple outputs Read more
Source§

fn get_scale(&mut self) -> Result<i32>

Returns the scale factor of the model: Read more
Source§

fn get_algorithm(&mut self) -> Result<String>

Returns the scale factor of the model: Read more
Source§

impl DnnSuperResImplTraitConst for BoxedRefMut<'_, DnnSuperResImpl>

Source§

fn as_raw_DnnSuperResImpl( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl DownhillSolverTrait for BoxedRefMut<'_, DownhillSolver>

Source§

fn as_raw_mut_DownhillSolver( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_init_step(&mut self, step: &impl ToInputArray) -> Result<()>

Sets the initial step that will be used in downhill simplex algorithm. Read more
Source§

impl DownhillSolverTraitConst for BoxedRefMut<'_, DownhillSolver>

Source§

fn as_raw_DownhillSolver( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_init_step(&self, step: &mut impl ToOutputArray) -> Result<()>

Returns the initial step that will be used in downhill simplex algorithm. Read more
Source§

impl DualTVL1OpticalFlowTrait for BoxedRefMut<'_, DualTVL1OpticalFlow>

Source§

fn as_raw_mut_DualTVL1OpticalFlow( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_tau(&mut self, val: f64) -> Result<()>

Time step of the numerical scheme Read more
Source§

fn set_lambda(&mut self, val: f64) -> Result<()>

Weight parameter for the data term, attachment parameter Read more
Source§

fn set_theta(&mut self, val: f64) -> Result<()>

Weight parameter for (u - v)^2, tightness parameter Read more
Source§

fn set_gamma(&mut self, val: f64) -> Result<()>

coefficient for additional illumination variation term Read more
Source§

fn set_scales_number(&mut self, val: i32) -> Result<()>

Number of scales used to create the pyramid of images Read more
Source§

fn set_warpings_number(&mut self, val: i32) -> Result<()>

Number of warpings per scale Read more
Source§

fn set_epsilon(&mut self, val: f64) -> Result<()>

Stopping criterion threshold used in the numerical scheme, which is a trade-off between precision and running time Read more
Source§

fn set_inner_iterations(&mut self, val: i32) -> Result<()>

Inner iterations (between outlier filtering) used in the numerical scheme Read more
Source§

fn set_outer_iterations(&mut self, val: i32) -> Result<()>

Outer iterations (number of inner loops) used in the numerical scheme Read more
Source§

fn set_use_initial_flow(&mut self, val: bool) -> Result<()>

Use initial flow Read more
Source§

fn set_scale_step(&mut self, val: f64) -> Result<()>

Step between scales (<1) Read more
Source§

fn set_median_filtering(&mut self, val: i32) -> Result<()>

Median filter kernel size (1 = no filter) (3 or 5) Read more
Source§

impl DualTVL1OpticalFlowTraitConst for BoxedRefMut<'_, DualTVL1OpticalFlow>

Source§

fn as_raw_DualTVL1OpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_tau(&self) -> Result<f64>

Time step of the numerical scheme Read more
Source§

fn get_lambda(&self) -> Result<f64>

Weight parameter for the data term, attachment parameter Read more
Source§

fn get_theta(&self) -> Result<f64>

Weight parameter for (u - v)^2, tightness parameter Read more
Source§

fn get_gamma(&self) -> Result<f64>

coefficient for additional illumination variation term Read more
Source§

fn get_scales_number(&self) -> Result<i32>

Number of scales used to create the pyramid of images Read more
Source§

fn get_warpings_number(&self) -> Result<i32>

Number of warpings per scale Read more
Source§

fn get_epsilon(&self) -> Result<f64>

Stopping criterion threshold used in the numerical scheme, which is a trade-off between precision and running time Read more
Source§

fn get_inner_iterations(&self) -> Result<i32>

Inner iterations (between outlier filtering) used in the numerical scheme Read more
Source§

fn get_outer_iterations(&self) -> Result<i32>

Outer iterations (number of inner loops) used in the numerical scheme Read more
Source§

fn get_use_initial_flow(&self) -> Result<bool>

Use initial flow Read more
Source§

fn get_scale_step(&self) -> Result<f64>

Step between scales (<1) Read more
Source§

fn get_median_filtering(&self) -> Result<i32>

Median filter kernel size (1 = no filter) (3 or 5) Read more
Source§

impl Dynafu_DynaFuTrait for BoxedRefMut<'_, Dynafu_DynaFu>

Source§

fn as_raw_mut_Dynafu_DynaFu( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn reset(&mut self) -> Result<()>

Resets the algorithm Read more
Source§

fn update(&mut self, depth: &impl ToInputArray) -> Result<bool>

Process next depth frame Read more
Source§

fn render_surface( &mut self, depth_image: &mut impl ToOutputArray, vert_image: &mut impl ToOutputArray, norm_image: &mut impl ToOutputArray, warp: bool, ) -> Result<()>

C++ default parameters Read more
Source§

fn render_surface_def( &mut self, depth_image: &mut impl ToOutputArray, vert_image: &mut impl ToOutputArray, norm_image: &mut impl ToOutputArray, ) -> Result<()>

Source§

impl Dynafu_DynaFuTraitConst for BoxedRefMut<'_, Dynafu_DynaFu>

Source§

fn as_raw_Dynafu_DynaFu( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_params(&self) -> Result<Kinfu_Params>

Get current parameters
Source§

fn render( &self, image: &mut impl ToOutputArray, camera_pose: Matx44f, ) -> Result<()>

Renders a volume into an image Read more
Source§

fn render_def(&self, image: &mut impl ToOutputArray) -> Result<()>

Renders a volume into an image Read more
Source§

fn get_cloud( &self, points: &mut impl ToOutputArray, normals: &mut impl ToOutputArray, ) -> Result<()>

Gets points and normals of current 3d mesh Read more
Source§

fn get_points(&self, points: &mut impl ToOutputArray) -> Result<()>

Gets points of current 3d mesh Read more
Source§

fn get_normals( &self, points: &impl ToInputArray, normals: &mut impl ToOutputArray, ) -> Result<()>

Calculates normals for given points Read more
Source§

fn get_pose(&self) -> Result<Affine3f>

Get current pose in voxel space
Source§

fn get_nodes_pos(&self) -> Result<Vector<Point3f>>

Source§

fn march_cubes( &self, vertices: &mut impl ToOutputArray, edges: &mut impl ToOutputArray, ) -> Result<()>

Source§

impl ELULayerTrait for BoxedRefMut<'_, ELULayer>

Source§

fn as_raw_mut_ELULayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_alpha(&mut self, val: f32)

Source§

impl ELULayerTraitConst for BoxedRefMut<'_, ELULayer>

Source§

fn as_raw_ELULayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn alpha(&self) -> f32

Source§

impl EMDHistogramCostExtractorTrait for BoxedRefMut<'_, EMDHistogramCostExtractor>

Source§

fn as_raw_mut_EMDHistogramCostExtractor( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_norm_flag(&mut self, flag: i32) -> Result<()>

Source§

impl EMDHistogramCostExtractorTraitConst for BoxedRefMut<'_, EMDHistogramCostExtractor>

Source§

fn as_raw_EMDHistogramCostExtractor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_norm_flag(&self) -> Result<i32>

Source§

impl EMDL1HistogramCostExtractorTrait for BoxedRefMut<'_, EMDL1HistogramCostExtractor>

Source§

fn as_raw_mut_EMDL1HistogramCostExtractor( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl EMDL1HistogramCostExtractorTraitConst for BoxedRefMut<'_, EMDL1HistogramCostExtractor>

Source§

fn as_raw_EMDL1HistogramCostExtractor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl EMTrait for BoxedRefMut<'_, EM>

Source§

fn as_raw_mut_EM( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_clusters_number(&mut self, val: i32) -> Result<()>

The number of mixture components in the Gaussian mixture model. Default value of the parameter is EM::DEFAULT_NCLUSTERS=5. Some of %EM implementation could determine the optimal number of mixtures within a specified value range, but that is not the case in ML yet. Read more
Source§

fn set_covariance_matrix_type(&mut self, val: i32) -> Result<()>

Constraint on covariance matrices which defines type of matrices. See EM::Types. Read more
Source§

fn set_term_criteria(&mut self, val: TermCriteria) -> Result<()>

The termination criteria of the %EM algorithm. The %EM algorithm can be terminated by the number of iterations termCrit.maxCount (number of M-steps) or when relative change of likelihood logarithm is less than termCrit.epsilon. Default maximum number of iterations is EM::DEFAULT_MAX_ITERS=100. Read more
Source§

fn train_em( &mut self, samples: &impl ToInputArray, log_likelihoods: &mut impl ToOutputArray, labels: &mut impl ToOutputArray, probs: &mut impl ToOutputArray, ) -> Result<bool>

Estimate the Gaussian mixture parameters from a samples set. Read more
Source§

fn train_em_def(&mut self, samples: &impl ToInputArray) -> Result<bool>

Estimate the Gaussian mixture parameters from a samples set. Read more
Source§

fn train_e( &mut self, samples: &impl ToInputArray, means0: &impl ToInputArray, covs0: &impl ToInputArray, weights0: &impl ToInputArray, log_likelihoods: &mut impl ToOutputArray, labels: &mut impl ToOutputArray, probs: &mut impl ToOutputArray, ) -> Result<bool>

Estimate the Gaussian mixture parameters from a samples set. Read more
Source§

fn train_e_def( &mut self, samples: &impl ToInputArray, means0: &impl ToInputArray, ) -> Result<bool>

Estimate the Gaussian mixture parameters from a samples set. Read more
Source§

fn train_m( &mut self, samples: &impl ToInputArray, probs0: &impl ToInputArray, log_likelihoods: &mut impl ToOutputArray, labels: &mut impl ToOutputArray, probs: &mut impl ToOutputArray, ) -> Result<bool>

Estimate the Gaussian mixture parameters from a samples set. Read more
Source§

fn train_m_def( &mut self, samples: &impl ToInputArray, probs0: &impl ToInputArray, ) -> Result<bool>

Estimate the Gaussian mixture parameters from a samples set. Read more
Source§

impl EMTraitConst for BoxedRefMut<'_, EM>

Source§

fn as_raw_EM(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_clusters_number(&self) -> Result<i32>

The number of mixture components in the Gaussian mixture model. Default value of the parameter is EM::DEFAULT_NCLUSTERS=5. Some of %EM implementation could determine the optimal number of mixtures within a specified value range, but that is not the case in ML yet. Read more
Source§

fn get_covariance_matrix_type(&self) -> Result<i32>

Constraint on covariance matrices which defines type of matrices. See EM::Types. Read more
Source§

fn get_term_criteria(&self) -> Result<TermCriteria>

The termination criteria of the %EM algorithm. The %EM algorithm can be terminated by the number of iterations termCrit.maxCount (number of M-steps) or when relative change of likelihood logarithm is less than termCrit.epsilon. Default maximum number of iterations is EM::DEFAULT_MAX_ITERS=100. Read more
Source§

fn get_weights(&self) -> Result<Mat>

Returns weights of the mixtures Read more
Source§

fn get_means(&self) -> Result<Mat>

Returns the cluster centers (means of the Gaussian mixture) Read more
Source§

fn get_covs(&self, covs: &mut Vector<Mat>) -> Result<()>

Returns covariation matrices Read more
Source§

fn predict( &self, samples: &impl ToInputArray, results: &mut impl ToOutputArray, flags: i32, ) -> Result<f32>

Returns posterior probabilities for the provided samples Read more
Source§

fn predict_def(&self, samples: &impl ToInputArray) -> Result<f32>

Returns posterior probabilities for the provided samples Read more
Source§

fn predict2( &self, sample: &impl ToInputArray, probs: &mut impl ToOutputArray, ) -> Result<Vec2d>

Returns a likelihood logarithm value and an index of the most probable mixture component for the given sample. Read more
Source§

impl ERFilterTrait for BoxedRefMut<'_, ERFilter>

Source§

fn as_raw_mut_ERFilter( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn run( &mut self, image: &impl ToInputArray, regions: &mut Vector<ERStat>, ) -> Result<()>

The key method of ERFilter algorithm. Read more
Source§

fn set_callback(&mut self, cb: &Ptr<ERFilter_Callback>) -> Result<()>

set/get methods to set the algorithm properties,
Source§

fn set_threshold_delta(&mut self, threshold_delta: i32) -> Result<()>

Source§

fn set_min_area(&mut self, min_area: f32) -> Result<()>

Source§

fn set_max_area(&mut self, max_area: f32) -> Result<()>

Source§

fn set_min_probability(&mut self, min_probability: f32) -> Result<()>

Source§

fn set_min_probability_diff(&mut self, min_probability_diff: f32) -> Result<()>

Source§

fn set_non_max_suppression(&mut self, non_max_suppression: bool) -> Result<()>

Source§

impl ERFilterTraitConst for BoxedRefMut<'_, ERFilter>

Source§

fn as_raw_ERFilter(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_num_rejected(&self) -> Result<i32>

Source§

impl ERFilter_CallbackTrait for BoxedRefMut<'_, ERFilter_Callback>

Source§

fn as_raw_mut_ERFilter_Callback( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn eval(&mut self, stat: &impl ERStatTraitConst) -> Result<f64>

The classifier must return probability measure for the region. Read more
Source§

impl ERFilter_CallbackTraitConst for BoxedRefMut<'_, ERFilter_Callback>

Source§

fn as_raw_ERFilter_Callback( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl ERStatTrait for BoxedRefMut<'_, ERStat>

Source§

fn as_raw_mut_ERStat( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_pixel(&mut self, val: i32)

seed point and the threshold (max grey-level value)
Source§

fn set_level(&mut self, val: i32)

Source§

fn set_area(&mut self, val: i32)

incrementally computable features
Source§

fn set_perimeter(&mut self, val: i32)

Source§

fn set_euler(&mut self, val: i32)

Euler’s number
Source§

fn set_rect(&mut self, val: Rect)

Source§

fn raw_moments_mut(&mut self) -> &mut [f64; 2]

order 1 raw moments to derive the centroid
Source§

fn central_moments_mut(&mut self) -> &mut [f64; 3]

order 2 central moments to construct the covariance matrix
Source§

fn set_med_crossings(&mut self, val: f32)

median of the crossings at three different height levels
Source§

fn set_hole_area_ratio(&mut self, val: f32)

2nd stage features
Source§

fn set_convex_hull_ratio(&mut self, val: f32)

Source§

fn set_num_inflexion_points(&mut self, val: f32)

Source§

fn set_probability(&mut self, val: f64)

probability that the ER belongs to the class we are looking for
Source§

fn parent(&mut self) -> ERStat

pointers preserving the tree structure of the component tree
Source§

fn set_parent(&mut self, val: &impl ERStatTraitConst)

pointers preserving the tree structure of the component tree
Source§

fn child(&mut self) -> ERStat

Source§

fn set_child(&mut self, val: &impl ERStatTraitConst)

Source§

fn next(&mut self) -> ERStat

Source§

fn set_next(&mut self, val: &impl ERStatTraitConst)

Source§

fn prev(&mut self) -> ERStat

Source§

fn set_prev(&mut self, val: &impl ERStatTraitConst)

Source§

fn set_local_maxima(&mut self, val: bool)

whenever the regions is a local maxima of the probability
Source§

fn max_probability_ancestor(&mut self) -> ERStat

Source§

fn set_max_probability_ancestor(&mut self, val: &impl ERStatTraitConst)

Source§

fn min_probability_ancestor(&mut self) -> ERStat

Source§

fn set_min_probability_ancestor(&mut self, val: &impl ERStatTraitConst)

Source§

impl ERStatTraitConst for BoxedRefMut<'_, ERStat>

Source§

fn as_raw_ERStat(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn pixel(&self) -> i32

seed point and the threshold (max grey-level value)
Source§

fn level(&self) -> i32

Source§

fn area(&self) -> i32

incrementally computable features
Source§

fn perimeter(&self) -> i32

Source§

fn euler(&self) -> i32

Euler’s number
Source§

fn rect(&self) -> Rect

Source§

fn raw_moments(&self) -> &[f64; 2]

order 1 raw moments to derive the centroid
Source§

fn central_moments(&self) -> &[f64; 3]

order 2 central moments to construct the covariance matrix
Source§

fn med_crossings(&self) -> f32

median of the crossings at three different height levels
Source§

fn hole_area_ratio(&self) -> f32

2nd stage features
Source§

fn convex_hull_ratio(&self) -> f32

Source§

fn num_inflexion_points(&self) -> f32

Source§

fn probability(&self) -> f64

probability that the ER belongs to the class we are looking for
Source§

fn local_maxima(&self) -> bool

whenever the regions is a local maxima of the probability
Source§

impl EdgeAwareInterpolatorTrait for BoxedRefMut<'_, EdgeAwareInterpolator>

Source§

fn as_raw_mut_EdgeAwareInterpolator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_cost_map(&mut self, _cost_map: &impl MatTraitConst) -> Result<()>

Interface to provide a more elaborated cost map, i.e. edge map, for the edge-aware term. This implementation is based on a rather simple gradient-based edge map estimation. To used more complex edge map estimator (e.g. StructuredEdgeDetection that has been used in the original publication) that may lead to improved accuracies, the internal edge map estimation can be bypassed here. Read more
Source§

fn set_k(&mut self, _k: i32) -> Result<()>

Parameter to tune the approximate size of the superpixel used for oversegmentation. Read more
Source§

fn get_k(&mut self) -> Result<i32>

See also Read more
Source§

fn set_sigma(&mut self, _sigma: f32) -> Result<()>

Sigma is a parameter defining how fast the weights decrease in the locally-weighted affine fitting. Higher values can help preserve fine details, lower values can help to get rid of noise in the output flow.
Source§

fn get_sigma(&mut self) -> Result<f32>

See also Read more
Source§

fn set_lambda(&mut self, _lambda: f32) -> Result<()>

Lambda is a parameter defining the weight of the edge-aware term in geodesic distance, should be in the range of 0 to 1000.
Source§

fn get_lambda(&mut self) -> Result<f32>

See also Read more
Source§

fn set_use_post_processing(&mut self, _use_post_proc: bool) -> Result<()>

Sets whether the fastGlobalSmootherFilter() post-processing is employed. It is turned on by default.
Source§

fn get_use_post_processing(&mut self) -> Result<bool>

See also Read more
Source§

fn set_fgs_lambda(&mut self, _lambda: f32) -> Result<()>

Sets the respective fastGlobalSmootherFilter() parameter.
Source§

fn get_fgs_lambda(&mut self) -> Result<f32>

See also Read more
Source§

fn set_fgs_sigma(&mut self, _sigma: f32) -> Result<()>

See also Read more
Source§

fn get_fgs_sigma(&mut self) -> Result<f32>

See also Read more
Source§

impl EdgeAwareInterpolatorTraitConst for BoxedRefMut<'_, EdgeAwareInterpolator>

Source§

fn as_raw_EdgeAwareInterpolator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl EdgeBoxesTrait for BoxedRefMut<'_, EdgeBoxes>

Source§

fn as_raw_mut_EdgeBoxes( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn get_bounding_boxes( &mut self, edge_map: &impl ToInputArray, orientation_map: &impl ToInputArray, boxes: &mut Vector<Rect>, scores: &mut impl ToOutputArray, ) -> Result<()>

Returns array containing proposal boxes. Read more
Source§

fn get_bounding_boxes_def( &mut self, edge_map: &impl ToInputArray, orientation_map: &impl ToInputArray, boxes: &mut Vector<Rect>, ) -> Result<()>

Returns array containing proposal boxes. Read more
Source§

fn set_alpha(&mut self, value: f32) -> Result<()>

Sets the step size of sliding window search.
Source§

fn set_beta(&mut self, value: f32) -> Result<()>

Sets the nms threshold for object proposals.
Source§

fn set_eta(&mut self, value: f32) -> Result<()>

Sets the adaptation rate for nms threshold.
Source§

fn set_min_score(&mut self, value: f32) -> Result<()>

Sets the min score of boxes to detect.
Source§

fn set_max_boxes(&mut self, value: i32) -> Result<()>

Sets max number of boxes to detect.
Source§

fn set_edge_min_mag(&mut self, value: f32) -> Result<()>

Sets the edge min magnitude.
Source§

fn set_edge_merge_thr(&mut self, value: f32) -> Result<()>

Sets the edge merge threshold.
Source§

fn set_cluster_min_mag(&mut self, value: f32) -> Result<()>

Sets the cluster min magnitude.
Source§

fn set_max_aspect_ratio(&mut self, value: f32) -> Result<()>

Sets the max aspect ratio of boxes.
Source§

fn set_min_box_area(&mut self, value: f32) -> Result<()>

Sets the minimum area of boxes.
Source§

fn set_gamma(&mut self, value: f32) -> Result<()>

Sets the affinity sensitivity
Source§

fn set_kappa(&mut self, value: f32) -> Result<()>

Sets the scale sensitivity.
Source§

impl EdgeBoxesTraitConst for BoxedRefMut<'_, EdgeBoxes>

Source§

fn as_raw_EdgeBoxes(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_alpha(&self) -> Result<f32>

Returns the step size of sliding window search.
Source§

fn get_beta(&self) -> Result<f32>

Returns the nms threshold for object proposals.
Source§

fn get_eta(&self) -> Result<f32>

Returns adaptation rate for nms threshold.
Source§

fn get_min_score(&self) -> Result<f32>

Returns the min score of boxes to detect.
Source§

fn get_max_boxes(&self) -> Result<i32>

Returns the max number of boxes to detect.
Source§

fn get_edge_min_mag(&self) -> Result<f32>

Returns the edge min magnitude.
Source§

fn get_edge_merge_thr(&self) -> Result<f32>

Returns the edge merge threshold.
Source§

fn get_cluster_min_mag(&self) -> Result<f32>

Returns the cluster min magnitude.
Source§

fn get_max_aspect_ratio(&self) -> Result<f32>

Returns the max aspect ratio of boxes.
Source§

fn get_min_box_area(&self) -> Result<f32>

Returns the minimum area of boxes.
Source§

fn get_gamma(&self) -> Result<f32>

Returns the affinity sensitivity.
Source§

fn get_kappa(&self) -> Result<f32>

Returns the scale sensitivity.
Source§

impl EdgeDrawingTrait for BoxedRefMut<'_, EdgeDrawing>

Source§

fn as_raw_mut_EdgeDrawing( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_params(&mut self, val: EdgeDrawing_Params)

Source§

fn detect_edges(&mut self, src: &impl ToInputArray) -> Result<()>

Detects edges in a grayscale or color image and prepares them to detect lines and ellipses. Read more
Source§

fn get_edge_image(&mut self, dst: &mut impl ToOutputArray) -> Result<()>

returns Edge Image prepared by detectEdges() function. Read more
Source§

fn get_gradient_image(&mut self, dst: &mut impl ToOutputArray) -> Result<()>

returns Gradient Image prepared by detectEdges() function. Read more
Source§

fn get_segments(&mut self) -> Result<Vector<Vector<Point>>>

Returns std::vector<std::vector> of detected edge segments, see detectEdges()
Source§

fn detect_lines(&mut self, lines: &mut impl ToOutputArray) -> Result<()>

Detects lines. Read more
Source§

fn detect_ellipses(&mut self, ellipses: &mut impl ToOutputArray) -> Result<()>

Detects circles and ellipses. Read more
Source§

fn set_params_1(&mut self, parameters: EdgeDrawing_Params) -> Result<()>

sets parameters. Read more
Source§

impl EdgeDrawingTraitConst for BoxedRefMut<'_, EdgeDrawing>

Source§

fn as_raw_EdgeDrawing(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn params(&self) -> EdgeDrawing_Params

Source§

fn get_segment_indices_of_lines(&self) -> Result<Vector<i32>>

Returns for each line found in detectLines() its edge segment index in getSegments()
Source§

impl EigenFaceRecognizerTrait for BoxedRefMut<'_, EigenFaceRecognizer>

Source§

fn as_raw_mut_EigenFaceRecognizer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl EigenFaceRecognizerTraitConst for BoxedRefMut<'_, EigenFaceRecognizer>

Source§

fn as_raw_EigenFaceRecognizer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl EinsumLayerTrait for BoxedRefMut<'_, EinsumLayer>

Source§

fn as_raw_mut_EinsumLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl EinsumLayerTraitConst for BoxedRefMut<'_, EinsumLayer>

Source§

fn as_raw_EinsumLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Elliptic_KeyPointTrait for BoxedRefMut<'_, Elliptic_KeyPoint>

Source§

fn as_raw_mut_Elliptic_KeyPoint( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_axes(&mut self, val: Size_<f32>)

the lengths of the major and minor ellipse axes
Source§

fn set_si(&mut self, val: f32)

the integration scale at which the parameters were estimated
Source§

fn set_transf(&mut self, val: Matx23f)

the transformation between image space and local patch space
Source§

impl Elliptic_KeyPointTraitConst for BoxedRefMut<'_, Elliptic_KeyPoint>

Source§

fn as_raw_Elliptic_KeyPoint( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn axes(&self) -> Size_<f32>

the lengths of the major and minor ellipse axes
Source§

fn si(&self) -> f32

the integration scale at which the parameters were estimated
Source§

fn transf(&self) -> Matx23f

the transformation between image space and local patch space
Source§

impl EltwiseLayerInt8Trait for BoxedRefMut<'_, EltwiseLayerInt8>

Source§

fn as_raw_mut_EltwiseLayerInt8( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl EltwiseLayerInt8TraitConst for BoxedRefMut<'_, EltwiseLayerInt8>

Source§

fn as_raw_EltwiseLayerInt8( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl EltwiseLayerTrait for BoxedRefMut<'_, EltwiseLayer>

Source§

fn as_raw_mut_EltwiseLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl EltwiseLayerTraitConst for BoxedRefMut<'_, EltwiseLayer>

Source§

fn as_raw_EltwiseLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl ErfLayerTrait for BoxedRefMut<'_, ErfLayer>

Source§

fn as_raw_mut_ErfLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ErfLayerTraitConst for BoxedRefMut<'_, ErfLayer>

Source§

fn as_raw_ErfLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl EstimateParametersTrait for BoxedRefMut<'_, EstimateParameters>

Source§

fn as_raw_mut_EstimateParameters( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_pattern(&mut self, val: PatternPositionType)

Source§

fn set_use_extrinsic_guess(&mut self, val: bool)

Source§

fn set_solve_pnp_method(&mut self, val: i32)

Source§

impl EstimateParametersTraitConst for BoxedRefMut<'_, EstimateParameters>

Source§

fn as_raw_EstimateParameters( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn pattern(&self) -> PatternPositionType

Source§

fn use_extrinsic_guess(&self) -> bool

Source§

fn solve_pnp_method(&self) -> i32

Source§

impl EventTrait for BoxedRefMut<'_, Event>

Source§

fn as_raw_mut_Event( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn record(&mut self, stream: &mut impl StreamTrait) -> Result<()>

records an event Read more
Source§

fn record_def(&mut self) -> Result<()>

records an event Read more
Source§

fn wait_for_completion(&mut self) -> Result<()>

waits for an event to complete
Source§

impl EventTraitConst for BoxedRefMut<'_, Event>

Source§

fn as_raw_Event(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn query_if_complete(&self) -> Result<bool>

queries an event’s status
Source§

impl ExceptionTrait for BoxedRefMut<'_, Exception>

Source§

fn as_raw_mut_Exception( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

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

the formatted error message
Source§

fn set_code(&mut self, val: i32)

error code see also: CVStatus
Source§

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

error description
Source§

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

function name. Available only when the compiler supports getting it
Source§

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

source file name where the error has occurred
Source§

fn set_line(&mut self, val: i32)

line number in the source file where the error has occurred
Source§

fn format_message(&mut self) -> Result<()>

Source§

impl ExceptionTraitConst for BoxedRefMut<'_, Exception>

Source§

fn as_raw_Exception(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn msg(&self) -> String

the formatted error message
Source§

fn code(&self) -> i32

error code see also: CVStatus
Source§

fn err(&self) -> String

error description
Source§

fn func(&self) -> String

function name. Available only when the compiler supports getting it
Source§

fn file(&self) -> String

source file name where the error has occurred
Source§

fn line(&self) -> i32

line number in the source file where the error has occurred
Source§

fn what(&self) -> String

! \return the error description and the context as a text string.
Source§

impl ExpLayerTrait for BoxedRefMut<'_, ExpLayer>

Source§

fn as_raw_mut_ExpLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_base(&mut self, val: f32)

Source§

fn set_scale(&mut self, val: f32)

Source§

fn set_shift(&mut self, val: f32)

Source§

impl ExpLayerTraitConst for BoxedRefMut<'_, ExpLayer>

Source§

fn as_raw_ExpLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn base(&self) -> f32

Source§

fn scale(&self) -> f32

Source§

fn shift(&self) -> f32

Source§

impl ExpandLayerTrait for BoxedRefMut<'_, ExpandLayer>

Source§

fn as_raw_mut_ExpandLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ExpandLayerTraitConst for BoxedRefMut<'_, ExpandLayer>

Source§

fn as_raw_ExpandLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl FREAKTrait for BoxedRefMut<'_, FREAK>

Source§

fn as_raw_mut_FREAK( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_orientation_normalized( &mut self, orientation_normalized: bool, ) -> Result<()>

Source§

fn set_scale_normalized(&mut self, scale_normalized: bool) -> Result<()>

Source§

fn set_pattern_scale(&mut self, pattern_scale: f64) -> Result<()>

Source§

fn set_n_octaves(&mut self, n_octaves: i32) -> Result<()>

Source§

impl FREAKTraitConst for BoxedRefMut<'_, FREAK>

Source§

fn as_raw_FREAK(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_orientation_normalized(&self) -> Result<bool>

Source§

fn get_scale_normalized(&self) -> Result<bool>

Source§

fn get_pattern_scale(&self) -> Result<f64>

Source§

fn get_n_octaves(&self) -> Result<i32>

Source§

fn get_default_name(&self) -> Result<String>

Source§

impl FaceDetectorYNTrait for BoxedRefMut<'_, FaceDetectorYN>

Source§

fn as_raw_mut_FaceDetectorYN( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_input_size(&mut self, input_size: Size) -> Result<()>

Set the size for the network input, which overwrites the input size of creating model. Call this method when the size of input image does not match the input size when creating model Read more
Source§

fn get_input_size(&mut self) -> Result<Size>

Source§

fn set_score_threshold(&mut self, score_threshold: f32) -> Result<()>

Set the score threshold to filter out bounding boxes of score less than the given value Read more
Source§

fn get_score_threshold(&mut self) -> Result<f32>

Source§

fn set_nms_threshold(&mut self, nms_threshold: f32) -> Result<()>

Set the Non-maximum-suppression threshold to suppress bounding boxes that have IoU greater than the given value Read more
Source§

fn get_nms_threshold(&mut self) -> Result<f32>

Source§

fn set_top_k(&mut self, top_k: i32) -> Result<()>

Set the number of bounding boxes preserved before NMS Read more
Source§

fn get_top_k(&mut self) -> Result<i32>

Source§

fn detect( &mut self, image: &impl ToInputArray, faces: &mut impl ToOutputArray, ) -> Result<i32>

Detects faces in the input image. Following is an example output. Read more
Source§

impl FaceDetectorYNTraitConst for BoxedRefMut<'_, FaceDetectorYN>

Source§

fn as_raw_FaceDetectorYN( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl FaceRecognizerSFTrait for BoxedRefMut<'_, FaceRecognizerSF>

Source§

fn as_raw_mut_FaceRecognizerSF( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn feature( &mut self, aligned_img: &impl ToInputArray, face_feature: &mut impl ToOutputArray, ) -> Result<()>

Extracts face feature from aligned image Read more
Source§

impl FaceRecognizerSFTraitConst for BoxedRefMut<'_, FaceRecognizerSF>

Source§

fn as_raw_FaceRecognizerSF( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn align_crop( &self, src_img: &impl ToInputArray, face_box: &impl ToInputArray, aligned_img: &mut impl ToOutputArray, ) -> Result<()>

Aligns detected face with the source input image and crops it Read more
Source§

fn match_( &self, face_feature1: &impl ToInputArray, face_feature2: &impl ToInputArray, dis_type: i32, ) -> Result<f64>

Calculates the distance between two face features Read more
Source§

fn match__def( &self, face_feature1: &impl ToInputArray, face_feature2: &impl ToInputArray, ) -> Result<f64>

Calculates the distance between two face features Read more
Source§

impl FaceRecognizerTrait for BoxedRefMut<'_, BasicFaceRecognizer>

Source§

fn as_raw_mut_FaceRecognizer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn train( &mut self, src: &impl ToInputArray, labels: &impl ToInputArray, ) -> Result<()>

Trains a FaceRecognizer with given data and associated labels. Read more
Source§

fn update( &mut self, src: &impl ToInputArray, labels: &impl ToInputArray, ) -> Result<()>

Updates a FaceRecognizer with given data and associated labels. Read more
Source§

fn read(&mut self, filename: &str) -> Result<()>

Loads a FaceRecognizer and its model state. Read more
Source§

fn read_1(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Loads a FaceRecognizer and its model state. Read more
Source§

fn set_label_info(&mut self, label: i32, str_info: &str) -> Result<()>

Sets string info for the specified model’s label. Read more
Source§

fn set_threshold(&mut self, val: f64) -> Result<()>

Sets threshold of model
Source§

impl FaceRecognizerTrait for BoxedRefMut<'_, EigenFaceRecognizer>

Source§

fn as_raw_mut_FaceRecognizer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn train( &mut self, src: &impl ToInputArray, labels: &impl ToInputArray, ) -> Result<()>

Trains a FaceRecognizer with given data and associated labels. Read more
Source§

fn update( &mut self, src: &impl ToInputArray, labels: &impl ToInputArray, ) -> Result<()>

Updates a FaceRecognizer with given data and associated labels. Read more
Source§

fn read(&mut self, filename: &str) -> Result<()>

Loads a FaceRecognizer and its model state. Read more
Source§

fn read_1(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Loads a FaceRecognizer and its model state. Read more
Source§

fn set_label_info(&mut self, label: i32, str_info: &str) -> Result<()>

Sets string info for the specified model’s label. Read more
Source§

fn set_threshold(&mut self, val: f64) -> Result<()>

Sets threshold of model
Source§

impl FaceRecognizerTrait for BoxedRefMut<'_, FaceRecognizer>

Source§

fn as_raw_mut_FaceRecognizer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn train( &mut self, src: &impl ToInputArray, labels: &impl ToInputArray, ) -> Result<()>

Trains a FaceRecognizer with given data and associated labels. Read more
Source§

fn update( &mut self, src: &impl ToInputArray, labels: &impl ToInputArray, ) -> Result<()>

Updates a FaceRecognizer with given data and associated labels. Read more
Source§

fn read(&mut self, filename: &str) -> Result<()>

Loads a FaceRecognizer and its model state. Read more
Source§

fn read_1(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Loads a FaceRecognizer and its model state. Read more
Source§

fn set_label_info(&mut self, label: i32, str_info: &str) -> Result<()>

Sets string info for the specified model’s label. Read more
Source§

fn set_threshold(&mut self, val: f64) -> Result<()>

Sets threshold of model
Source§

impl FaceRecognizerTrait for BoxedRefMut<'_, FisherFaceRecognizer>

Source§

fn as_raw_mut_FaceRecognizer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn train( &mut self, src: &impl ToInputArray, labels: &impl ToInputArray, ) -> Result<()>

Trains a FaceRecognizer with given data and associated labels. Read more
Source§

fn update( &mut self, src: &impl ToInputArray, labels: &impl ToInputArray, ) -> Result<()>

Updates a FaceRecognizer with given data and associated labels. Read more
Source§

fn read(&mut self, filename: &str) -> Result<()>

Loads a FaceRecognizer and its model state. Read more
Source§

fn read_1(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Loads a FaceRecognizer and its model state. Read more
Source§

fn set_label_info(&mut self, label: i32, str_info: &str) -> Result<()>

Sets string info for the specified model’s label. Read more
Source§

fn set_threshold(&mut self, val: f64) -> Result<()>

Sets threshold of model
Source§

impl FaceRecognizerTrait for BoxedRefMut<'_, LBPHFaceRecognizer>

Source§

fn as_raw_mut_FaceRecognizer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn train( &mut self, src: &impl ToInputArray, labels: &impl ToInputArray, ) -> Result<()>

Trains a FaceRecognizer with given data and associated labels. Read more
Source§

fn update( &mut self, src: &impl ToInputArray, labels: &impl ToInputArray, ) -> Result<()>

Updates a FaceRecognizer with given data and associated labels. Read more
Source§

fn read(&mut self, filename: &str) -> Result<()>

Loads a FaceRecognizer and its model state. Read more
Source§

fn read_1(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Loads a FaceRecognizer and its model state. Read more
Source§

fn set_label_info(&mut self, label: i32, str_info: &str) -> Result<()>

Sets string info for the specified model’s label. Read more
Source§

fn set_threshold(&mut self, val: f64) -> Result<()>

Sets threshold of model
Source§

impl FaceRecognizerTraitConst for BoxedRefMut<'_, BasicFaceRecognizer>

Source§

fn as_raw_FaceRecognizer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn predict_label(&self, src: &impl ToInputArray) -> Result<i32>

Predicts a label and associated confidence (e.g. distance) for a given input image. Read more
Source§

fn predict( &self, src: &impl ToInputArray, label: &mut i32, confidence: &mut f64, ) -> Result<()>

Predicts a label and associated confidence (e.g. distance) for a given input image. Read more
Source§

fn predict_collect( &self, src: &impl ToInputArray, collector: Ptr<PredictCollector>, ) -> Result<()>

if implemented - send all result of prediction to collector that can be used for somehow custom result handling Read more
Source§

fn write(&self, filename: &str) -> Result<()>

Saves a FaceRecognizer and its model state. Read more
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Saves a FaceRecognizer and its model state. Read more
Source§

fn empty(&self) -> Result<bool>

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Source§

fn get_label_info(&self, label: i32) -> Result<String>

Gets string information by label. Read more
Source§

fn get_labels_by_string(&self, str: &str) -> Result<Vector<i32>>

Gets vector of labels by string. Read more
Source§

fn get_threshold(&self) -> Result<f64>

threshold parameter accessor - required for default BestMinDist collector
Source§

impl FaceRecognizerTraitConst for BoxedRefMut<'_, EigenFaceRecognizer>

Source§

fn as_raw_FaceRecognizer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn predict_label(&self, src: &impl ToInputArray) -> Result<i32>

Predicts a label and associated confidence (e.g. distance) for a given input image. Read more
Source§

fn predict( &self, src: &impl ToInputArray, label: &mut i32, confidence: &mut f64, ) -> Result<()>

Predicts a label and associated confidence (e.g. distance) for a given input image. Read more
Source§

fn predict_collect( &self, src: &impl ToInputArray, collector: Ptr<PredictCollector>, ) -> Result<()>

if implemented - send all result of prediction to collector that can be used for somehow custom result handling Read more
Source§

fn write(&self, filename: &str) -> Result<()>

Saves a FaceRecognizer and its model state. Read more
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Saves a FaceRecognizer and its model state. Read more
Source§

fn empty(&self) -> Result<bool>

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Source§

fn get_label_info(&self, label: i32) -> Result<String>

Gets string information by label. Read more
Source§

fn get_labels_by_string(&self, str: &str) -> Result<Vector<i32>>

Gets vector of labels by string. Read more
Source§

fn get_threshold(&self) -> Result<f64>

threshold parameter accessor - required for default BestMinDist collector
Source§

impl FaceRecognizerTraitConst for BoxedRefMut<'_, FaceRecognizer>

Source§

fn as_raw_FaceRecognizer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn predict_label(&self, src: &impl ToInputArray) -> Result<i32>

Predicts a label and associated confidence (e.g. distance) for a given input image. Read more
Source§

fn predict( &self, src: &impl ToInputArray, label: &mut i32, confidence: &mut f64, ) -> Result<()>

Predicts a label and associated confidence (e.g. distance) for a given input image. Read more
Source§

fn predict_collect( &self, src: &impl ToInputArray, collector: Ptr<PredictCollector>, ) -> Result<()>

if implemented - send all result of prediction to collector that can be used for somehow custom result handling Read more
Source§

fn write(&self, filename: &str) -> Result<()>

Saves a FaceRecognizer and its model state. Read more
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Saves a FaceRecognizer and its model state. Read more
Source§

fn empty(&self) -> Result<bool>

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Source§

fn get_label_info(&self, label: i32) -> Result<String>

Gets string information by label. Read more
Source§

fn get_labels_by_string(&self, str: &str) -> Result<Vector<i32>>

Gets vector of labels by string. Read more
Source§

fn get_threshold(&self) -> Result<f64>

threshold parameter accessor - required for default BestMinDist collector
Source§

impl FaceRecognizerTraitConst for BoxedRefMut<'_, FisherFaceRecognizer>

Source§

fn as_raw_FaceRecognizer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn predict_label(&self, src: &impl ToInputArray) -> Result<i32>

Predicts a label and associated confidence (e.g. distance) for a given input image. Read more
Source§

fn predict( &self, src: &impl ToInputArray, label: &mut i32, confidence: &mut f64, ) -> Result<()>

Predicts a label and associated confidence (e.g. distance) for a given input image. Read more
Source§

fn predict_collect( &self, src: &impl ToInputArray, collector: Ptr<PredictCollector>, ) -> Result<()>

if implemented - send all result of prediction to collector that can be used for somehow custom result handling Read more
Source§

fn write(&self, filename: &str) -> Result<()>

Saves a FaceRecognizer and its model state. Read more
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Saves a FaceRecognizer and its model state. Read more
Source§

fn empty(&self) -> Result<bool>

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Source§

fn get_label_info(&self, label: i32) -> Result<String>

Gets string information by label. Read more
Source§

fn get_labels_by_string(&self, str: &str) -> Result<Vector<i32>>

Gets vector of labels by string. Read more
Source§

fn get_threshold(&self) -> Result<f64>

threshold parameter accessor - required for default BestMinDist collector
Source§

impl FaceRecognizerTraitConst for BoxedRefMut<'_, LBPHFaceRecognizer>

Source§

fn as_raw_FaceRecognizer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn predict_label(&self, src: &impl ToInputArray) -> Result<i32>

Predicts a label and associated confidence (e.g. distance) for a given input image. Read more
Source§

fn predict( &self, src: &impl ToInputArray, label: &mut i32, confidence: &mut f64, ) -> Result<()>

Predicts a label and associated confidence (e.g. distance) for a given input image. Read more
Source§

fn predict_collect( &self, src: &impl ToInputArray, collector: Ptr<PredictCollector>, ) -> Result<()>

if implemented - send all result of prediction to collector that can be used for somehow custom result handling Read more
Source§

fn write(&self, filename: &str) -> Result<()>

Saves a FaceRecognizer and its model state. Read more
Source§

fn write_1(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Saves a FaceRecognizer and its model state. Read more
Source§

fn empty(&self) -> Result<bool>

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Source§

fn get_label_info(&self, label: i32) -> Result<String>

Gets string information by label. Read more
Source§

fn get_labels_by_string(&self, str: &str) -> Result<Vector<i32>>

Gets vector of labels by string. Read more
Source§

fn get_threshold(&self) -> Result<f64>

threshold parameter accessor - required for default BestMinDist collector
Source§

impl FacemarkAAMTrait for BoxedRefMut<'_, FacemarkAAM>

Source§

fn as_raw_mut_FacemarkAAM( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn fit_config( &mut self, image: &impl ToInputArray, roi: &impl ToInputArray, _landmarks: &mut impl ToOutputArray, runtime_params: &Vector<FacemarkAAM_Config>, ) -> Result<bool>

overload with additional Config structures
Source§

impl FacemarkAAMTraitConst for BoxedRefMut<'_, FacemarkAAM>

Source§

fn as_raw_FacemarkAAM(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl FacemarkAAM_ConfigTrait for BoxedRefMut<'_, FacemarkAAM_Config>

Source§

fn as_raw_mut_FacemarkAAM_Config( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_r(&mut self, val: Mat)

Source§

fn set_t(&mut self, val: Point2f)

Source§

fn set_scale(&mut self, val: f32)

Source§

fn set_model_scale_idx(&mut self, val: i32)

Source§

impl FacemarkAAM_ConfigTraitConst for BoxedRefMut<'_, FacemarkAAM_Config>

Source§

fn as_raw_FacemarkAAM_Config( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn r(&self) -> Mat

Source§

fn t(&self) -> Point2f

Source§

fn scale(&self) -> f32

Source§

fn model_scale_idx(&self) -> i32

Source§

impl FacemarkAAM_DataTrait for BoxedRefMut<'_, FacemarkAAM_Data>

Source§

fn as_raw_mut_FacemarkAAM_Data( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_s0(&mut self, val: Vector<Point2f>)

Source§

impl FacemarkAAM_DataTraitConst for BoxedRefMut<'_, FacemarkAAM_Data>

Source§

fn as_raw_FacemarkAAM_Data( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn s0(&self) -> Vector<Point2f>

Source§

impl FacemarkAAM_ModelTrait for BoxedRefMut<'_, FacemarkAAM_Model>

Source§

fn as_raw_mut_FacemarkAAM_Model( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_scales(&mut self, val: Vector<f32>)

Source§

fn set_triangles(&mut self, val: Vector<Vec3i>)

Source§

fn set_textures(&mut self, val: Vector<FacemarkAAM_Model_Texture>)

Source§

fn set_s0(&mut self, val: Vector<Point2f>)

Source§

fn set_s(&mut self, val: Mat)

Source§

fn set_q(&mut self, val: Mat)

Source§

impl FacemarkAAM_ModelTraitConst for BoxedRefMut<'_, FacemarkAAM_Model>

Source§

fn as_raw_FacemarkAAM_Model( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn scales(&self) -> Vector<f32>

Source§

fn triangles(&self) -> Vector<Vec3i>

Source§

fn textures(&self) -> Vector<FacemarkAAM_Model_Texture>

Source§

fn s0(&self) -> Vector<Point2f>

Source§

fn s(&self) -> Mat

Source§

fn q(&self) -> Mat

Source§

impl FacemarkAAM_Model_TextureTrait for BoxedRefMut<'_, FacemarkAAM_Model_Texture>

Source§

fn as_raw_mut_FacemarkAAM_Model_Texture( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_max_m(&mut self, val: i32)

unused delete
Source§

fn set_resolution(&mut self, val: Rect)

Source§

fn set_a(&mut self, val: Mat)

Source§

fn set_a0(&mut self, val: Mat)

Source§

fn set_aa(&mut self, val: Mat)

Source§

fn set_aa0(&mut self, val: Mat)

Source§

fn set_texture_idx(&mut self, val: Vector<Vector<Point>>)

Source§

fn set_base_shape(&mut self, val: Vector<Point2f>)

Source§

fn set_ind1(&mut self, val: Vector<i32>)

Source§

fn set_ind2(&mut self, val: Vector<i32>)

Source§

impl FacemarkAAM_Model_TextureTraitConst for BoxedRefMut<'_, FacemarkAAM_Model_Texture>

Source§

fn as_raw_FacemarkAAM_Model_Texture( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn max_m(&self) -> i32

unused delete
Source§

fn resolution(&self) -> Rect

Source§

fn a(&self) -> Mat

Source§

fn a0(&self) -> Mat

Source§

fn aa(&self) -> Mat

Source§

fn aa0(&self) -> Mat

Source§

fn texture_idx(&self) -> Vector<Vector<Point>>

Source§

fn base_shape(&self) -> Vector<Point2f>

Source§

fn ind1(&self) -> Vector<i32>

Source§

fn ind2(&self) -> Vector<i32>

Source§

impl FacemarkAAM_ParamsTrait for BoxedRefMut<'_, FacemarkAAM_Params>

Source§

fn as_raw_mut_FacemarkAAM_Params( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

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

Source§

fn set_m(&mut self, val: i32)

Source§

fn set_n(&mut self, val: i32)

Source§

fn set_n_iter(&mut self, val: i32)

Source§

fn set_verbose(&mut self, val: bool)

Source§

fn set_save_model(&mut self, val: bool)

Source§

fn set_max_m(&mut self, val: i32)

Source§

fn set_max_n(&mut self, val: i32)

Source§

fn set_texture_max_m(&mut self, val: i32)

Source§

fn set_scales(&mut self, val: Vector<f32>)

Source§

fn read(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

\brief Read parameters from file, currently unused
Source§

impl FacemarkAAM_ParamsTraitConst for BoxedRefMut<'_, FacemarkAAM_Params>

Source§

fn as_raw_FacemarkAAM_Params( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn model_filename(&self) -> String

Source§

fn m(&self) -> i32

Source§

fn n(&self) -> i32

Source§

fn n_iter(&self) -> i32

Source§

fn verbose(&self) -> bool

Source§

fn save_model(&self) -> bool

Source§

fn max_m(&self) -> i32

Source§

fn max_n(&self) -> i32

Source§

fn texture_max_m(&self) -> i32

Source§

fn scales(&self) -> Vector<f32>

Source§

fn write(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

\brief Read parameters from file, currently unused
Source§

impl FacemarkKazemiTrait for BoxedRefMut<'_, FacemarkKazemi>

Source§

fn as_raw_mut_FacemarkKazemi( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn training( &mut self, images: &mut Vector<Mat>, landmarks: &mut Vector<Vector<Point2f>>, configfile: &str, scale: Size, model_filename: &str, ) -> Result<bool>

This function is used to train the model using gradient boosting to get a cascade of regressors which can then be used to predict shape. Read more
Source§

fn training_def( &mut self, images: &mut Vector<Mat>, landmarks: &mut Vector<Vector<Point2f>>, configfile: &str, scale: Size, ) -> Result<bool>

This function is used to train the model using gradient boosting to get a cascade of regressors which can then be used to predict shape. Read more
Source§

fn set_face_detector( &mut self, f: Option<Box<dyn FnMut(*const c_void, *const c_void) -> bool + Send + Sync + 'static>>, ) -> Result<bool>

set the custom face detector
Source§

fn get_faces( &mut self, image: &impl ToInputArray, faces: &mut impl ToOutputArray, ) -> Result<bool>

get faces using the custom detector
Source§

impl FacemarkKazemiTraitConst for BoxedRefMut<'_, FacemarkKazemi>

Source§

fn as_raw_FacemarkKazemi( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl FacemarkKazemi_ParamsTrait for BoxedRefMut<'_, FacemarkKazemi_Params>

Source§

fn as_raw_mut_FacemarkKazemi_Params( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_cascade_depth(&mut self, val: u32)

cascade_depth This stores the deapth of cascade used for training.
Source§

fn set_tree_depth(&mut self, val: u32)

tree_depth This stores the max height of the regression tree built.
Source§

fn set_num_trees_per_cascade_level(&mut self, val: u32)

num_trees_per_cascade_level This stores number of trees fit per cascade level.
Source§

fn set_learning_rate(&mut self, val: f32)

learning_rate stores the learning rate in gradient boosting, also referred as shrinkage.
Source§

fn set_oversampling_amount(&mut self, val: u32)

oversampling_amount stores number of initialisations used to create training samples.
Source§

fn set_num_test_coordinates(&mut self, val: u32)

num_test_coordinates stores number of test coordinates.
Source§

fn set_lambda(&mut self, val: f32)

lambda stores a value to calculate probability of closeness of two coordinates.
Source§

fn set_num_test_splits(&mut self, val: u32)

num_test_splits stores number of random test splits generated.
Source§

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

configfile stores the name of the file containing the values of training parameters
Source§

impl FacemarkKazemi_ParamsTraitConst for BoxedRefMut<'_, FacemarkKazemi_Params>

Source§

fn as_raw_FacemarkKazemi_Params( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn cascade_depth(&self) -> u32

cascade_depth This stores the deapth of cascade used for training.
Source§

fn tree_depth(&self) -> u32

tree_depth This stores the max height of the regression tree built.
Source§

fn num_trees_per_cascade_level(&self) -> u32

num_trees_per_cascade_level This stores number of trees fit per cascade level.
Source§

fn learning_rate(&self) -> f32

learning_rate stores the learning rate in gradient boosting, also referred as shrinkage.
Source§

fn oversampling_amount(&self) -> u32

oversampling_amount stores number of initialisations used to create training samples.
Source§

fn num_test_coordinates(&self) -> u32

num_test_coordinates stores number of test coordinates.
Source§

fn lambda(&self) -> f32

lambda stores a value to calculate probability of closeness of two coordinates.
Source§

fn num_test_splits(&self) -> u32

num_test_splits stores number of random test splits generated.
Source§

fn configfile(&self) -> String

configfile stores the name of the file containing the values of training parameters
Source§

impl FacemarkLBFTrait for BoxedRefMut<'_, FacemarkLBF>

Source§

fn as_raw_mut_FacemarkLBF( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl FacemarkLBFTraitConst for BoxedRefMut<'_, FacemarkLBF>

Source§

fn as_raw_FacemarkLBF(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl FacemarkLBF_ParamsTrait for BoxedRefMut<'_, FacemarkLBF_Params>

Source§

fn as_raw_mut_FacemarkLBF_Params( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_shape_offset(&mut self, val: f64)

Source§

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

Source§

fn set_verbose(&mut self, val: bool)

Source§

fn set_n_landmarks(&mut self, val: i32)

Source§

fn set_init_shape_n(&mut self, val: i32)

Source§

fn set_stages_n(&mut self, val: i32)

Source§

fn set_tree_n(&mut self, val: i32)

Source§

fn set_tree_depth(&mut self, val: i32)

Source§

fn set_bagging_overlap(&mut self, val: f64)

Source§

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

Source§

fn set_save_model(&mut self, val: bool)

flag to save the trained model or not
Source§

fn set_seed(&mut self, val: u32)

seed for shuffling the training data
Source§

fn set_feats_m(&mut self, val: Vector<i32>)

Source§

fn set_radius_m(&mut self, val: Vector<f64>)

Source§

fn set_detect_roi(&mut self, val: Rect)

Source§

fn read(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

Source§

impl FacemarkLBF_ParamsTraitConst for BoxedRefMut<'_, FacemarkLBF_Params>

Source§

fn as_raw_FacemarkLBF_Params( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn shape_offset(&self) -> f64

Source§

fn cascade_face(&self) -> String

Source§

fn verbose(&self) -> bool

Source§

fn n_landmarks(&self) -> i32

Source§

fn init_shape_n(&self) -> i32

Source§

fn stages_n(&self) -> i32

Source§

fn tree_n(&self) -> i32

Source§

fn tree_depth(&self) -> i32

Source§

fn bagging_overlap(&self) -> f64

Source§

fn model_filename(&self) -> String

Source§

fn save_model(&self) -> bool

flag to save the trained model or not
Source§

fn seed(&self) -> u32

seed for shuffling the training data
Source§

fn feats_m(&self) -> Vector<i32>

Source§

fn radius_m(&self) -> Vector<f64>

Source§

fn detect_roi(&self) -> Rect

Source§

fn write(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

Source§

impl FacemarkTrainTrait for BoxedRefMut<'_, FacemarkAAM>

Source§

fn as_raw_mut_FacemarkTrain( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn add_training_sample( &mut self, image: &impl ToInputArray, landmarks: &impl ToInputArray, ) -> Result<bool>

Add one training sample to the trainer. Read more
Source§

unsafe fn training(&mut self, parameters: *mut c_void) -> Result<()>

Trains a Facemark algorithm using the given dataset. Before the training process, training samples should be added to the trainer using face::addTrainingSample function. Read more
Source§

fn training_def(&mut self) -> Result<()>

Trains a Facemark algorithm using the given dataset. Before the training process, training samples should be added to the trainer using face::addTrainingSample function. Read more
Source§

fn set_face_detector(&mut self, detector: FN_FaceDetector) -> Result<bool>

Set a user defined face detector for the Facemark algorithm. Read more
Source§

fn get_faces( &mut self, image: &impl ToInputArray, faces: &mut impl ToOutputArray, ) -> Result<bool>

Detect faces from a given image using default or user defined face detector. Some Algorithm might not provide a default face detector. Read more
Source§

unsafe fn get_data(&mut self, items: *mut c_void) -> Result<bool>

Get data from an algorithm Read more
Source§

fn get_data_def(&mut self) -> Result<bool>

Get data from an algorithm Read more
Source§

impl FacemarkTrainTrait for BoxedRefMut<'_, FacemarkLBF>

Source§

fn as_raw_mut_FacemarkTrain( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn add_training_sample( &mut self, image: &impl ToInputArray, landmarks: &impl ToInputArray, ) -> Result<bool>

Add one training sample to the trainer. Read more
Source§

unsafe fn training(&mut self, parameters: *mut c_void) -> Result<()>

Trains a Facemark algorithm using the given dataset. Before the training process, training samples should be added to the trainer using face::addTrainingSample function. Read more
Source§

fn training_def(&mut self) -> Result<()>

Trains a Facemark algorithm using the given dataset. Before the training process, training samples should be added to the trainer using face::addTrainingSample function. Read more
Source§

fn set_face_detector(&mut self, detector: FN_FaceDetector) -> Result<bool>

Set a user defined face detector for the Facemark algorithm. Read more
Source§

fn get_faces( &mut self, image: &impl ToInputArray, faces: &mut impl ToOutputArray, ) -> Result<bool>

Detect faces from a given image using default or user defined face detector. Some Algorithm might not provide a default face detector. Read more
Source§

unsafe fn get_data(&mut self, items: *mut c_void) -> Result<bool>

Get data from an algorithm Read more
Source§

fn get_data_def(&mut self) -> Result<bool>

Get data from an algorithm Read more
Source§

impl FacemarkTrainTrait for BoxedRefMut<'_, FacemarkTrain>

Source§

fn as_raw_mut_FacemarkTrain( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn add_training_sample( &mut self, image: &impl ToInputArray, landmarks: &impl ToInputArray, ) -> Result<bool>

Add one training sample to the trainer. Read more
Source§

unsafe fn training(&mut self, parameters: *mut c_void) -> Result<()>

Trains a Facemark algorithm using the given dataset. Before the training process, training samples should be added to the trainer using face::addTrainingSample function. Read more
Source§

fn training_def(&mut self) -> Result<()>

Trains a Facemark algorithm using the given dataset. Before the training process, training samples should be added to the trainer using face::addTrainingSample function. Read more
Source§

fn set_face_detector(&mut self, detector: FN_FaceDetector) -> Result<bool>

Set a user defined face detector for the Facemark algorithm. Read more
Source§

fn get_faces( &mut self, image: &impl ToInputArray, faces: &mut impl ToOutputArray, ) -> Result<bool>

Detect faces from a given image using default or user defined face detector. Some Algorithm might not provide a default face detector. Read more
Source§

unsafe fn get_data(&mut self, items: *mut c_void) -> Result<bool>

Get data from an algorithm Read more
Source§

fn get_data_def(&mut self) -> Result<bool>

Get data from an algorithm Read more
Source§

impl FacemarkTrainTraitConst for BoxedRefMut<'_, FacemarkAAM>

Source§

fn as_raw_FacemarkTrain( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl FacemarkTrainTraitConst for BoxedRefMut<'_, FacemarkLBF>

Source§

fn as_raw_FacemarkTrain( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl FacemarkTrainTraitConst for BoxedRefMut<'_, FacemarkTrain>

Source§

fn as_raw_FacemarkTrain( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl FacemarkTrait for BoxedRefMut<'_, Facemark>

Source§

fn as_raw_mut_Facemark( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn load_model(&mut self, model: &str) -> Result<()>

A function to load the trained model before the fitting process. Read more
Source§

fn fit( &mut self, image: &impl ToInputArray, faces: &impl ToInputArray, landmarks: &mut impl ToOutputArray, ) -> Result<bool>

Detect facial landmarks from an image. Read more
Source§

impl FacemarkTrait for BoxedRefMut<'_, FacemarkAAM>

Source§

fn as_raw_mut_Facemark( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn load_model(&mut self, model: &str) -> Result<()>

A function to load the trained model before the fitting process. Read more
Source§

fn fit( &mut self, image: &impl ToInputArray, faces: &impl ToInputArray, landmarks: &mut impl ToOutputArray, ) -> Result<bool>

Detect facial landmarks from an image. Read more
Source§

impl FacemarkTrait for BoxedRefMut<'_, FacemarkKazemi>

Source§

fn as_raw_mut_Facemark( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn load_model(&mut self, model: &str) -> Result<()>

A function to load the trained model before the fitting process. Read more
Source§

fn fit( &mut self, image: &impl ToInputArray, faces: &impl ToInputArray, landmarks: &mut impl ToOutputArray, ) -> Result<bool>

Detect facial landmarks from an image. Read more
Source§

impl FacemarkTrait for BoxedRefMut<'_, FacemarkLBF>

Source§

fn as_raw_mut_Facemark( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn load_model(&mut self, model: &str) -> Result<()>

A function to load the trained model before the fitting process. Read more
Source§

fn fit( &mut self, image: &impl ToInputArray, faces: &impl ToInputArray, landmarks: &mut impl ToOutputArray, ) -> Result<bool>

Detect facial landmarks from an image. Read more
Source§

impl FacemarkTrait for BoxedRefMut<'_, FacemarkTrain>

Source§

fn as_raw_mut_Facemark( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn load_model(&mut self, model: &str) -> Result<()>

A function to load the trained model before the fitting process. Read more
Source§

fn fit( &mut self, image: &impl ToInputArray, faces: &impl ToInputArray, landmarks: &mut impl ToOutputArray, ) -> Result<bool>

Detect facial landmarks from an image. Read more
Source§

impl FacemarkTraitConst for BoxedRefMut<'_, Facemark>

Source§

fn as_raw_Facemark(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl FacemarkTraitConst for BoxedRefMut<'_, FacemarkAAM>

Source§

fn as_raw_Facemark(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl FacemarkTraitConst for BoxedRefMut<'_, FacemarkKazemi>

Source§

fn as_raw_Facemark(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl FacemarkTraitConst for BoxedRefMut<'_, FacemarkLBF>

Source§

fn as_raw_Facemark(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl FacemarkTraitConst for BoxedRefMut<'_, FacemarkTrain>

Source§

fn as_raw_Facemark(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl FarnebackOpticalFlowTrait for BoxedRefMut<'_, FarnebackOpticalFlow>

Source§

fn as_raw_mut_FarnebackOpticalFlow( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_num_levels(&mut self, num_levels: i32) -> Result<()>

Source§

fn set_pyr_scale(&mut self, pyr_scale: f64) -> Result<()>

Source§

fn set_fast_pyramids(&mut self, fast_pyramids: bool) -> Result<()>

Source§

fn set_win_size(&mut self, win_size: i32) -> Result<()>

Source§

fn set_num_iters(&mut self, num_iters: i32) -> Result<()>

Source§

fn set_poly_n(&mut self, poly_n: i32) -> Result<()>

Source§

fn set_poly_sigma(&mut self, poly_sigma: f64) -> Result<()>

Source§

fn set_flags(&mut self, flags: i32) -> Result<()>

Source§

impl FarnebackOpticalFlowTraitConst for BoxedRefMut<'_, FarnebackOpticalFlow>

Source§

fn as_raw_FarnebackOpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_num_levels(&self) -> Result<i32>

Source§

fn get_pyr_scale(&self) -> Result<f64>

Source§

fn get_fast_pyramids(&self) -> Result<bool>

Source§

fn get_win_size(&self) -> Result<i32>

Source§

fn get_num_iters(&self) -> Result<i32>

Source§

fn get_poly_n(&self) -> Result<i32>

Source§

fn get_poly_sigma(&self) -> Result<f64>

Source§

fn get_flags(&self) -> Result<i32>

Source§

impl FastBilateralSolverFilterTrait for BoxedRefMut<'_, FastBilateralSolverFilter>

Source§

fn as_raw_mut_FastBilateralSolverFilter( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn filter( &mut self, src: &impl ToInputArray, confidence: &impl ToInputArray, dst: &mut impl ToOutputArray, ) -> Result<()>

Apply smoothing operation to the source image. Read more
Source§

impl FastBilateralSolverFilterTraitConst for BoxedRefMut<'_, FastBilateralSolverFilter>

Source§

fn as_raw_FastBilateralSolverFilter( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl FastFeatureDetectorTrait for BoxedRefMut<'_, FastFeatureDetector>

Source§

fn as_raw_mut_FastFeatureDetector( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_threshold(&mut self, threshold: i32) -> Result<()>

Source§

fn set_nonmax_suppression(&mut self, f: bool) -> Result<()>

Source§

fn set_type(&mut self, typ: FastFeatureDetector_DetectorType) -> Result<()>

Source§

impl FastFeatureDetectorTraitConst for BoxedRefMut<'_, FastFeatureDetector>

Source§

impl FastGlobalSmootherFilterTrait for BoxedRefMut<'_, FastGlobalSmootherFilter>

Source§

fn as_raw_mut_FastGlobalSmootherFilter( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn filter( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, ) -> Result<()>

Apply smoothing operation to the source image. Read more
Source§

impl FastGlobalSmootherFilterTraitConst for BoxedRefMut<'_, FastGlobalSmootherFilter>

Source§

fn as_raw_FastGlobalSmootherFilter( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl FastICPOdometryTrait for BoxedRefMut<'_, FastICPOdometry>

Source§

fn as_raw_mut_FastICPOdometry( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_camera_matrix(&mut self, val: &impl MatTraitConst) -> Result<()>

Source§

fn set_max_dist_diff(&mut self, val: f32) -> Result<()>

Source§

fn set_angle_threshold(&mut self, f: f32) -> Result<()>

Source§

fn set_sigma_depth(&mut self, f: f32) -> Result<()>

Source§

fn set_sigma_spatial(&mut self, f: f32) -> Result<()>

Source§

fn set_kernel_size(&mut self, f: i32) -> Result<()>

Source§

fn set_iteration_counts(&mut self, val: &impl MatTraitConst) -> Result<()>

Source§

fn set_transform_type(&mut self, val: i32) -> Result<()>

Source§

impl FastICPOdometryTraitConst for BoxedRefMut<'_, FastICPOdometry>

Source§

fn as_raw_FastICPOdometry( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn prepare_frame_cache( &self, frame: &mut Ptr<OdometryFrame>, cache_type: i32, ) -> Result<Size>

Source§

fn get_camera_matrix(&self) -> Result<Mat>

Source§

fn get_max_dist_diff(&self) -> Result<f64>

Source§

fn get_angle_threshold(&self) -> Result<f32>

Source§

fn get_sigma_depth(&self) -> Result<f32>

Source§

fn get_sigma_spatial(&self) -> Result<f32>

Source§

fn get_kernel_size(&self) -> Result<i32>

Source§

fn get_iteration_counts(&self) -> Result<Mat>

Source§

fn get_transform_type(&self) -> Result<i32>

Source§

impl FastLineDetectorTrait for BoxedRefMut<'_, FastLineDetector>

Source§

fn as_raw_mut_FastLineDetector( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn detect( &mut self, image: &impl ToInputArray, lines: &mut impl ToOutputArray, ) -> Result<()>

@example fld_lines.cpp An example using the FastLineDetector Read more
Source§

fn draw_segments( &mut self, image: &mut impl ToInputOutputArray, lines: &impl ToInputArray, draw_arrow: bool, linecolor: Scalar, linethickness: i32, ) -> Result<()>

Draws the line segments on a given image. Read more
Source§

fn draw_segments_def( &mut self, image: &mut impl ToInputOutputArray, lines: &impl ToInputArray, ) -> Result<()>

Draws the line segments on a given image. Read more
Source§

impl FastLineDetectorTraitConst for BoxedRefMut<'_, FastLineDetector>

Source§

fn as_raw_FastLineDetector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl FastMarchingMethodTrait for BoxedRefMut<'_, FastMarchingMethod>

Source§

fn as_raw_mut_FastMarchingMethod( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl FastMarchingMethodTraitConst for BoxedRefMut<'_, FastMarchingMethod>

Source§

fn as_raw_FastMarchingMethod( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn distance_map(&self) -> Result<Mat>

Returns Read more
Source§

impl Feature2DTrait for BoxedRefMut<'_, AKAZE>

Source§

fn as_raw_mut_Feature2D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn detect( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &impl ToInputArray, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &impl ToInputArray, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_multiple_def( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, ) -> Result<()>

@overload Read more
Source§

fn compute( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
Source§

fn compute_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
Source§

fn detect_and_compute( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool, ) -> Result<()>

Detects keypoints and computes the descriptors Read more
Source§

fn detect_and_compute_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Detects keypoints and computes the descriptors Read more
Source§

fn read(&mut self, file_name: &str) -> Result<()>

Source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

Source§

impl Feature2DTrait for BoxedRefMut<'_, AffineFeature>

Source§

fn as_raw_mut_Feature2D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn detect( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &impl ToInputArray, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &impl ToInputArray, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_multiple_def( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, ) -> Result<()>

@overload Read more
Source§

fn compute( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
Source§

fn compute_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
Source§

fn detect_and_compute( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool, ) -> Result<()>

Detects keypoints and computes the descriptors Read more
Source§

fn detect_and_compute_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Detects keypoints and computes the descriptors Read more
Source§

fn read(&mut self, file_name: &str) -> Result<()>

Source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

Source§

impl Feature2DTrait for BoxedRefMut<'_, AffineFeature2D>

Source§

fn as_raw_mut_Feature2D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn detect( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &impl ToInputArray, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &impl ToInputArray, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_multiple_def( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, ) -> Result<()>

@overload Read more
Source§

fn compute( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
Source§

fn compute_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
Source§

fn detect_and_compute( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool, ) -> Result<()>

Detects keypoints and computes the descriptors Read more
Source§

fn detect_and_compute_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Detects keypoints and computes the descriptors Read more
Source§

fn read(&mut self, file_name: &str) -> Result<()>

Source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

Source§

impl Feature2DTrait for BoxedRefMut<'_, AgastFeatureDetector>

Source§

fn as_raw_mut_Feature2D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn detect( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &impl ToInputArray, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &impl ToInputArray, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_multiple_def( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, ) -> Result<()>

@overload Read more
Source§

fn compute( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
Source§

fn compute_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
Source§

fn detect_and_compute( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool, ) -> Result<()>

Detects keypoints and computes the descriptors Read more
Source§

fn detect_and_compute_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Detects keypoints and computes the descriptors Read more
Source§

fn read(&mut self, file_name: &str) -> Result<()>

Source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

Source§

impl Feature2DTrait for BoxedRefMut<'_, BEBLID>

Source§

fn as_raw_mut_Feature2D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn detect( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &impl ToInputArray, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &impl ToInputArray, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_multiple_def( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, ) -> Result<()>

@overload Read more
Source§

fn compute( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
Source§

fn compute_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
Source§

fn detect_and_compute( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool, ) -> Result<()>

Detects keypoints and computes the descriptors Read more
Source§

fn detect_and_compute_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Detects keypoints and computes the descriptors Read more
Source§

fn read(&mut self, file_name: &str) -> Result<()>

Source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

Source§

impl Feature2DTrait for BoxedRefMut<'_, BRISK>

Source§

fn as_raw_mut_Feature2D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn detect( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &impl ToInputArray, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &impl ToInputArray, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_multiple_def( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, ) -> Result<()>

@overload Read more
Source§

fn compute( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
Source§

fn compute_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
Source§

fn detect_and_compute( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool, ) -> Result<()>

Detects keypoints and computes the descriptors Read more
Source§

fn detect_and_compute_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Detects keypoints and computes the descriptors Read more
Source§

fn read(&mut self, file_name: &str) -> Result<()>

Source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

Source§

impl Feature2DTrait for BoxedRefMut<'_, BoostDesc>

Source§

fn as_raw_mut_Feature2D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn detect( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &impl ToInputArray, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &impl ToInputArray, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_multiple_def( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, ) -> Result<()>

@overload Read more
Source§

fn compute( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
Source§

fn compute_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
Source§

fn detect_and_compute( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool, ) -> Result<()>

Detects keypoints and computes the descriptors Read more
Source§

fn detect_and_compute_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Detects keypoints and computes the descriptors Read more
Source§

fn read(&mut self, file_name: &str) -> Result<()>

Source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

Source§

impl Feature2DTrait for BoxedRefMut<'_, BriefDescriptorExtractor>

Source§

fn as_raw_mut_Feature2D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn detect( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &impl ToInputArray, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &impl ToInputArray, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_multiple_def( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, ) -> Result<()>

@overload Read more
Source§

fn compute( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
Source§

fn compute_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
Source§

fn detect_and_compute( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool, ) -> Result<()>

Detects keypoints and computes the descriptors Read more
Source§

fn detect_and_compute_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Detects keypoints and computes the descriptors Read more
Source§

fn read(&mut self, file_name: &str) -> Result<()>

Source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

Source§

impl Feature2DTrait for BoxedRefMut<'_, CUDA_FastFeatureDetector>

Source§

fn as_raw_mut_Feature2D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn detect( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &impl ToInputArray, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &impl ToInputArray, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_multiple_def( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, ) -> Result<()>

@overload Read more
Source§

fn compute( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
Source§

fn compute_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
Source§

fn detect_and_compute( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool, ) -> Result<()>

Detects keypoints and computes the descriptors Read more
Source§

fn detect_and_compute_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Detects keypoints and computes the descriptors Read more
Source§

fn read(&mut self, file_name: &str) -> Result<()>

Source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

Source§

impl Feature2DTrait for BoxedRefMut<'_, CUDA_Feature2DAsync>

Source§

fn as_raw_mut_Feature2D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn detect( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &impl ToInputArray, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &impl ToInputArray, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_multiple_def( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, ) -> Result<()>

@overload Read more
Source§

fn compute( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
Source§

fn compute_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
Source§

fn detect_and_compute( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool, ) -> Result<()>

Detects keypoints and computes the descriptors Read more
Source§

fn detect_and_compute_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Detects keypoints and computes the descriptors Read more
Source§

fn read(&mut self, file_name: &str) -> Result<()>

Source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

Source§

impl Feature2DTrait for BoxedRefMut<'_, CUDA_ORB>

Source§

fn as_raw_mut_Feature2D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn detect( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &impl ToInputArray, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &impl ToInputArray, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_multiple_def( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, ) -> Result<()>

@overload Read more
Source§

fn compute( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
Source§

fn compute_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
Source§

fn detect_and_compute( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool, ) -> Result<()>

Detects keypoints and computes the descriptors Read more
Source§

fn detect_and_compute_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Detects keypoints and computes the descriptors Read more
Source§

fn read(&mut self, file_name: &str) -> Result<()>

Source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

Source§

impl Feature2DTrait for BoxedRefMut<'_, DAISY>

Source§

fn as_raw_mut_Feature2D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn detect( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &impl ToInputArray, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &impl ToInputArray, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_multiple_def( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, ) -> Result<()>

@overload Read more
Source§

fn compute( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
Source§

fn compute_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
Source§

fn detect_and_compute( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool, ) -> Result<()>

Detects keypoints and computes the descriptors Read more
Source§

fn detect_and_compute_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Detects keypoints and computes the descriptors Read more
Source§

fn read(&mut self, file_name: &str) -> Result<()>

Source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

Source§

impl Feature2DTrait for BoxedRefMut<'_, FREAK>

Source§

fn as_raw_mut_Feature2D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn detect( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &impl ToInputArray, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &impl ToInputArray, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_multiple_def( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, ) -> Result<()>

@overload Read more
Source§

fn compute( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
Source§

fn compute_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
Source§

fn detect_and_compute( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool, ) -> Result<()>

Detects keypoints and computes the descriptors Read more
Source§

fn detect_and_compute_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Detects keypoints and computes the descriptors Read more
Source§

fn read(&mut self, file_name: &str) -> Result<()>

Source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

Source§

impl Feature2DTrait for BoxedRefMut<'_, FastFeatureDetector>

Source§

fn as_raw_mut_Feature2D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn detect( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &impl ToInputArray, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &impl ToInputArray, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_multiple_def( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, ) -> Result<()>

@overload Read more
Source§

fn compute( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
Source§

fn compute_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
Source§

fn detect_and_compute( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool, ) -> Result<()>

Detects keypoints and computes the descriptors Read more
Source§

fn detect_and_compute_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Detects keypoints and computes the descriptors Read more
Source§

fn read(&mut self, file_name: &str) -> Result<()>

Source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

Source§

impl Feature2DTrait for BoxedRefMut<'_, Feature2D>

Source§

fn as_raw_mut_Feature2D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn detect( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &impl ToInputArray, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &impl ToInputArray, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_multiple_def( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, ) -> Result<()>

@overload Read more
Source§

fn compute( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
Source§

fn compute_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
Source§

fn detect_and_compute( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool, ) -> Result<()>

Detects keypoints and computes the descriptors Read more
Source§

fn detect_and_compute_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Detects keypoints and computes the descriptors Read more
Source§

fn read(&mut self, file_name: &str) -> Result<()>

Source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

Source§

impl Feature2DTrait for BoxedRefMut<'_, GFTTDetector>

Source§

fn as_raw_mut_Feature2D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn detect( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &impl ToInputArray, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &impl ToInputArray, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_multiple_def( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, ) -> Result<()>

@overload Read more
Source§

fn compute( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
Source§

fn compute_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
Source§

fn detect_and_compute( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool, ) -> Result<()>

Detects keypoints and computes the descriptors Read more
Source§

fn detect_and_compute_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Detects keypoints and computes the descriptors Read more
Source§

fn read(&mut self, file_name: &str) -> Result<()>

Source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

Source§

impl Feature2DTrait for BoxedRefMut<'_, HarrisLaplaceFeatureDetector>

Source§

fn as_raw_mut_Feature2D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn detect( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &impl ToInputArray, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &impl ToInputArray, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_multiple_def( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, ) -> Result<()>

@overload Read more
Source§

fn compute( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
Source§

fn compute_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
Source§

fn detect_and_compute( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool, ) -> Result<()>

Detects keypoints and computes the descriptors Read more
Source§

fn detect_and_compute_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Detects keypoints and computes the descriptors Read more
Source§

fn read(&mut self, file_name: &str) -> Result<()>

Source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

Source§

impl Feature2DTrait for BoxedRefMut<'_, KAZE>

Source§

fn as_raw_mut_Feature2D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn detect( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &impl ToInputArray, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &impl ToInputArray, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_multiple_def( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, ) -> Result<()>

@overload Read more
Source§

fn compute( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
Source§

fn compute_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
Source§

fn detect_and_compute( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool, ) -> Result<()>

Detects keypoints and computes the descriptors Read more
Source§

fn detect_and_compute_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Detects keypoints and computes the descriptors Read more
Source§

fn read(&mut self, file_name: &str) -> Result<()>

Source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

Source§

impl Feature2DTrait for BoxedRefMut<'_, LATCH>

Source§

fn as_raw_mut_Feature2D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn detect( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &impl ToInputArray, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &impl ToInputArray, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_multiple_def( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, ) -> Result<()>

@overload Read more
Source§

fn compute( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
Source§

fn compute_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
Source§

fn detect_and_compute( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool, ) -> Result<()>

Detects keypoints and computes the descriptors Read more
Source§

fn detect_and_compute_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Detects keypoints and computes the descriptors Read more
Source§

fn read(&mut self, file_name: &str) -> Result<()>

Source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

Source§

impl Feature2DTrait for BoxedRefMut<'_, LUCID>

Source§

fn as_raw_mut_Feature2D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn detect( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &impl ToInputArray, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &impl ToInputArray, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_multiple_def( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, ) -> Result<()>

@overload Read more
Source§

fn compute( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
Source§

fn compute_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
Source§

fn detect_and_compute( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool, ) -> Result<()>

Detects keypoints and computes the descriptors Read more
Source§

fn detect_and_compute_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Detects keypoints and computes the descriptors Read more
Source§

fn read(&mut self, file_name: &str) -> Result<()>

Source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

Source§

impl Feature2DTrait for BoxedRefMut<'_, MSDDetector>

Source§

fn as_raw_mut_Feature2D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn detect( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &impl ToInputArray, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &impl ToInputArray, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_multiple_def( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, ) -> Result<()>

@overload Read more
Source§

fn compute( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
Source§

fn compute_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
Source§

fn detect_and_compute( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool, ) -> Result<()>

Detects keypoints and computes the descriptors Read more
Source§

fn detect_and_compute_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Detects keypoints and computes the descriptors Read more
Source§

fn read(&mut self, file_name: &str) -> Result<()>

Source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

Source§

impl Feature2DTrait for BoxedRefMut<'_, MSER>

Source§

fn as_raw_mut_Feature2D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn detect( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &impl ToInputArray, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &impl ToInputArray, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_multiple_def( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, ) -> Result<()>

@overload Read more
Source§

fn compute( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
Source§

fn compute_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
Source§

fn detect_and_compute( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool, ) -> Result<()>

Detects keypoints and computes the descriptors Read more
Source§

fn detect_and_compute_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Detects keypoints and computes the descriptors Read more
Source§

fn read(&mut self, file_name: &str) -> Result<()>

Source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

Source§

impl Feature2DTrait for BoxedRefMut<'_, ORB>

Source§

fn as_raw_mut_Feature2D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn detect( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &impl ToInputArray, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &impl ToInputArray, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_multiple_def( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, ) -> Result<()>

@overload Read more
Source§

fn compute( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
Source§

fn compute_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
Source§

fn detect_and_compute( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool, ) -> Result<()>

Detects keypoints and computes the descriptors Read more
Source§

fn detect_and_compute_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Detects keypoints and computes the descriptors Read more
Source§

fn read(&mut self, file_name: &str) -> Result<()>

Source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

Source§

impl Feature2DTrait for BoxedRefMut<'_, SIFT>

Source§

fn as_raw_mut_Feature2D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn detect( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &impl ToInputArray, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &impl ToInputArray, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_multiple_def( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, ) -> Result<()>

@overload Read more
Source§

fn compute( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
Source§

fn compute_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
Source§

fn detect_and_compute( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool, ) -> Result<()>

Detects keypoints and computes the descriptors Read more
Source§

fn detect_and_compute_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Detects keypoints and computes the descriptors Read more
Source§

fn read(&mut self, file_name: &str) -> Result<()>

Source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

Source§

impl Feature2DTrait for BoxedRefMut<'_, SURF>

Source§

fn as_raw_mut_Feature2D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn detect( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &impl ToInputArray, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &impl ToInputArray, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_multiple_def( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, ) -> Result<()>

@overload Read more
Source§

fn compute( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
Source§

fn compute_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
Source§

fn detect_and_compute( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool, ) -> Result<()>

Detects keypoints and computes the descriptors Read more
Source§

fn detect_and_compute_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Detects keypoints and computes the descriptors Read more
Source§

fn read(&mut self, file_name: &str) -> Result<()>

Source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

Source§

impl Feature2DTrait for BoxedRefMut<'_, SimpleBlobDetector>

Source§

fn as_raw_mut_Feature2D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn detect( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &impl ToInputArray, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &impl ToInputArray, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_multiple_def( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, ) -> Result<()>

@overload Read more
Source§

fn compute( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
Source§

fn compute_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
Source§

fn detect_and_compute( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool, ) -> Result<()>

Detects keypoints and computes the descriptors Read more
Source§

fn detect_and_compute_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Detects keypoints and computes the descriptors Read more
Source§

fn read(&mut self, file_name: &str) -> Result<()>

Source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

Source§

impl Feature2DTrait for BoxedRefMut<'_, StarDetector>

Source§

fn as_raw_mut_Feature2D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn detect( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &impl ToInputArray, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &impl ToInputArray, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_multiple_def( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, ) -> Result<()>

@overload Read more
Source§

fn compute( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
Source§

fn compute_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
Source§

fn detect_and_compute( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool, ) -> Result<()>

Detects keypoints and computes the descriptors Read more
Source§

fn detect_and_compute_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Detects keypoints and computes the descriptors Read more
Source§

fn read(&mut self, file_name: &str) -> Result<()>

Source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

Source§

impl Feature2DTrait for BoxedRefMut<'_, TBMR>

Source§

fn as_raw_mut_Feature2D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn detect( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &impl ToInputArray, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &impl ToInputArray, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_multiple_def( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, ) -> Result<()>

@overload Read more
Source§

fn compute( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
Source§

fn compute_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
Source§

fn detect_and_compute( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool, ) -> Result<()>

Detects keypoints and computes the descriptors Read more
Source§

fn detect_and_compute_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Detects keypoints and computes the descriptors Read more
Source§

fn read(&mut self, file_name: &str) -> Result<()>

Source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

Source§

impl Feature2DTrait for BoxedRefMut<'_, TEBLID>

Source§

fn as_raw_mut_Feature2D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn detect( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &impl ToInputArray, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &impl ToInputArray, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_multiple_def( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, ) -> Result<()>

@overload Read more
Source§

fn compute( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
Source§

fn compute_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
Source§

fn detect_and_compute( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool, ) -> Result<()>

Detects keypoints and computes the descriptors Read more
Source§

fn detect_and_compute_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Detects keypoints and computes the descriptors Read more
Source§

fn read(&mut self, file_name: &str) -> Result<()>

Source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

Source§

impl Feature2DTrait for BoxedRefMut<'_, VGG>

Source§

fn as_raw_mut_Feature2D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn detect( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &impl ToInputArray, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &impl ToInputArray, ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
Source§

fn detect_multiple_def( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, ) -> Result<()>

@overload Read more
Source§

fn compute( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
Source§

fn compute_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
Source§

fn detect_and_compute( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool, ) -> Result<()>

Detects keypoints and computes the descriptors Read more
Source§

fn detect_and_compute_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>

Detects keypoints and computes the descriptors Read more
Source§

fn read(&mut self, file_name: &str) -> Result<()>

Source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

Source§

impl Feature2DTraitConst for BoxedRefMut<'_, AKAZE>

Source§

fn as_raw_Feature2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn descriptor_size(&self) -> Result<i32>

Source§

fn descriptor_type(&self) -> Result<i32>

Source§

fn default_norm(&self) -> Result<i32>

Source§

fn write(&self, file_name: &str) -> Result<()>

Source§

fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

Source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
Source§

fn get_default_name(&self) -> Result<String>

Source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>

Source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>

Source§

impl Feature2DTraitConst for BoxedRefMut<'_, AffineFeature>

Source§

fn as_raw_Feature2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn descriptor_size(&self) -> Result<i32>

Source§

fn descriptor_type(&self) -> Result<i32>

Source§

fn default_norm(&self) -> Result<i32>

Source§

fn write(&self, file_name: &str) -> Result<()>

Source§

fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

Source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
Source§

fn get_default_name(&self) -> Result<String>

Source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>

Source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>

Source§

impl Feature2DTraitConst for BoxedRefMut<'_, AffineFeature2D>

Source§

fn as_raw_Feature2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn descriptor_size(&self) -> Result<i32>

Source§

fn descriptor_type(&self) -> Result<i32>

Source§

fn default_norm(&self) -> Result<i32>

Source§

fn write(&self, file_name: &str) -> Result<()>

Source§

fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

Source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
Source§

fn get_default_name(&self) -> Result<String>

Source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>

Source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>

Source§

impl Feature2DTraitConst for BoxedRefMut<'_, AgastFeatureDetector>

Source§

fn as_raw_Feature2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn descriptor_size(&self) -> Result<i32>

Source§

fn descriptor_type(&self) -> Result<i32>

Source§

fn default_norm(&self) -> Result<i32>

Source§

fn write(&self, file_name: &str) -> Result<()>

Source§

fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

Source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
Source§

fn get_default_name(&self) -> Result<String>

Source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>

Source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>

Source§

impl Feature2DTraitConst for BoxedRefMut<'_, BEBLID>

Source§

fn as_raw_Feature2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn descriptor_size(&self) -> Result<i32>

Source§

fn descriptor_type(&self) -> Result<i32>

Source§

fn default_norm(&self) -> Result<i32>

Source§

fn write(&self, file_name: &str) -> Result<()>

Source§

fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

Source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
Source§

fn get_default_name(&self) -> Result<String>

Source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>

Source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>

Source§

impl Feature2DTraitConst for BoxedRefMut<'_, BRISK>

Source§

fn as_raw_Feature2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn descriptor_size(&self) -> Result<i32>

Source§

fn descriptor_type(&self) -> Result<i32>

Source§

fn default_norm(&self) -> Result<i32>

Source§

fn write(&self, file_name: &str) -> Result<()>

Source§

fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

Source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
Source§

fn get_default_name(&self) -> Result<String>

Source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>

Source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>

Source§

impl Feature2DTraitConst for BoxedRefMut<'_, BoostDesc>

Source§

fn as_raw_Feature2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn descriptor_size(&self) -> Result<i32>

Source§

fn descriptor_type(&self) -> Result<i32>

Source§

fn default_norm(&self) -> Result<i32>

Source§

fn write(&self, file_name: &str) -> Result<()>

Source§

fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

Source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
Source§

fn get_default_name(&self) -> Result<String>

Source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>

Source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>

Source§

impl Feature2DTraitConst for BoxedRefMut<'_, BriefDescriptorExtractor>

Source§

fn as_raw_Feature2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn descriptor_size(&self) -> Result<i32>

Source§

fn descriptor_type(&self) -> Result<i32>

Source§

fn default_norm(&self) -> Result<i32>

Source§

fn write(&self, file_name: &str) -> Result<()>

Source§

fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

Source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
Source§

fn get_default_name(&self) -> Result<String>

Source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>

Source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>

Source§

impl Feature2DTraitConst for BoxedRefMut<'_, CUDA_FastFeatureDetector>

Source§

fn as_raw_Feature2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn descriptor_size(&self) -> Result<i32>

Source§

fn descriptor_type(&self) -> Result<i32>

Source§

fn default_norm(&self) -> Result<i32>

Source§

fn write(&self, file_name: &str) -> Result<()>

Source§

fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

Source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
Source§

fn get_default_name(&self) -> Result<String>

Source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>

Source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>

Source§

impl Feature2DTraitConst for BoxedRefMut<'_, CUDA_Feature2DAsync>

Source§

fn as_raw_Feature2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn descriptor_size(&self) -> Result<i32>

Source§

fn descriptor_type(&self) -> Result<i32>

Source§

fn default_norm(&self) -> Result<i32>

Source§

fn write(&self, file_name: &str) -> Result<()>

Source§

fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

Source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
Source§

fn get_default_name(&self) -> Result<String>

Source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>

Source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>

Source§

impl Feature2DTraitConst for BoxedRefMut<'_, CUDA_ORB>

Source§

fn as_raw_Feature2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn descriptor_size(&self) -> Result<i32>

Source§

fn descriptor_type(&self) -> Result<i32>

Source§

fn default_norm(&self) -> Result<i32>

Source§

fn write(&self, file_name: &str) -> Result<()>

Source§

fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

Source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
Source§

fn get_default_name(&self) -> Result<String>

Source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>

Source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>

Source§

impl Feature2DTraitConst for BoxedRefMut<'_, DAISY>

Source§

fn as_raw_Feature2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn descriptor_size(&self) -> Result<i32>

Source§

fn descriptor_type(&self) -> Result<i32>

Source§

fn default_norm(&self) -> Result<i32>

Source§

fn write(&self, file_name: &str) -> Result<()>

Source§

fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

Source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
Source§

fn get_default_name(&self) -> Result<String>

Source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>

Source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>

Source§

impl Feature2DTraitConst for BoxedRefMut<'_, FREAK>

Source§

fn as_raw_Feature2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn descriptor_size(&self) -> Result<i32>

Source§

fn descriptor_type(&self) -> Result<i32>

Source§

fn default_norm(&self) -> Result<i32>

Source§

fn write(&self, file_name: &str) -> Result<()>

Source§

fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

Source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
Source§

fn get_default_name(&self) -> Result<String>

Source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>

Source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>

Source§

impl Feature2DTraitConst for BoxedRefMut<'_, FastFeatureDetector>

Source§

fn as_raw_Feature2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn descriptor_size(&self) -> Result<i32>

Source§

fn descriptor_type(&self) -> Result<i32>

Source§

fn default_norm(&self) -> Result<i32>

Source§

fn write(&self, file_name: &str) -> Result<()>

Source§

fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

Source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
Source§

fn get_default_name(&self) -> Result<String>

Source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>

Source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>

Source§

impl Feature2DTraitConst for BoxedRefMut<'_, Feature2D>

Source§

fn as_raw_Feature2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn descriptor_size(&self) -> Result<i32>

Source§

fn descriptor_type(&self) -> Result<i32>

Source§

fn default_norm(&self) -> Result<i32>

Source§

fn write(&self, file_name: &str) -> Result<()>

Source§

fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

Source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
Source§

fn get_default_name(&self) -> Result<String>

Source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>

Source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>

Source§

impl Feature2DTraitConst for BoxedRefMut<'_, GFTTDetector>

Source§

fn as_raw_Feature2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn descriptor_size(&self) -> Result<i32>

Source§

fn descriptor_type(&self) -> Result<i32>

Source§

fn default_norm(&self) -> Result<i32>

Source§

fn write(&self, file_name: &str) -> Result<()>

Source§

fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

Source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
Source§

fn get_default_name(&self) -> Result<String>

Source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>

Source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>

Source§

impl Feature2DTraitConst for BoxedRefMut<'_, HarrisLaplaceFeatureDetector>

Source§

fn as_raw_Feature2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn descriptor_size(&self) -> Result<i32>

Source§

fn descriptor_type(&self) -> Result<i32>

Source§

fn default_norm(&self) -> Result<i32>

Source§

fn write(&self, file_name: &str) -> Result<()>

Source§

fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

Source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
Source§

fn get_default_name(&self) -> Result<String>

Source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>

Source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>

Source§

impl Feature2DTraitConst for BoxedRefMut<'_, KAZE>

Source§

fn as_raw_Feature2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn descriptor_size(&self) -> Result<i32>

Source§

fn descriptor_type(&self) -> Result<i32>

Source§

fn default_norm(&self) -> Result<i32>

Source§

fn write(&self, file_name: &str) -> Result<()>

Source§

fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

Source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
Source§

fn get_default_name(&self) -> Result<String>

Source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>

Source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>

Source§

impl Feature2DTraitConst for BoxedRefMut<'_, LATCH>

Source§

fn as_raw_Feature2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn descriptor_size(&self) -> Result<i32>

Source§

fn descriptor_type(&self) -> Result<i32>

Source§

fn default_norm(&self) -> Result<i32>

Source§

fn write(&self, file_name: &str) -> Result<()>

Source§

fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

Source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
Source§

fn get_default_name(&self) -> Result<String>

Source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>

Source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>

Source§

impl Feature2DTraitConst for BoxedRefMut<'_, LUCID>

Source§

fn as_raw_Feature2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn descriptor_size(&self) -> Result<i32>

Source§

fn descriptor_type(&self) -> Result<i32>

Source§

fn default_norm(&self) -> Result<i32>

Source§

fn write(&self, file_name: &str) -> Result<()>

Source§

fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

Source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
Source§

fn get_default_name(&self) -> Result<String>

Source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>

Source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>

Source§

impl Feature2DTraitConst for BoxedRefMut<'_, MSDDetector>

Source§

fn as_raw_Feature2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn descriptor_size(&self) -> Result<i32>

Source§

fn descriptor_type(&self) -> Result<i32>

Source§

fn default_norm(&self) -> Result<i32>

Source§

fn write(&self, file_name: &str) -> Result<()>

Source§

fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

Source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
Source§

fn get_default_name(&self) -> Result<String>

Source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>

Source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>

Source§

impl Feature2DTraitConst for BoxedRefMut<'_, MSER>

Source§

fn as_raw_Feature2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn descriptor_size(&self) -> Result<i32>

Source§

fn descriptor_type(&self) -> Result<i32>

Source§

fn default_norm(&self) -> Result<i32>

Source§

fn write(&self, file_name: &str) -> Result<()>

Source§

fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

Source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
Source§

fn get_default_name(&self) -> Result<String>

Source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>

Source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>

Source§

impl Feature2DTraitConst for BoxedRefMut<'_, ORB>

Source§

fn as_raw_Feature2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn descriptor_size(&self) -> Result<i32>

Source§

fn descriptor_type(&self) -> Result<i32>

Source§

fn default_norm(&self) -> Result<i32>

Source§

fn write(&self, file_name: &str) -> Result<()>

Source§

fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

Source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
Source§

fn get_default_name(&self) -> Result<String>

Source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>

Source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>

Source§

impl Feature2DTraitConst for BoxedRefMut<'_, SIFT>

Source§

fn as_raw_Feature2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn descriptor_size(&self) -> Result<i32>

Source§

fn descriptor_type(&self) -> Result<i32>

Source§

fn default_norm(&self) -> Result<i32>

Source§

fn write(&self, file_name: &str) -> Result<()>

Source§

fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

Source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
Source§

fn get_default_name(&self) -> Result<String>

Source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>

Source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>

Source§

impl Feature2DTraitConst for BoxedRefMut<'_, SURF>

Source§

fn as_raw_Feature2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn descriptor_size(&self) -> Result<i32>

Source§

fn descriptor_type(&self) -> Result<i32>

Source§

fn default_norm(&self) -> Result<i32>

Source§

fn write(&self, file_name: &str) -> Result<()>

Source§

fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

Source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
Source§

fn get_default_name(&self) -> Result<String>

Source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>

Source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>

Source§

impl Feature2DTraitConst for BoxedRefMut<'_, SimpleBlobDetector>

Source§

fn as_raw_Feature2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn descriptor_size(&self) -> Result<i32>

Source§

fn descriptor_type(&self) -> Result<i32>

Source§

fn default_norm(&self) -> Result<i32>

Source§

fn write(&self, file_name: &str) -> Result<()>

Source§

fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

Source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
Source§

fn get_default_name(&self) -> Result<String>

Source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>

Source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>

Source§

impl Feature2DTraitConst for BoxedRefMut<'_, StarDetector>

Source§

fn as_raw_Feature2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn descriptor_size(&self) -> Result<i32>

Source§

fn descriptor_type(&self) -> Result<i32>

Source§

fn default_norm(&self) -> Result<i32>

Source§

fn write(&self, file_name: &str) -> Result<()>

Source§

fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

Source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
Source§

fn get_default_name(&self) -> Result<String>

Source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>

Source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>

Source§

impl Feature2DTraitConst for BoxedRefMut<'_, TBMR>

Source§

fn as_raw_Feature2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn descriptor_size(&self) -> Result<i32>

Source§

fn descriptor_type(&self) -> Result<i32>

Source§

fn default_norm(&self) -> Result<i32>

Source§

fn write(&self, file_name: &str) -> Result<()>

Source§

fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

Source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
Source§

fn get_default_name(&self) -> Result<String>

Source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>

Source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>

Source§

impl Feature2DTraitConst for BoxedRefMut<'_, TEBLID>

Source§

fn as_raw_Feature2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn descriptor_size(&self) -> Result<i32>

Source§

fn descriptor_type(&self) -> Result<i32>

Source§

fn default_norm(&self) -> Result<i32>

Source§

fn write(&self, file_name: &str) -> Result<()>

Source§

fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

Source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
Source§

fn get_default_name(&self) -> Result<String>

Source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>

Source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>

Source§

impl Feature2DTraitConst for BoxedRefMut<'_, VGG>

Source§

fn as_raw_Feature2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn descriptor_size(&self) -> Result<i32>

Source§

fn descriptor_type(&self) -> Result<i32>

Source§

fn default_norm(&self) -> Result<i32>

Source§

fn write(&self, file_name: &str) -> Result<()>

Source§

fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

Source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
Source§

fn get_default_name(&self) -> Result<String>

Source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>

Source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>

Source§

impl FileNodeIteratorTrait for BoxedRefMut<'_, FileNodeIterator>

Source§

fn as_raw_mut_FileNodeIterator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set(&mut self, it: &impl FileNodeIteratorTraitConst) -> Result<()>

Source§

fn incr(&mut self) -> Result<FileNodeIterator>

moves iterator to the next node
Source§

fn read_raw(&mut self, fmt: &str, vec: &mut [u8]) -> Result<FileNodeIterator>

Reads node elements to the buffer with the specified format. Read more
Source§

impl FileNodeIteratorTraitConst for BoxedRefMut<'_, FileNodeIterator>

Source§

fn as_raw_FileNodeIterator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn try_deref(&self) -> Result<FileNode>

returns the currently observed element
Source§

fn remaining(&self) -> Result<size_t>

returns the number of remaining (not read yet) elements
Source§

fn equal_to(&self, it: &impl FileNodeIteratorTraitConst) -> Result<bool>

Source§

impl FileNodeTrait for BoxedRefMut<'_, FileNode>

Source§

fn as_raw_mut_FileNode( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_block_idx(&mut self, val: size_t)

Source§

fn set_ofs(&mut self, val: size_t)

Source§

fn set(&mut self, node: &impl FileNodeTraitConst) -> Result<()>

Source§

fn ptr_1(&mut self) -> Result<*mut u8>

Source§

fn set_value(&mut self, typ: i32, value: &mut [u8]) -> Result<()>

Internal method used when reading FileStorage. Sets the type (int, real or string) and value of the previously created node.
Source§

impl FileNodeTraitConst for BoxedRefMut<'_, FileNode>

Source§

fn as_raw_FileNode(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn block_idx(&self) -> size_t

Source§

fn ofs(&self) -> size_t

Source§

fn get(&self, nodename: &str) -> Result<FileNode>

Returns element of a mapping node or a sequence node. Read more
Source§

fn get_node(&self, nodename: &str) -> Result<FileNode>

Returns element of a mapping node or a sequence node. Read more
Source§

fn at(&self, i: i32) -> Result<FileNode>

Returns element of a mapping node or a sequence node. Read more
Source§

fn keys(&self) -> Result<Vector<String>>

Returns keys of a mapping node. Read more
Source§

fn typ(&self) -> Result<i32>

Returns type of the node. Read more
Source§

fn empty(&self) -> Result<bool>

returns true if the node is empty
Source§

fn is_none(&self) -> Result<bool>

returns true if the node is a “none” object
Source§

fn is_seq(&self) -> Result<bool>

returns true if the node is a sequence
Source§

fn is_map(&self) -> Result<bool>

returns true if the node is a mapping
Source§

fn is_int(&self) -> Result<bool>

returns true if the node is an integer
Source§

fn is_real(&self) -> Result<bool>

returns true if the node is a floating-point number
Source§

fn is_string(&self) -> Result<bool>

returns true if the node is a text string
Source§

fn is_named(&self) -> Result<bool>

returns true if the node has a name
Source§

fn name(&self) -> Result<String>

returns the node name or an empty string if the node is nameless
Source§

fn size(&self) -> Result<size_t>

returns the number of elements in the node, if it is a sequence or mapping, or 1 otherwise.
Source§

fn raw_size(&self) -> Result<size_t>

returns raw size of the FileNode in bytes
Source§

fn to_i32(&self) -> Result<i32>

returns the node content as an integer. If the node stores floating-point number, it is rounded.
Source§

fn to_i64(&self) -> Result<i64>

returns the node content as a signed 64bit integer. If the node stores floating-point number, it is rounded.
Source§

fn to_f32(&self) -> Result<f32>

returns the node content as float
Source§

fn to_f64(&self) -> Result<f64>

returns the node content as double
Source§

fn to_string(&self) -> Result<String>

returns the node content as text string
Source§

fn ptr(&self) -> Result<*const u8>

Source§

fn begin(&self) -> Result<FileNodeIterator>

returns iterator pointing to the first node element
Source§

fn end(&self) -> Result<FileNodeIterator>

returns iterator pointing to the element following the last node element
Source§

fn read_raw(&self, fmt: &str, vec: &mut [u8]) -> Result<()>

Reads node elements to the buffer with the specified format. Read more
Source§

fn real(&self) -> Result<f64>

Simplified reading API to use with bindings.
Source§

fn string(&self) -> Result<String>

Simplified reading API to use with bindings.
Source§

fn mat(&self) -> Result<Mat>

Simplified reading API to use with bindings.
Source§

impl FileStorageTrait for BoxedRefMut<'_, FileStorage>

Source§

fn as_raw_mut_FileStorage( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_state(&mut self, val: i32)

Source§

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

Source§

fn open(&mut self, filename: &str, flags: i32, encoding: &str) -> Result<bool>

Opens a file. Read more
Source§

fn open_def(&mut self, filename: &str, flags: i32) -> Result<bool>

Opens a file. Read more
Source§

fn release(&mut self) -> Result<()>

Closes the file and releases all the memory buffers. Read more
Source§

fn release_and_get_string(&mut self) -> Result<String>

Closes the file and releases all the memory buffers. Read more
Source§

fn write_i32(&mut self, name: &str, val: i32) -> Result<()>

Simplified writing API to use with bindings. Read more
Source§

fn write(&mut self, name: &str, val: i64) -> Result<()>

Simplified writing API to use with bindings. Read more
Source§

fn write_f64(&mut self, name: &str, val: f64) -> Result<()>

Simplified writing API to use with bindings. Read more
Source§

fn write_str(&mut self, name: &str, val: &str) -> Result<()>

Simplified writing API to use with bindings. Read more
Source§

fn write_mat(&mut self, name: &str, val: &impl MatTraitConst) -> Result<()>

Simplified writing API to use with bindings. Read more
Source§

fn write_str_vec(&mut self, name: &str, val: &Vector<String>) -> Result<()>

Simplified writing API to use with bindings. Read more
Source§

fn write_raw(&mut self, fmt: &str, vec: &mut [u8]) -> Result<()>

Writes multiple numbers. Read more
Source§

fn write_comment(&mut self, comment: &str, append: bool) -> Result<()>

Writes a comment. Read more
Source§

fn write_comment_def(&mut self, comment: &str) -> Result<()>

Writes a comment. Read more
Source§

fn start_write_struct( &mut self, name: &str, flags: i32, type_name: &str, ) -> Result<()>

Starts to write a nested structure (sequence or a mapping). Read more
Source§

fn start_write_struct_def(&mut self, name: &str, flags: i32) -> Result<()>

Starts to write a nested structure (sequence or a mapping). Read more
Source§

fn end_write_struct(&mut self) -> Result<()>

Finishes writing nested structure (should pair startWriteStruct())
Source§

impl FileStorageTraitConst for BoxedRefMut<'_, FileStorage>

Source§

fn as_raw_FileStorage(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn state(&self) -> i32

Source§

fn elname(&self) -> String

Source§

fn is_opened(&self) -> Result<bool>

Checks whether the file is opened. Read more
Source§

fn get_first_top_level_node(&self) -> Result<FileNode>

Returns the first element of the top-level mapping. Read more
Source§

fn root(&self, streamidx: i32) -> Result<FileNode>

Returns the top-level mapping Read more
Source§

fn root_def(&self) -> Result<FileNode>

Returns the top-level mapping Read more
Source§

fn get(&self, nodename: &str) -> Result<FileNode>

Returns the specified element of the top-level mapping. Read more
Source§

fn get_node(&self, nodename: &str) -> Result<FileNode>

Returns the specified element of the top-level mapping. Read more
Source§

fn get_format(&self) -> Result<i32>

Returns the current format. Read more
Source§

impl FilterTrait for BoxedRefMut<'_, Filter>

Source§

fn as_raw_mut_Filter( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn apply( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, stream: &mut impl StreamTrait, ) -> Result<()>

Applies the specified filter to the image. Read more
Source§

fn apply_def( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, ) -> Result<()>

Applies the specified filter to the image. Read more
Source§

impl FilterTraitConst for BoxedRefMut<'_, Filter>

Source§

fn as_raw_Filter(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl FisherFaceRecognizerTrait for BoxedRefMut<'_, FisherFaceRecognizer>

Source§

fn as_raw_mut_FisherFaceRecognizer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl FisherFaceRecognizerTraitConst for BoxedRefMut<'_, FisherFaceRecognizer>

Source§

fn as_raw_FisherFaceRecognizer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl FisheyeWarperTrait for BoxedRefMut<'_, FisheyeWarper>

Source§

fn as_raw_mut_FisheyeWarper( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl FisheyeWarperTraitConst for BoxedRefMut<'_, FisheyeWarper>

Source§

fn as_raw_FisheyeWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn create(&self, scale: f32) -> Result<Ptr<Detail_RotationWarper>>

Source§

impl FlannBasedMatcherTrait for BoxedRefMut<'_, FlannBasedMatcher>

Source§

fn as_raw_mut_FlannBasedMatcher( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn add(&mut self, descriptors: &impl ToInputArray) -> Result<()>

Source§

fn clear(&mut self) -> Result<()>

Source§

fn read(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

Source§

fn train(&mut self) -> Result<()>

Source§

impl FlannBasedMatcherTraitConst for BoxedRefMut<'_, FlannBasedMatcher>

Source§

fn as_raw_FlannBasedMatcher( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

Source§

fn is_mask_supported(&self) -> Result<bool>

Source§

fn clone(&self, empty_train_data: bool) -> Result<Ptr<DescriptorMatcher>>

C++ default parameters Read more
Source§

fn clone_def(&self) -> Result<Ptr<DescriptorMatcher>>

Source§

impl FlattenLayerTrait for BoxedRefMut<'_, FlattenLayer>

Source§

fn as_raw_mut_FlattenLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl FlattenLayerTraitConst for BoxedRefMut<'_, FlattenLayer>

Source§

fn as_raw_FlattenLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl FloorLayerTrait for BoxedRefMut<'_, FloorLayer>

Source§

fn as_raw_mut_FloorLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl FloorLayerTraitConst for BoxedRefMut<'_, FloorLayer>

Source§

fn as_raw_FloorLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl FlowWarpLayerTrait for BoxedRefMut<'_, FlowWarpLayer>

Source§

fn as_raw_mut_FlowWarpLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl FlowWarpLayerTraitConst for BoxedRefMut<'_, FlowWarpLayer>

Source§

fn as_raw_FlowWarpLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl FormattedTrait for BoxedRefMut<'_, Formatted>

Source§

fn as_raw_mut_Formatted( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn next(&mut self) -> Result<String>

Source§

fn reset(&mut self) -> Result<()>

Source§

impl FormattedTraitConst for BoxedRefMut<'_, Formatted>

Source§

fn as_raw_Formatted(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl FormatterTrait for BoxedRefMut<'_, Formatter>

Source§

fn as_raw_mut_Formatter( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set16f_precision(&mut self, p: i32) -> Result<()>

C++ default parameters Read more
Source§

fn set16f_precision_def(&mut self) -> Result<()>

Source§

fn set32f_precision(&mut self, p: i32) -> Result<()>

C++ default parameters Read more
Source§

fn set32f_precision_def(&mut self) -> Result<()>

Source§

fn set64f_precision(&mut self, p: i32) -> Result<()>

C++ default parameters Read more
Source§

fn set64f_precision_def(&mut self) -> Result<()>

Source§

fn set_multiline(&mut self, ml: bool) -> Result<()>

C++ default parameters Read more
Source§

fn set_multiline_def(&mut self) -> Result<()>

Source§

impl FormatterTraitConst for BoxedRefMut<'_, Formatter>

Source§

fn as_raw_Formatter(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn format(&self, mtx: &impl MatTraitConst) -> Result<Ptr<Formatted>>

Source§

impl FreeType2Trait for BoxedRefMut<'_, FreeType2>

Source§

fn as_raw_mut_FreeType2( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn load_font_data(&mut self, font_file_name: &str, idx: i32) -> Result<()>

Load font data. Read more
Source§

unsafe fn load_font_data_1( &mut self, p_buf: *mut c_char, buf_size: size_t, idx: i32, ) -> Result<()>

Load font data. Read more
Source§

fn set_split_number(&mut self, num: i32) -> Result<()>

Set Split Number from Bezier-curve to line Read more
Source§

fn put_text( &mut self, img: &mut impl ToInputOutputArray, text: &str, org: Point, font_height: i32, color: Scalar, thickness: i32, line_type: i32, bottom_left_origin: bool, ) -> Result<()>

Draws a text string. Read more
Source§

fn get_text_size( &mut self, text: &str, font_height: i32, thickness: i32, base_line: &mut i32, ) -> Result<Size>

Calculates the width and height of a text string. Read more
Source§

impl FreeType2TraitConst for BoxedRefMut<'_, FreeType2>

Source§

fn as_raw_FreeType2(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl<'r, T: Boxed> From<BoxedRefMut<'r, T>> for BoxedRef<'r, T>

Source§

fn from(value: BoxedRefMut<'r, T>) -> Self

Irreversibly convert this BoxedRefMut into a non-mutable BoxedRef

Source§

impl<T: Boxed> From<T> for BoxedRefMut<'_, T>

Source§

fn from(value: T) -> Self

Converts to this type from the input type.
Source§

impl FromFileMotionReaderTrait for BoxedRefMut<'_, FromFileMotionReader>

Source§

fn as_raw_mut_FromFileMotionReader( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn estimate( &mut self, frame0: &impl MatTraitConst, frame1: &impl MatTraitConst, ok: &mut bool, ) -> Result<Mat>

C++ default parameters Read more
Source§

fn estimate_def( &mut self, frame0: &impl MatTraitConst, frame1: &impl MatTraitConst, ) -> Result<Mat>

Source§

impl FromFileMotionReaderTraitConst for BoxedRefMut<'_, FromFileMotionReader>

Source§

fn as_raw_FromFileMotionReader( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl GArgTrait for BoxedRefMut<'_, GArg>

Source§

fn as_raw_mut_GArg( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_kind(&mut self, val: Detail_ArgKind)

C++ default parameters Read more
Source§

fn set_opaque_kind(&mut self, val: Detail_OpaqueKind)

C++ default parameters Read more
Source§

impl GArgTraitConst for BoxedRefMut<'_, GArg>

Source§

fn as_raw_GArg(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn kind(&self) -> Detail_ArgKind

Source§

fn opaque_kind(&self) -> Detail_OpaqueKind

Source§

impl GArrayDescTrait for BoxedRefMut<'_, GArrayDesc>

Source§

fn as_raw_mut_GArrayDesc( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl GArrayDescTraitConst for BoxedRefMut<'_, GArrayDesc>

Source§

fn as_raw_GArrayDesc(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn equals(&self, unnamed: &impl GArrayDescTraitConst) -> Result<bool>

Source§

impl GBackendTrait for BoxedRefMut<'_, GBackend>

Source§

fn as_raw_mut_GBackend( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl GBackendTraitConst for BoxedRefMut<'_, GBackend>

Source§

fn as_raw_GBackend(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn equals(&self, rhs: &impl GBackendTraitConst) -> Result<bool>

Source§

impl GCallTrait for BoxedRefMut<'_, GCall>

Source§

fn as_raw_mut_GCall( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn yield_(&mut self, output: i32) -> Result<GMat>

C++ default parameters Read more
Source§

fn yield__def(&mut self) -> Result<GMat>

Source§

fn yield_p(&mut self, output: i32) -> Result<GMatP>

C++ default parameters Read more
Source§

fn yield_p_def(&mut self) -> Result<GMatP>

Source§

fn yield_scalar(&mut self, output: i32) -> Result<GScalar>

C++ default parameters Read more
Source§

fn yield_scalar_def(&mut self) -> Result<GScalar>

Source§

fn yield_frame(&mut self, output: i32) -> Result<GFrame>

C++ default parameters Read more
Source§

fn yield_frame_def(&mut self) -> Result<GFrame>

Source§

fn kernel(&mut self) -> Result<GKernel>

Source§

fn params(&mut self) -> Result<any>

Source§

fn set_args(&mut self, args: Vector<GArg>) -> Result<()>

Source§

impl GCallTraitConst for BoxedRefMut<'_, GCall>

Source§

fn as_raw_GCall(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl GCompileArgTrait for BoxedRefMut<'_, GCompileArg>

Source§

fn as_raw_mut_GCompileArg( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

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

Source§

impl GCompileArgTraitConst for BoxedRefMut<'_, GCompileArg>

Source§

fn as_raw_GCompileArg(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn tag(&self) -> String

Source§

impl GCompiledTrait for BoxedRefMut<'_, GCompiled>

Source§

fn as_raw_mut_GCompiled( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn apply(&mut self, in_: impl MatTrait, out: &mut impl MatTrait) -> Result<()>

Execute an unary computation Read more
Source§

fn apply_1(&mut self, in_: impl MatTrait, out: &mut Scalar) -> Result<()>

Execute an unary computation Read more
Source§

fn apply_2( &mut self, in1: impl MatTrait, in2: impl MatTrait, out: &mut impl MatTrait, ) -> Result<()>

Execute a binary computation Read more
Source§

fn apply_3( &mut self, in1: impl MatTrait, in2: impl MatTrait, out: &mut Scalar, ) -> Result<()>

Execute an binary computation Read more
Source§

fn apply_4(&mut self, ins: &Vector<Mat>, outs: &Vector<Mat>) -> Result<()>

Execute a computation with arbitrary number of inputs/outputs. Read more
Source§

fn prepare_for_new_stream(&mut self) -> Result<()>

Prepare inner kernels states for a new video-stream. Read more
Source§

impl GCompiledTraitConst for BoxedRefMut<'_, GCompiled>

Source§

fn as_raw_GCompiled(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn to_bool(&self) -> Result<bool>

Check if compiled object is valid (non-empty) Read more
Source§

fn can_reshape(&self) -> Result<bool>

Check if the underlying backends support reshape or not. Read more
Source§

impl GComputationTrait for BoxedRefMut<'_, GComputation>

Source§

fn as_raw_mut_GComputation( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn apply( &mut self, callback: &impl Detail_ExtractArgsCallbackTraitConst, args: GCompileArgs, ) -> Result<GRunArgs>

@private – Exclude this function from OpenCV documentation Read more
Source§

fn apply_def( &mut self, callback: &impl Detail_ExtractArgsCallbackTraitConst, ) -> Result<GRunArgs>

@private – Exclude this function from OpenCV documentation Read more
Source§

fn apply_1( &mut self, ins: &Vector<Mat>, outs: &Vector<Mat>, args: GCompileArgs, ) -> Result<()>

@private – Exclude this function from OpenCV documentation Read more
Source§

fn apply_def_1(&mut self, ins: &Vector<Mat>, outs: &Vector<Mat>) -> Result<()>

@private – Exclude this function from OpenCV documentation Read more
Source§

fn apply_2( &mut self, in_: impl MatTrait, out: &mut impl MatTrait, args: GCompileArgs, ) -> Result<()>

Execute an unary computation (with compilation on the fly) Read more
Source§

fn apply_def_2( &mut self, in_: impl MatTrait, out: &mut impl MatTrait, ) -> Result<()>

Execute an unary computation (with compilation on the fly) Read more
Source§

fn apply_3( &mut self, in_: impl MatTrait, out: &mut Scalar, args: GCompileArgs, ) -> Result<()>

Execute an unary computation (with compilation on the fly) Read more
Source§

fn apply_def_3(&mut self, in_: impl MatTrait, out: &mut Scalar) -> Result<()>

Execute an unary computation (with compilation on the fly) Read more
Source§

fn apply_4( &mut self, in1: impl MatTrait, in2: impl MatTrait, out: &mut impl MatTrait, args: GCompileArgs, ) -> Result<()>

Execute a binary computation (with compilation on the fly) Read more
Source§

fn apply_def_4( &mut self, in1: impl MatTrait, in2: impl MatTrait, out: &mut impl MatTrait, ) -> Result<()>

Execute a binary computation (with compilation on the fly) Read more
Source§

fn apply_5( &mut self, in1: impl MatTrait, in2: impl MatTrait, out: &mut Scalar, args: GCompileArgs, ) -> Result<()>

Execute an binary computation (with compilation on the fly) Read more
Source§

fn apply_def_5( &mut self, in1: impl MatTrait, in2: impl MatTrait, out: &mut Scalar, ) -> Result<()>

Execute an binary computation (with compilation on the fly) Read more
Source§

fn apply_6( &mut self, ins: &Vector<Mat>, outs: &mut Vector<Mat>, args: GCompileArgs, ) -> Result<()>

Execute a computation with arbitrary number of inputs/outputs (with compilation on-the-fly). Read more
Source§

fn apply_def_6( &mut self, ins: &Vector<Mat>, outs: &mut Vector<Mat>, ) -> Result<()>

Execute a computation with arbitrary number of inputs/outputs (with compilation on-the-fly). Read more
Source§

fn compile_streaming( &mut self, args: GCompileArgs, ) -> Result<GStreamingCompiled>

Compile the computation for streaming mode. Read more
Source§

fn compile_streaming_def(&mut self) -> Result<GStreamingCompiled>

Compile the computation for streaming mode. Read more
Source§

fn compile_streaming_1( &mut self, callback: &impl Detail_ExtractMetaCallbackTraitConst, args: GCompileArgs, ) -> Result<GStreamingCompiled>

@private – Exclude this function from OpenCV documentation Read more
Source§

fn compile_streaming_def_1( &mut self, callback: &impl Detail_ExtractMetaCallbackTraitConst, ) -> Result<GStreamingCompiled>

@private – Exclude this function from OpenCV documentation Read more
Source§

impl GComputationTraitConst for BoxedRefMut<'_, GComputation>

Source§

fn as_raw_GComputation(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl GFTTDetectorTrait for BoxedRefMut<'_, GFTTDetector>

Source§

fn as_raw_mut_GFTTDetector( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_max_features(&mut self, max_features: i32) -> Result<()>

Source§

fn set_quality_level(&mut self, qlevel: f64) -> Result<()>

Source§

fn set_min_distance(&mut self, min_distance: f64) -> Result<()>

Source§

fn set_block_size(&mut self, block_size: i32) -> Result<()>

Source§

fn set_gradient_size(&mut self, gradient_size_: i32) -> Result<()>

Source§

fn get_gradient_size(&mut self) -> Result<i32>

Source§

fn set_harris_detector(&mut self, val: bool) -> Result<()>

Source§

fn set_k(&mut self, k: f64) -> Result<()>

Source§

impl GFTTDetectorTraitConst for BoxedRefMut<'_, GFTTDetector>

Source§

fn as_raw_GFTTDetector(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_max_features(&self) -> Result<i32>

Source§

fn get_quality_level(&self) -> Result<f64>

Source§

fn get_min_distance(&self) -> Result<f64>

Source§

fn get_block_size(&self) -> Result<i32>

Source§

fn get_harris_detector(&self) -> Result<bool>

Source§

fn get_k(&self) -> Result<f64>

Source§

fn get_default_name(&self) -> Result<String>

Source§

impl GFrameDescTrait for BoxedRefMut<'_, GFrameDesc>

Source§

fn as_raw_mut_GFrameDesc( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_fmt(&mut self, val: MediaFormat)

Source§

fn set_size(&mut self, val: Size)

Source§

impl GFrameDescTraitConst for BoxedRefMut<'_, GFrameDesc>

Source§

fn as_raw_GFrameDesc(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn fmt(&self) -> MediaFormat

Source§

fn size(&self) -> Size

Source§

fn equals(&self, unnamed: &impl GFrameDescTraitConst) -> Result<bool>

Source§

impl GFrameTrait for BoxedRefMut<'_, GFrame>

Source§

fn as_raw_mut_GFrame( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl GFrameTraitConst for BoxedRefMut<'_, GFrame>

Source§

fn as_raw_GFrame(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl GFunctorTrait for BoxedRefMut<'_, GFunctor>

Source§

fn as_raw_mut_GFunctor( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl GFunctorTraitConst for BoxedRefMut<'_, GFunctor>

Source§

fn as_raw_GFunctor(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn impl_(&self) -> Result<GKernelImpl>

Source§

fn backend(&self) -> Result<GBackend>

Source§

fn id(&self) -> Result<String>

Source§

impl GKernelImplTrait for BoxedRefMut<'_, GKernelImpl>

Source§

fn as_raw_mut_GKernelImpl( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_opaque(&mut self, val: any)

Source§

impl GKernelImplTraitConst for BoxedRefMut<'_, GKernelImpl>

Source§

fn as_raw_GKernelImpl(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn opaque(&self) -> any

Source§

impl GKernelPackageTrait for BoxedRefMut<'_, GKernelPackage>

Source§

fn as_raw_mut_GKernelPackage( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn include(&mut self, functor: &impl GFunctorTraitConst) -> Result<()>

Source§

fn remove(&mut self, backend: &impl GBackendTraitConst) -> Result<()>

Remove all kernels associated with the given backend from the package. Read more
Source§

fn include_1( &mut self, backend: &impl GBackendTraitConst, kernel_id: &str, ) -> Result<()>

Adds a new kernel based on it’s backend and id into the kernel package Read more
Source§

impl GKernelPackageTraitConst for BoxedRefMut<'_, GKernelPackage>

Source§

fn as_raw_GKernelPackage( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_transformations(&self) -> Result<Vector<GTransform>>

Returns vector of transformations included in the package Read more
Source§

fn get_kernel_ids(&self) -> Result<Vector<String>>

Returns vector of kernel ids included in the package Read more
Source§

fn includes_api(&self, id: &str) -> Result<bool>

@private
Source§

fn lookup(&self, id: &str) -> Result<Tuple<(GBackend, GKernelImpl)>>

@private
Source§

fn backends(&self) -> Result<Vector<GBackend>>

Lists all backends which are included into package Read more
Source§

impl GKernelTrait for BoxedRefMut<'_, GKernel>

Source§

fn as_raw_mut_GKernel( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

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

Source§

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

Source§

fn set_out_shapes(&mut self, val: GShapes)

Source§

fn set_in_kinds(&mut self, val: GKinds)

Source§

fn set_out_kinds(&mut self, val: GKinds)

Source§

impl GKernelTraitConst for BoxedRefMut<'_, GKernel>

Source§

fn as_raw_GKernel(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn name(&self) -> String

Source§

fn tag(&self) -> String

Source§

fn out_shapes(&self) -> GShapes

Source§

fn in_kinds(&self) -> GKinds

Source§

fn out_kinds(&self) -> GKinds

Source§

impl GMatDescTrait for BoxedRefMut<'_, GMatDesc>

Source§

fn as_raw_mut_GMatDesc( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_depth(&mut self, val: i32)

Source§

fn set_chan(&mut self, val: i32)

Source§

fn set_size(&mut self, val: Size)

Source§

fn set_planar(&mut self, val: bool)

Source§

fn set_dims(&mut self, val: Vector<i32>)

Source§

impl GMatDescTraitConst for BoxedRefMut<'_, GMatDesc>

Source§

fn as_raw_GMatDesc(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn depth(&self) -> i32

Source§

fn chan(&self) -> i32

Source§

fn size(&self) -> Size

Source§

fn planar(&self) -> bool

Source§

fn dims(&self) -> Vector<i32>

Source§

fn equals(&self, rhs: &impl GMatDescTraitConst) -> Result<bool>

Source§

fn not_equals(&self, rhs: &impl GMatDescTraitConst) -> Result<bool>

Source§

fn is_nd(&self) -> Result<bool>

Source§

fn can_describe(&self, mat: &impl MatTraitConst) -> Result<bool>

Source§

fn can_describe_1(&self, mat: &impl RMatTraitConst) -> Result<bool>

Source§

fn with_size_delta(&self, delta: Size) -> Result<GMatDesc>

Source§

fn with_size_delta_1(&self, dx: i32, dy: i32) -> Result<GMatDesc>

Source§

fn with_size(&self, sz: Size) -> Result<GMatDesc>

Source§

fn with_depth(&self, ddepth: i32) -> Result<GMatDesc>

Source§

fn with_type(&self, ddepth: i32, dchan: i32) -> Result<GMatDesc>

Source§

fn as_planar(&self) -> Result<GMatDesc>

Source§

fn as_planar_1(&self, planes: i32) -> Result<GMatDesc>

Source§

fn as_interleaved(&self) -> Result<GMatDesc>

Source§

impl GMatPTrait for BoxedRefMut<'_, GMatP>

Source§

fn as_raw_mut_GMatP( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl GMatPTraitConst for BoxedRefMut<'_, GMatP>

Source§

fn as_raw_GMatP(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl GMatTrait for BoxedRefMut<'_, GMat>

Source§

fn as_raw_mut_GMat( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl GMatTrait for BoxedRefMut<'_, GMatP>

Source§

fn as_raw_mut_GMat( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl GMatTraitConst for BoxedRefMut<'_, GMat>

Source§

fn as_raw_GMat(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl GMatTraitConst for BoxedRefMut<'_, GMatP>

Source§

fn as_raw_GMat(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl GOpaqueDescTrait for BoxedRefMut<'_, GOpaqueDesc>

Source§

fn as_raw_mut_GOpaqueDesc( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl GOpaqueDescTraitConst for BoxedRefMut<'_, GOpaqueDesc>

Source§

fn as_raw_GOpaqueDesc(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn equals(&self, unnamed: &impl GOpaqueDescTraitConst) -> Result<bool>

Source§

impl GPCDetailsTrait for BoxedRefMut<'_, GPCDetails>

Source§

fn as_raw_mut_GPCDetails( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl GPCDetailsTraitConst for BoxedRefMut<'_, GPCDetails>

Source§

fn as_raw_GPCDetails(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl GPCPatchDescriptorTrait for BoxedRefMut<'_, GPCPatchDescriptor>

Source§

fn as_raw_mut_GPCPatchDescriptor( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_feature(&mut self, val: VecN<f64, 18>)

Source§

fn mark_as_separated(&mut self) -> Result<()>

Source§

impl GPCPatchDescriptorTraitConst for BoxedRefMut<'_, GPCPatchDescriptor>

Source§

fn as_raw_GPCPatchDescriptor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn feature(&self) -> VecN<f64, 18>

Source§

fn dot(&self, coef: VecN<f64, 18>) -> Result<f64>

Source§

fn is_separated(&self) -> Result<bool>

Source§

impl GPCPatchSampleTrait for BoxedRefMut<'_, GPCPatchSample>

Source§

fn as_raw_mut_GPCPatchSample( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_ref(&mut self, val: GPCPatchDescriptor)

Source§

fn set_pos(&mut self, val: GPCPatchDescriptor)

Source§

fn set_neg(&mut self, val: GPCPatchDescriptor)

Source§

impl GPCPatchSampleTraitConst for BoxedRefMut<'_, GPCPatchSample>

Source§

fn as_raw_GPCPatchSample( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn ref_(&self) -> GPCPatchDescriptor

Source§

fn pos(&self) -> GPCPatchDescriptor

Source§

fn neg(&self) -> GPCPatchDescriptor

Source§

fn get_directions( &self, refdir: &mut bool, posdir: &mut bool, negdir: &mut bool, coef: VecN<f64, 18>, rhs: f64, ) -> Result<()>

Source§

impl GPCTrainingSamplesTrait for BoxedRefMut<'_, GPCTrainingSamples>

Source§

fn as_raw_mut_GPCTrainingSamples( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl GPCTrainingSamplesTraitConst for BoxedRefMut<'_, GPCTrainingSamples>

Source§

fn as_raw_GPCTrainingSamples( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn size(&self) -> Result<size_t>

Source§

fn typ(&self) -> Result<i32>

Source§

impl GPCTreeTrait for BoxedRefMut<'_, GPCTree>

Source§

fn as_raw_mut_GPCTree( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn train( &mut self, samples: &mut impl GPCTrainingSamplesTrait, params: GPCTrainingParams, ) -> Result<()>

C++ default parameters Read more
Source§

fn train_def( &mut self, samples: &mut impl GPCTrainingSamplesTrait, ) -> Result<()>

Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Source§

impl GPCTreeTraitConst for BoxedRefMut<'_, GPCTree>

Source§

fn as_raw_GPCTree(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Source§

fn find_leaf_for_patch( &self, descr: &impl GPCPatchDescriptorTraitConst, ) -> Result<u32>

Source§

fn equals(&self, t: &impl GPCTreeTraitConst) -> Result<bool>

Source§

fn get_descriptor_type(&self) -> Result<i32>

Source§

impl GRULayerTrait for BoxedRefMut<'_, GRULayer>

Source§

fn as_raw_mut_GRULayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl GRULayerTraitConst for BoxedRefMut<'_, GRULayer>

Source§

fn as_raw_GRULayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl GRunArgTrait for BoxedRefMut<'_, Data>

Source§

fn as_raw_mut_GRunArg( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set(&mut self, arg: &impl GRunArgTraitConst) -> Result<()>

Source§

fn set_1(&mut self, arg: GRunArg) -> Result<()>

Source§

impl GRunArgTrait for BoxedRefMut<'_, GRunArg>

Source§

fn as_raw_mut_GRunArg( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set(&mut self, arg: &impl GRunArgTraitConst) -> Result<()>

Source§

fn set_1(&mut self, arg: GRunArg) -> Result<()>

Source§

impl GRunArgTraitConst for BoxedRefMut<'_, Data>

Source§

fn as_raw_GRunArg(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl GRunArgTraitConst for BoxedRefMut<'_, GRunArg>

Source§

fn as_raw_GRunArg(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl GScalarDescTrait for BoxedRefMut<'_, GScalarDesc>

Source§

fn as_raw_mut_GScalarDesc( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl GScalarDescTraitConst for BoxedRefMut<'_, GScalarDesc>

Source§

fn as_raw_GScalarDesc(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn equals(&self, unnamed: &impl GScalarDescTraitConst) -> Result<bool>

Source§

fn not_equals(&self, rhs: &impl GScalarDescTraitConst) -> Result<bool>

Source§

impl GScalarTrait for BoxedRefMut<'_, GScalar>

Source§

fn as_raw_mut_GScalar( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl GScalarTraitConst for BoxedRefMut<'_, GScalar>

Source§

fn as_raw_GScalar(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl GStreamingCompiledTrait for BoxedRefMut<'_, GStreamingCompiled>

Source§

fn as_raw_mut_GStreamingCompiled( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_source(&mut self, ins: GRunArgs) -> Result<()>

Specify the input data to GStreamingCompiled for processing, a generic version. Read more
Source§

fn set_source_1( &mut self, callback: &impl Detail_ExtractArgsCallbackTraitConst, ) -> Result<()>

@private – Exclude this function from OpenCV documentation
Source§

fn start(&mut self) -> Result<()>

Start the pipeline execution. Read more
Source§

fn stop(&mut self) -> Result<()>

Stop (abort) processing the pipeline. Read more
Source§

impl GStreamingCompiledTraitConst for BoxedRefMut<'_, GStreamingCompiled>

Source§

fn as_raw_GStreamingCompiled( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn running(&self) -> Result<bool>

Test if the pipeline is running. Read more
Source§

fn to_bool(&self) -> Result<bool>

Check if compiled object is valid (non-empty) Read more
Source§

impl GTransformTrait for BoxedRefMut<'_, GTransform>

Source§

fn as_raw_mut_GTransform( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

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

Source§

impl GTransformTraitConst for BoxedRefMut<'_, GTransform>

Source§

fn as_raw_GTransform(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn description(&self) -> String

Source§

impl GTypeInfoTrait for BoxedRefMut<'_, GTypeInfo>

Source§

fn as_raw_mut_GTypeInfo( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_shape(&mut self, val: GShape)

Source§

fn set_kind(&mut self, val: Detail_OpaqueKind)

Source§

impl GTypeInfoTraitConst for BoxedRefMut<'_, GTypeInfo>

Source§

fn as_raw_GTypeInfo(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn shape(&self) -> GShape

Source§

fn kind(&self) -> Detail_OpaqueKind

Source§

impl GatherElementsLayerTrait for BoxedRefMut<'_, GatherElementsLayer>

Source§

fn as_raw_mut_GatherElementsLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl GatherElementsLayerTraitConst for BoxedRefMut<'_, GatherElementsLayer>

Source§

fn as_raw_GatherElementsLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl GatherLayerTrait for BoxedRefMut<'_, GatherLayer>

Source§

fn as_raw_mut_GatherLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl GatherLayerTraitConst for BoxedRefMut<'_, GatherLayer>

Source§

fn as_raw_GatherLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl GaussianMotionFilterTrait for BoxedRefMut<'_, GaussianMotionFilter>

Source§

fn as_raw_mut_GaussianMotionFilter( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_params(&mut self, radius: i32, stdev: f32) -> Result<()>

C++ default parameters Read more
Source§

fn set_params_def(&mut self, radius: i32) -> Result<()>

Source§

fn stabilize( &mut self, idx: i32, motions: &Vector<Mat>, range: &impl RangeTraitConst, ) -> Result<Mat>

Source§

impl GaussianMotionFilterTraitConst for BoxedRefMut<'_, GaussianMotionFilter>

Source§

fn as_raw_GaussianMotionFilter( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn radius(&self) -> Result<i32>

Source§

fn stdev(&self) -> Result<f32>

Source§

impl GeluApproximationLayerTrait for BoxedRefMut<'_, GeluApproximationLayer>

Source§

fn as_raw_mut_GeluApproximationLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl GeluApproximationLayerTraitConst for BoxedRefMut<'_, GeluApproximationLayer>

Source§

fn as_raw_GeluApproximationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl GeluLayerTrait for BoxedRefMut<'_, GeluLayer>

Source§

fn as_raw_mut_GeluLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl GeluLayerTraitConst for BoxedRefMut<'_, GeluLayer>

Source§

fn as_raw_GeluLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl GemmLayerTrait for BoxedRefMut<'_, GemmLayer>

Source§

fn as_raw_mut_GemmLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_trans_a(&mut self, val: bool)

Source§

fn set_trans_b(&mut self, val: bool)

Source§

fn set_alpha(&mut self, val: f32)

Source§

fn set_beta(&mut self, val: f32)

Source§

impl GemmLayerTraitConst for BoxedRefMut<'_, GemmLayer>

Source§

fn as_raw_GemmLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn trans_a(&self) -> bool

Source§

fn trans_b(&self) -> bool

Source§

fn alpha(&self) -> f32

Source§

fn beta(&self) -> f32

Source§

impl GeneralizedHoughBallardTrait for BoxedRefMut<'_, GeneralizedHoughBallard>

Source§

fn as_raw_mut_GeneralizedHoughBallard( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_levels(&mut self, levels: i32) -> Result<()>

R-Table levels.
Source§

fn set_votes_threshold(&mut self, votes_threshold: i32) -> Result<()>

The accumulator threshold for the template centers at the detection stage. The smaller it is, the more false positions may be detected.
Source§

impl GeneralizedHoughBallardTraitConst for BoxedRefMut<'_, GeneralizedHoughBallard>

Source§

fn as_raw_GeneralizedHoughBallard( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_levels(&self) -> Result<i32>

Source§

fn get_votes_threshold(&self) -> Result<i32>

Source§

impl GeneralizedHoughGuilTrait for BoxedRefMut<'_, GeneralizedHoughGuil>

Source§

fn as_raw_mut_GeneralizedHoughGuil( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_xi(&mut self, xi: f64) -> Result<()>

Angle difference in degrees between two points in feature.
Source§

fn set_levels(&mut self, levels: i32) -> Result<()>

Feature table levels.
Source§

fn set_angle_epsilon(&mut self, angle_epsilon: f64) -> Result<()>

Maximal difference between angles that treated as equal.
Source§

fn set_min_angle(&mut self, min_angle: f64) -> Result<()>

Minimal rotation angle to detect in degrees.
Source§

fn set_max_angle(&mut self, max_angle: f64) -> Result<()>

Maximal rotation angle to detect in degrees.
Source§

fn set_angle_step(&mut self, angle_step: f64) -> Result<()>

Angle step in degrees.
Source§

fn set_angle_thresh(&mut self, angle_thresh: i32) -> Result<()>

Angle votes threshold.
Source§

fn set_min_scale(&mut self, min_scale: f64) -> Result<()>

Minimal scale to detect.
Source§

fn set_max_scale(&mut self, max_scale: f64) -> Result<()>

Maximal scale to detect.
Source§

fn set_scale_step(&mut self, scale_step: f64) -> Result<()>

Scale step.
Source§

fn set_scale_thresh(&mut self, scale_thresh: i32) -> Result<()>

Scale votes threshold.
Source§

fn set_pos_thresh(&mut self, pos_thresh: i32) -> Result<()>

Position votes threshold.
Source§

impl GeneralizedHoughGuilTraitConst for BoxedRefMut<'_, GeneralizedHoughGuil>

Source§

impl GeneralizedHoughTrait for BoxedRefMut<'_, GeneralizedHough>

Source§

fn as_raw_mut_GeneralizedHough( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_template( &mut self, templ: &impl ToInputArray, templ_center: Point, ) -> Result<()>

set template to search Read more
Source§

fn set_template_def(&mut self, templ: &impl ToInputArray) -> Result<()>

set template to search Read more
Source§

fn set_template_1( &mut self, edges: &impl ToInputArray, dx: &impl ToInputArray, dy: &impl ToInputArray, templ_center: Point, ) -> Result<()>

C++ default parameters Read more
Source§

fn set_template_def_1( &mut self, edges: &impl ToInputArray, dx: &impl ToInputArray, dy: &impl ToInputArray, ) -> Result<()>

Source§

fn detect( &mut self, image: &impl ToInputArray, positions: &mut impl ToOutputArray, votes: &mut impl ToOutputArray, ) -> Result<()>

find template on image Read more
Source§

fn detect_def( &mut self, image: &impl ToInputArray, positions: &mut impl ToOutputArray, ) -> Result<()>

find template on image Read more
Source§

fn detect_with_edges( &mut self, edges: &impl ToInputArray, dx: &impl ToInputArray, dy: &impl ToInputArray, positions: &mut impl ToOutputArray, votes: &mut impl ToOutputArray, ) -> Result<()>

C++ default parameters Read more
Source§

fn detect_with_edges_def( &mut self, edges: &impl ToInputArray, dx: &impl ToInputArray, dy: &impl ToInputArray, positions: &mut impl ToOutputArray, ) -> Result<()>

Source§

fn set_canny_low_thresh(&mut self, canny_low_thresh: i32) -> Result<()>

Canny low threshold.
Source§

fn set_canny_high_thresh(&mut self, canny_high_thresh: i32) -> Result<()>

Canny high threshold.
Source§

fn set_min_dist(&mut self, min_dist: f64) -> Result<()>

Minimum distance between the centers of the detected objects.
Source§

fn set_dp(&mut self, dp: f64) -> Result<()>

Inverse ratio of the accumulator resolution to the image resolution.
Source§

fn set_max_buffer_size(&mut self, max_buffer_size: i32) -> Result<()>

Maximal size of inner buffers.
Source§

impl GeneralizedHoughTrait for BoxedRefMut<'_, GeneralizedHoughBallard>

Source§

fn as_raw_mut_GeneralizedHough( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_template( &mut self, templ: &impl ToInputArray, templ_center: Point, ) -> Result<()>

set template to search Read more
Source§

fn set_template_def(&mut self, templ: &impl ToInputArray) -> Result<()>

set template to search Read more
Source§

fn set_template_1( &mut self, edges: &impl ToInputArray, dx: &impl ToInputArray, dy: &impl ToInputArray, templ_center: Point, ) -> Result<()>

C++ default parameters Read more
Source§

fn set_template_def_1( &mut self, edges: &impl ToInputArray, dx: &impl ToInputArray, dy: &impl ToInputArray, ) -> Result<()>

Source§

fn detect( &mut self, image: &impl ToInputArray, positions: &mut impl ToOutputArray, votes: &mut impl ToOutputArray, ) -> Result<()>

find template on image Read more
Source§

fn detect_def( &mut self, image: &impl ToInputArray, positions: &mut impl ToOutputArray, ) -> Result<()>

find template on image Read more
Source§

fn detect_with_edges( &mut self, edges: &impl ToInputArray, dx: &impl ToInputArray, dy: &impl ToInputArray, positions: &mut impl ToOutputArray, votes: &mut impl ToOutputArray, ) -> Result<()>

C++ default parameters Read more
Source§

fn detect_with_edges_def( &mut self, edges: &impl ToInputArray, dx: &impl ToInputArray, dy: &impl ToInputArray, positions: &mut impl ToOutputArray, ) -> Result<()>

Source§

fn set_canny_low_thresh(&mut self, canny_low_thresh: i32) -> Result<()>

Canny low threshold.
Source§

fn set_canny_high_thresh(&mut self, canny_high_thresh: i32) -> Result<()>

Canny high threshold.
Source§

fn set_min_dist(&mut self, min_dist: f64) -> Result<()>

Minimum distance between the centers of the detected objects.
Source§

fn set_dp(&mut self, dp: f64) -> Result<()>

Inverse ratio of the accumulator resolution to the image resolution.
Source§

fn set_max_buffer_size(&mut self, max_buffer_size: i32) -> Result<()>

Maximal size of inner buffers.
Source§

impl GeneralizedHoughTrait for BoxedRefMut<'_, GeneralizedHoughGuil>

Source§

fn as_raw_mut_GeneralizedHough( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_template( &mut self, templ: &impl ToInputArray, templ_center: Point, ) -> Result<()>

set template to search Read more
Source§

fn set_template_def(&mut self, templ: &impl ToInputArray) -> Result<()>

set template to search Read more
Source§

fn set_template_1( &mut self, edges: &impl ToInputArray, dx: &impl ToInputArray, dy: &impl ToInputArray, templ_center: Point, ) -> Result<()>

C++ default parameters Read more
Source§

fn set_template_def_1( &mut self, edges: &impl ToInputArray, dx: &impl ToInputArray, dy: &impl ToInputArray, ) -> Result<()>

Source§

fn detect( &mut self, image: &impl ToInputArray, positions: &mut impl ToOutputArray, votes: &mut impl ToOutputArray, ) -> Result<()>

find template on image Read more
Source§

fn detect_def( &mut self, image: &impl ToInputArray, positions: &mut impl ToOutputArray, ) -> Result<()>

find template on image Read more
Source§

fn detect_with_edges( &mut self, edges: &impl ToInputArray, dx: &impl ToInputArray, dy: &impl ToInputArray, positions: &mut impl ToOutputArray, votes: &mut impl ToOutputArray, ) -> Result<()>

C++ default parameters Read more
Source§

fn detect_with_edges_def( &mut self, edges: &impl ToInputArray, dx: &impl ToInputArray, dy: &impl ToInputArray, positions: &mut impl ToOutputArray, ) -> Result<()>

Source§

fn set_canny_low_thresh(&mut self, canny_low_thresh: i32) -> Result<()>

Canny low threshold.
Source§

fn set_canny_high_thresh(&mut self, canny_high_thresh: i32) -> Result<()>

Canny high threshold.
Source§

fn set_min_dist(&mut self, min_dist: f64) -> Result<()>

Minimum distance between the centers of the detected objects.
Source§

fn set_dp(&mut self, dp: f64) -> Result<()>

Inverse ratio of the accumulator resolution to the image resolution.
Source§

fn set_max_buffer_size(&mut self, max_buffer_size: i32) -> Result<()>

Maximal size of inner buffers.
Source§

impl GeneralizedHoughTraitConst for BoxedRefMut<'_, GeneralizedHough>

Source§

fn as_raw_GeneralizedHough( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_canny_low_thresh(&self) -> Result<i32>

Source§

fn get_canny_high_thresh(&self) -> Result<i32>

Source§

fn get_min_dist(&self) -> Result<f64>

Source§

fn get_dp(&self) -> Result<f64>

Source§

fn get_max_buffer_size(&self) -> Result<i32>

Source§

impl GeneralizedHoughTraitConst for BoxedRefMut<'_, GeneralizedHoughBallard>

Source§

fn as_raw_GeneralizedHough( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_canny_low_thresh(&self) -> Result<i32>

Source§

fn get_canny_high_thresh(&self) -> Result<i32>

Source§

fn get_min_dist(&self) -> Result<f64>

Source§

fn get_dp(&self) -> Result<f64>

Source§

fn get_max_buffer_size(&self) -> Result<i32>

Source§

impl GeneralizedHoughTraitConst for BoxedRefMut<'_, GeneralizedHoughGuil>

Source§

fn as_raw_GeneralizedHough( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_canny_low_thresh(&self) -> Result<i32>

Source§

fn get_canny_high_thresh(&self) -> Result<i32>

Source§

fn get_min_dist(&self) -> Result<f64>

Source§

fn get_dp(&self) -> Result<f64>

Source§

fn get_max_buffer_size(&self) -> Result<i32>

Source§

impl GpuDataTrait for BoxedRefMut<'_, GpuData>

Source§

fn as_raw_mut_GpuData( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn data_mut(&mut self) -> *mut u8

Source§

unsafe fn set_data(&mut self, val: *const u8)

Source§

fn set_size(&mut self, val: size_t)

Source§

impl GpuDataTraitConst for BoxedRefMut<'_, GpuData>

Source§

fn as_raw_GpuData(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn data(&self) -> *const u8

Source§

fn size(&self) -> size_t

Source§

impl GpuMatNDTrait for BoxedRefMut<'_, GpuMatND>

Source§

fn as_raw_mut_GpuMatND( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_flags(&mut self, val: i32)

! includes several bit-fields: Read more
Source§

fn set_dims(&mut self, val: i32)

matrix dimensionality
Source§

fn set_size(&mut self, val: GpuMatND_SizeArray)

shape of this array
Source§

fn set_step(&mut self, val: GpuMatND_StepArray)

! step values Their semantics is identical to the semantics of step for Mat.
Source§

fn create(&mut self, size: GpuMatND_SizeArray, typ: i32) -> Result<()>

Allocates GPU memory. Suppose there is some GPU memory already allocated. In that case, this method may choose to reuse that GPU memory under the specific condition: it must be of the same size and type, not externally allocated, the GPU memory is continuous(i.e., isContinuous() is true), and is not a sub-matrix of another GpuMatND (i.e., isSubmatrix() is false). In other words, this method guarantees that the GPU memory allocated by this method is always continuous and is not a sub-region of another GpuMatND.
Source§

fn release(&mut self) -> Result<()>

Source§

fn swap(&mut self, m: &mut impl GpuMatNDTrait)

Source§

fn ranges_mut( &mut self, ranges: &Vector<Range>, ) -> Result<BoxedRefMut<'_, GpuMatND>>

Extracts a sub-matrix. The operator makes a new header for the specified sub-array of *this. The operator is an O(1) operation, that is, no matrix data is copied. Read more
Source§

fn create_gpu_mat_header_mut( &mut self, idx: GpuMatND_IndexArray, row_range: impl RangeTrait, col_range: impl RangeTrait, ) -> Result<BoxedRefMut<'_, GpuMat>>

Creates a GpuMat header for a 2D plane part of an n-dim matrix. Read more
Source§

fn create_gpu_mat_header_mut_1(&mut self) -> Result<BoxedRefMut<'_, GpuMat>>

@overload Creates a GpuMat header if this GpuMatND is effectively 2D. Read more
Source§

fn rowscols_mut( &mut self, idx: GpuMatND_IndexArray, row_range: impl RangeTrait, col_range: impl RangeTrait, ) -> Result<BoxedRefMut<'_, GpuMat>>

Extracts a 2D plane part of an n-dim matrix. It differs from createGpuMatHeader(IndexArray, Range, Range) in that it clones a part of this GpuMatND to the returned GpuMat. Read more
Source§

fn set(&mut self, unnamed: &impl GpuMatNDTraitConst)

Source§

fn set_1(&mut self, unnamed: GpuMatND)

Source§

fn upload(&mut self, src: &impl ToInputArray) -> Result<()>

Source§

fn upload_1( &mut self, src: &impl ToInputArray, stream: &mut impl StreamTrait, ) -> Result<()>

Source§

impl GpuMatNDTraitConst for BoxedRefMut<'_, GpuMatND>

Source§

fn as_raw_GpuMatND(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn flags(&self) -> i32

! includes several bit-fields: Read more
Source§

fn dims(&self) -> i32

matrix dimensionality
Source§

fn size(&self) -> GpuMatND_SizeArray

shape of this array
Source§

fn step(&self) -> GpuMatND_StepArray

! step values Their semantics is identical to the semantics of step for Mat.
Source§

fn try_clone(&self) -> Result<GpuMatND>

Creates a full copy of the array and the underlying data. The method creates a full copy of the array. It mimics the behavior of Mat::clone(), i.e. the original step is not taken into account. So, the array copy is a continuous array occupying total()*elemSize() bytes.
Source§

fn clone(&self, stream: &mut impl StreamTrait) -> Result<GpuMatND>

Creates a full copy of the array and the underlying data. The method creates a full copy of the array. It mimics the behavior of Mat::clone(), i.e. the original step is not taken into account. So, the array copy is a continuous array occupying total()*elemSize() bytes. Read more
Source§

fn ranges(&self, ranges: &Vector<Range>) -> Result<BoxedRef<'_, GpuMatND>>

Extracts a sub-matrix. The operator makes a new header for the specified sub-array of *this. The operator is an O(1) operation, that is, no matrix data is copied. Read more
Source§

fn create_gpu_mat_header( &self, idx: GpuMatND_IndexArray, row_range: impl RangeTrait, col_range: impl RangeTrait, ) -> Result<BoxedRef<'_, GpuMat>>

Creates a GpuMat header for a 2D plane part of an n-dim matrix. Read more
Source§

fn create_gpu_mat_header_1(&self) -> Result<BoxedRef<'_, GpuMat>>

Creates a GpuMat header for a 2D plane part of an n-dim matrix. Read more
Source§

fn rowscols( &self, idx: GpuMatND_IndexArray, row_range: impl RangeTrait, col_range: impl RangeTrait, ) -> Result<BoxedRef<'_, GpuMat>>

Extracts a 2D plane part of an n-dim matrix. It differs from createGpuMatHeader(IndexArray, Range, Range) in that it clones a part of this GpuMatND to the returned GpuMat. Read more
Source§

fn to_gpu_mat(&self) -> Result<GpuMat>

Extracts a 2D plane part of an n-dim matrix if this GpuMatND is effectively 2D. It differs from createGpuMatHeader() in that it clones a part of this GpuMatND. Read more
Source§

fn download(&self, dst: &mut impl ToOutputArray) -> Result<()>

Source§

fn download_1( &self, dst: &mut impl ToOutputArray, stream: &mut impl StreamTrait, ) -> Result<()>

Source§

fn is_continuous(&self) -> Result<bool>

returns true iff the GpuMatND data is continuous (i.e. when there are no gaps between successive rows)
Source§

fn is_submatrix(&self) -> Result<bool>

returns true if the matrix is a sub-matrix of another matrix
Source§

fn elem_size(&self) -> Result<size_t>

returns element size in bytes
Source§

fn elem_size1(&self) -> Result<size_t>

returns the size of element channel in bytes
Source§

fn empty(&self) -> Result<bool>

returns true if data is null
Source§

fn external(&self) -> Result<bool>

returns true if not empty and points to external(user-allocated) gpu memory
Source§

fn get_device_ptr(&self) -> Result<*mut u8>

returns pointer to the first byte of the GPU memory
Source§

fn total(&self) -> Result<size_t>

returns the total number of array elements
Source§

fn total_mem_size(&self) -> Result<size_t>

returns the size of underlying memory in bytes
Source§

fn typ(&self) -> Result<i32>

returns element type
Source§

impl GpuMatTrait for BoxedRefMut<'_, GpuMat>

Source§

fn as_raw_mut_GpuMat( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_flags(&mut self, val: i32)

! includes several bit-fields: Read more
Source§

fn set_rows(&mut self, val: i32)

the number of rows and columns
Source§

fn set_cols(&mut self, val: i32)

the number of rows and columns
Source§

fn set_step(&mut self, val: size_t)

a distance between successive rows in bytes; includes the gap if any
Source§

fn data_mut(&mut self) -> *mut u8

pointer to the data
Source§

unsafe fn set_data(&mut self, val: *const u8)

pointer to the data
Source§

fn refcount_mut(&mut self) -> *mut i32

pointer to the reference counter; when GpuMat points to user-allocated data, the pointer is NULL
Source§

unsafe fn set_refcount(&mut self, val: *const i32)

pointer to the reference counter; when GpuMat points to user-allocated data, the pointer is NULL
Source§

fn datastart_mut(&mut self) -> *mut u8

helper fields used in locateROI and adjustROI
Source§

unsafe fn set_datastart(&mut self, val: *const u8)

helper fields used in locateROI and adjustROI
Source§

fn allocator(&mut self) -> AbstractRefMut<'_, GpuMat_Allocator>

allocator
Source§

fn set_allocator(&mut self, val: &'static impl GpuMat_AllocatorTraitConst)

allocator
Source§

fn set(&mut self, m: &impl GpuMatTraitConst) -> Result<()>

assignment operators
Source§

fn create(&mut self, rows: i32, cols: i32, typ: i32) -> Result<()>

allocates new GpuMat data unless the GpuMat already has specified size and type
Source§

fn create_1(&mut self, size: Size, typ: i32) -> Result<()>

Source§

fn release(&mut self) -> Result<()>

decreases reference counter, deallocate the data when reference counter reaches 0
Source§

fn swap(&mut self, mat: &mut impl GpuMatTrait) -> Result<()>

swaps with other smart pointer
Source§

fn upload(&mut self, arr: &impl ToInputArray) -> Result<()>

Performs data upload to GpuMat (Blocking call) Read more
Source§

fn upload_async( &mut self, arr: &impl ToInputArray, stream: &mut impl StreamTrait, ) -> Result<()>

Performs data upload to GpuMat (Non-Blocking call) Read more
Source§

fn set_to(&mut self, s: Scalar) -> Result<GpuMat>

sets some of the GpuMat elements to s (Blocking call)
Source§

fn set_to_1( &mut self, s: Scalar, stream: &mut impl StreamTrait, ) -> Result<GpuMat>

sets some of the GpuMat elements to s (Non-Blocking call)
Source§

fn set_to_2(&mut self, s: Scalar, mask: &impl ToInputArray) -> Result<GpuMat>

sets some of the GpuMat elements to s, according to the mask (Blocking call)
Source§

fn set_to_3( &mut self, s: Scalar, mask: &impl ToInputArray, stream: &mut impl StreamTrait, ) -> Result<GpuMat>

sets some of the GpuMat elements to s, according to the mask (Non-Blocking call)
Source§

fn ptr_mut(&mut self, y: i32) -> Result<*mut u8>

returns pointer to y-th row Read more
Source§

fn ptr_mut_def(&mut self) -> Result<*mut u8>

returns pointer to y-th row Read more
Source§

fn row_mut(&mut self, y: i32) -> Result<BoxedRefMut<'_, GpuMat>>

returns a new GpuMat header for the specified row
Source§

fn col_mut(&mut self, x: i32) -> Result<BoxedRefMut<'_, GpuMat>>

returns a new GpuMat header for the specified column
Source§

fn row_bounds_mut( &mut self, startrow: i32, endrow: i32, ) -> Result<BoxedRefMut<'_, GpuMat>>

… for the specified row span
Source§

fn row_range_mut( &mut self, r: impl RangeTrait, ) -> Result<BoxedRefMut<'_, GpuMat>>

Source§

fn col_bounds_mut( &mut self, startcol: i32, endcol: i32, ) -> Result<BoxedRefMut<'_, GpuMat>>

… for the specified column span
Source§

fn col_range_mut( &mut self, r: impl RangeTrait, ) -> Result<BoxedRefMut<'_, GpuMat>>

Source§

fn rowscols_mut( &mut self, row_range: impl RangeTrait, col_range: impl RangeTrait, ) -> Result<BoxedRefMut<'_, GpuMat>>

extracts a rectangular sub-GpuMat (this is a generalized form of row, rowRange etc.)
Source§

fn roi_mut(&mut self, roi: Rect) -> Result<BoxedRefMut<'_, GpuMat>>

Source§

fn reshape_def_mut(&mut self, cn: i32) -> Result<BoxedRefMut<'_, GpuMat>>

creates alternative GpuMat header for the same data, with different number of channels and/or different number of rows Read more
Source§

fn reshape_mut(&mut self, cn: i32, rows: i32) -> Result<BoxedRefMut<'_, GpuMat>>

creates alternative GpuMat header for the same data, with different number of channels and/or different number of rows Read more
Source§

fn adjust_roi( &mut self, dtop: i32, dbottom: i32, dleft: i32, dright: i32, ) -> Result<GpuMat>

moves/resizes the current GpuMat ROI inside the parent GpuMat
Source§

fn update_continuity_flag(&mut self) -> Result<()>

internal use method: updates the continuity flag
Source§

impl GpuMatTraitConst for BoxedRefMut<'_, GpuMat>

Source§

fn as_raw_GpuMat(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn flags(&self) -> i32

! includes several bit-fields: Read more
Source§

fn rows(&self) -> i32

the number of rows and columns
Source§

fn cols(&self) -> i32

the number of rows and columns
Source§

fn step(&self) -> size_t

a distance between successive rows in bytes; includes the gap if any
Source§

fn data(&self) -> *const u8

pointer to the data
Source§

fn refcount(&self) -> *const i32

pointer to the reference counter; when GpuMat points to user-allocated data, the pointer is NULL
Source§

fn datastart(&self) -> *const u8

helper fields used in locateROI and adjustROI
Source§

fn dataend(&self) -> *const u8

Source§

fn download(&self, dst: &mut impl ToOutputArray) -> Result<()>

Performs data download from GpuMat (Blocking call) Read more
Source§

fn download_async( &self, dst: &mut impl ToOutputArray, stream: &mut impl StreamTrait, ) -> Result<()>

Performs data download from GpuMat (Non-Blocking call) Read more
Source§

fn try_clone(&self) -> Result<GpuMat>

returns deep copy of the GpuMat, i.e. the data is copied
Source§

fn copy_to(&self, dst: &mut impl ToOutputArray) -> Result<()>

copies the GpuMat content to device memory (Blocking call)
Source§

fn copy_to_gpu_mat(&self, dst: &mut impl GpuMatTrait) -> Result<()>

bindings overload which copies the GpuMat content to device memory (Blocking call)
Source§

fn copy_to_stream( &self, dst: &mut impl ToOutputArray, stream: &mut impl StreamTrait, ) -> Result<()>

copies the GpuMat content to device memory (Non-Blocking call)
Source§

fn copy_to_gpu_mat_stream( &self, dst: &mut impl GpuMatTrait, stream: &mut impl StreamTrait, ) -> Result<()>

bindings overload which copies the GpuMat content to device memory (Non-Blocking call)
Source§

fn copy_to_mask( &self, dst: &mut impl ToOutputArray, mask: &impl ToInputArray, ) -> Result<()>

copies those GpuMat elements to “m” that are marked with non-zero mask elements (Blocking call)
Source§

fn copy_to_gpu_mat_mask( &self, dst: &mut impl GpuMatTrait, mask: &mut impl GpuMatTrait, ) -> Result<()>

bindings overload which copies those GpuMat elements to “m” that are marked with non-zero mask elements (Blocking call)
Source§

fn copy_to_mask_stream( &self, dst: &mut impl ToOutputArray, mask: &impl ToInputArray, stream: &mut impl StreamTrait, ) -> Result<()>

copies those GpuMat elements to “m” that are marked with non-zero mask elements (Non-Blocking call)
Source§

fn copy_to_gpu_mat_mask_stream( &self, dst: &mut impl GpuMatTrait, mask: &mut impl GpuMatTrait, stream: &mut impl StreamTrait, ) -> Result<()>

bindings overload which copies those GpuMat elements to “m” that are marked with non-zero mask elements (Non-Blocking call)
Source§

fn convert_to(&self, dst: &mut impl ToOutputArray, rtype: i32) -> Result<()>

converts GpuMat to another datatype (Blocking call)
Source§

fn convert_to_1(&self, dst: &mut impl GpuMatTrait, rtype: i32) -> Result<()>

bindings overload which converts GpuMat to another datatype (Blocking call)
Source§

fn convert_to_2( &self, dst: &mut impl ToOutputArray, rtype: i32, stream: &mut impl StreamTrait, ) -> Result<()>

converts GpuMat to another datatype (Non-Blocking call)
Source§

fn convert_to_3( &self, dst: &mut impl GpuMatTrait, rtype: i32, stream: &mut impl StreamTrait, ) -> Result<()>

bindings overload which converts GpuMat to another datatype (Non-Blocking call)
Source§

fn convert_to_4( &self, dst: &mut impl ToOutputArray, rtype: i32, alpha: f64, beta: f64, ) -> Result<()>

converts GpuMat to another datatype with scaling (Blocking call) Read more
Source§

fn convert_to_def( &self, dst: &mut impl ToOutputArray, rtype: i32, alpha: f64, ) -> Result<()>

converts GpuMat to another datatype with scaling (Blocking call) Read more
Source§

fn convert_to_5( &self, dst: &mut impl ToOutputArray, rtype: i32, alpha: f64, stream: &mut impl StreamTrait, ) -> Result<()>

converts GpuMat to another datatype with scaling (Non-Blocking call)
Source§

fn convert_to_6( &self, dst: &mut impl ToOutputArray, rtype: i32, alpha: f64, beta: f64, stream: &mut impl StreamTrait, ) -> Result<()>

converts GpuMat to another datatype with scaling (Non-Blocking call)
Source§

fn convert_to_7( &self, dst: &mut impl GpuMatTrait, rtype: i32, alpha: f64, beta: f64, stream: &mut impl StreamTrait, ) -> Result<()>

bindings overload which converts GpuMat to another datatype with scaling (Non-Blocking call)
Source§

fn assign_to(&self, m: &mut impl GpuMatTrait, typ: i32) -> Result<()>

C++ default parameters Read more
Source§

fn assign_to_def(&self, m: &mut impl GpuMatTrait) -> Result<()>

Source§

fn ptr(&self, y: i32) -> Result<*const u8>

C++ default parameters Read more
Source§

fn ptr_def(&self) -> Result<*const u8>

Source§

fn row(&self, y: i32) -> Result<BoxedRef<'_, GpuMat>>

returns a new GpuMat header for the specified row
Source§

fn col(&self, x: i32) -> Result<BoxedRef<'_, GpuMat>>

returns a new GpuMat header for the specified column
Source§

fn row_bounds(&self, startrow: i32, endrow: i32) -> Result<BoxedRef<'_, GpuMat>>

… for the specified row span
Source§

fn row_range(&self, r: impl RangeTrait) -> Result<BoxedRef<'_, GpuMat>>

Source§

fn col_bounds(&self, startcol: i32, endcol: i32) -> Result<BoxedRef<'_, GpuMat>>

… for the specified column span
Source§

fn col_range(&self, r: impl RangeTrait) -> Result<BoxedRef<'_, GpuMat>>

Source§

fn rowscols( &self, row_range: impl RangeTrait, col_range: impl RangeTrait, ) -> Result<BoxedRef<'_, GpuMat>>

extracts a rectangular sub-GpuMat (this is a generalized form of row, rowRange etc.)
Source§

fn roi(&self, roi: Rect) -> Result<BoxedRef<'_, GpuMat>>

Source§

fn reshape(&self, cn: i32, rows: i32) -> Result<BoxedRef<'_, GpuMat>>

creates alternative GpuMat header for the same data, with different number of channels and/or different number of rows Read more
Source§

fn reshape_def(&self, cn: i32) -> Result<BoxedRef<'_, GpuMat>>

creates alternative GpuMat header for the same data, with different number of channels and/or different number of rows Read more
Source§

fn locate_roi(&self, whole_size: &mut Size, ofs: &mut Point) -> Result<()>

locates GpuMat header within a parent GpuMat
Source§

fn is_continuous(&self) -> Result<bool>

returns true iff the GpuMat data is continuous (i.e. when there are no gaps between successive rows)
Source§

fn elem_size(&self) -> Result<size_t>

returns element size in bytes
Source§

fn elem_size1(&self) -> Result<size_t>

returns the size of element channel in bytes
Source§

fn typ(&self) -> Result<i32>

returns element type
Source§

fn depth(&self) -> Result<i32>

returns element type
Source§

fn channels(&self) -> Result<i32>

returns number of channels
Source§

fn step1(&self) -> Result<size_t>

returns step/elemSize1()
Source§

fn size(&self) -> Result<Size>

returns GpuMat size : width == number of columns, height == number of rows
Source§

fn empty(&self) -> Result<bool>

returns true if GpuMat data is NULL
Source§

fn cuda_ptr(&self) -> Result<*mut c_void>

Source§

impl GpuMat_AllocatorTrait for BoxedRefMut<'_, GpuMat_Allocator>

Source§

fn as_raw_mut_GpuMat_Allocator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn allocate( &mut self, mat: &mut impl GpuMatTrait, rows: i32, cols: i32, elem_size: size_t, ) -> Result<bool>

Source§

fn free(&mut self, mat: &mut impl GpuMatTrait) -> Result<()>

Source§

impl GpuMat_AllocatorTraitConst for BoxedRefMut<'_, GpuMat_Allocator>

Source§

fn as_raw_GpuMat_Allocator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl GraphSegmentationTrait for BoxedRefMut<'_, GraphSegmentation>

Source§

fn as_raw_mut_GraphSegmentation( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn process_image( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, ) -> Result<()>

Segment an image and store output in dst Read more
Source§

fn set_sigma(&mut self, sigma: f64) -> Result<()>

Source§

fn get_sigma(&mut self) -> Result<f64>

Source§

fn set_k(&mut self, k: f32) -> Result<()>

Source§

fn get_k(&mut self) -> Result<f32>

Source§

fn set_min_size(&mut self, min_size: i32) -> Result<()>

Source§

fn get_min_size(&mut self) -> Result<i32>

Source§

impl GraphSegmentationTraitConst for BoxedRefMut<'_, GraphSegmentation>

Source§

fn as_raw_GraphSegmentation( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl GraphicalCodeDetectorTrait for BoxedRefMut<'_, BarcodeDetector>

Source§

fn as_raw_mut_GraphicalCodeDetector( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set(&mut self, unnamed: &impl GraphicalCodeDetectorTraitConst)

Source§

fn set_1(&mut self, unnamed: GraphicalCodeDetector)

Source§

impl GraphicalCodeDetectorTrait for BoxedRefMut<'_, GraphicalCodeDetector>

Source§

fn as_raw_mut_GraphicalCodeDetector( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set(&mut self, unnamed: &impl GraphicalCodeDetectorTraitConst)

Source§

fn set_1(&mut self, unnamed: GraphicalCodeDetector)

Source§

impl GraphicalCodeDetectorTrait for BoxedRefMut<'_, QRCodeDetector>

Source§

fn as_raw_mut_GraphicalCodeDetector( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set(&mut self, unnamed: &impl GraphicalCodeDetectorTraitConst)

Source§

fn set_1(&mut self, unnamed: GraphicalCodeDetector)

Source§

impl GraphicalCodeDetectorTrait for BoxedRefMut<'_, QRCodeDetectorAruco>

Source§

fn as_raw_mut_GraphicalCodeDetector( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set(&mut self, unnamed: &impl GraphicalCodeDetectorTraitConst)

Source§

fn set_1(&mut self, unnamed: GraphicalCodeDetector)

Source§

impl GraphicalCodeDetectorTraitConst for BoxedRefMut<'_, BarcodeDetector>

Source§

fn as_raw_GraphicalCodeDetector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn detect( &self, img: &impl ToInputArray, points: &mut impl ToOutputArray, ) -> Result<bool>

Detects graphical code in image and returns the quadrangle containing the code. Read more
Source§

fn decode( &self, img: &impl ToInputArray, points: &impl ToInputArray, straight_code: &mut impl ToOutputArray, ) -> Result<Vec<u8>>

Decodes graphical code in image once it’s found by the detect() method. Read more
Source§

fn decode_def( &self, img: &impl ToInputArray, points: &impl ToInputArray, ) -> Result<Vec<u8>>

Decodes graphical code in image once it’s found by the detect() method. Read more
Source§

fn detect_and_decode( &self, img: &impl ToInputArray, points: &mut impl ToOutputArray, straight_code: &mut impl ToOutputArray, ) -> Result<Vec<u8>>

Both detects and decodes graphical code Read more
Source§

fn detect_and_decode_def(&self, img: &impl ToInputArray) -> Result<Vec<u8>>

Both detects and decodes graphical code Read more
Source§

fn detect_multi( &self, img: &impl ToInputArray, points: &mut impl ToOutputArray, ) -> Result<bool>

Detects graphical codes in image and returns the vector of the quadrangles containing the codes. Read more
Source§

fn decode_multi( &self, img: &impl ToInputArray, points: &impl ToInputArray, decoded_info: &mut Vector<String>, straight_code: &mut impl ToOutputArray, ) -> Result<bool>

Decodes graphical codes in image once it’s found by the detect() method. Read more
Source§

fn decode_multi_def( &self, img: &impl ToInputArray, points: &impl ToInputArray, decoded_info: &mut Vector<String>, ) -> Result<bool>

Decodes graphical codes in image once it’s found by the detect() method. Read more
Source§

fn detect_and_decode_multi( &self, img: &impl ToInputArray, decoded_info: &mut Vector<String>, points: &mut impl ToOutputArray, straight_code: &mut impl ToOutputArray, ) -> Result<bool>

Both detects and decodes graphical codes Read more
Source§

fn detect_and_decode_multi_def( &self, img: &impl ToInputArray, decoded_info: &mut Vector<String>, ) -> Result<bool>

Both detects and decodes graphical codes Read more
Source§

impl GraphicalCodeDetectorTraitConst for BoxedRefMut<'_, GraphicalCodeDetector>

Source§

fn as_raw_GraphicalCodeDetector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn detect( &self, img: &impl ToInputArray, points: &mut impl ToOutputArray, ) -> Result<bool>

Detects graphical code in image and returns the quadrangle containing the code. Read more
Source§

fn decode( &self, img: &impl ToInputArray, points: &impl ToInputArray, straight_code: &mut impl ToOutputArray, ) -> Result<Vec<u8>>

Decodes graphical code in image once it’s found by the detect() method. Read more
Source§

fn decode_def( &self, img: &impl ToInputArray, points: &impl ToInputArray, ) -> Result<Vec<u8>>

Decodes graphical code in image once it’s found by the detect() method. Read more
Source§

fn detect_and_decode( &self, img: &impl ToInputArray, points: &mut impl ToOutputArray, straight_code: &mut impl ToOutputArray, ) -> Result<Vec<u8>>

Both detects and decodes graphical code Read more
Source§

fn detect_and_decode_def(&self, img: &impl ToInputArray) -> Result<Vec<u8>>

Both detects and decodes graphical code Read more
Source§

fn detect_multi( &self, img: &impl ToInputArray, points: &mut impl ToOutputArray, ) -> Result<bool>

Detects graphical codes in image and returns the vector of the quadrangles containing the codes. Read more
Source§

fn decode_multi( &self, img: &impl ToInputArray, points: &impl ToInputArray, decoded_info: &mut Vector<String>, straight_code: &mut impl ToOutputArray, ) -> Result<bool>

Decodes graphical codes in image once it’s found by the detect() method. Read more
Source§

fn decode_multi_def( &self, img: &impl ToInputArray, points: &impl ToInputArray, decoded_info: &mut Vector<String>, ) -> Result<bool>

Decodes graphical codes in image once it’s found by the detect() method. Read more
Source§

fn detect_and_decode_multi( &self, img: &impl ToInputArray, decoded_info: &mut Vector<String>, points: &mut impl ToOutputArray, straight_code: &mut impl ToOutputArray, ) -> Result<bool>

Both detects and decodes graphical codes Read more
Source§

fn detect_and_decode_multi_def( &self, img: &impl ToInputArray, decoded_info: &mut Vector<String>, ) -> Result<bool>

Both detects and decodes graphical codes Read more
Source§

impl GraphicalCodeDetectorTraitConst for BoxedRefMut<'_, QRCodeDetector>

Source§

fn as_raw_GraphicalCodeDetector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn detect( &self, img: &impl ToInputArray, points: &mut impl ToOutputArray, ) -> Result<bool>

Detects graphical code in image and returns the quadrangle containing the code. Read more
Source§

fn decode( &self, img: &impl ToInputArray, points: &impl ToInputArray, straight_code: &mut impl ToOutputArray, ) -> Result<Vec<u8>>

Decodes graphical code in image once it’s found by the detect() method. Read more
Source§

fn decode_def( &self, img: &impl ToInputArray, points: &impl ToInputArray, ) -> Result<Vec<u8>>

Decodes graphical code in image once it’s found by the detect() method. Read more
Source§

fn detect_and_decode( &self, img: &impl ToInputArray, points: &mut impl ToOutputArray, straight_code: &mut impl ToOutputArray, ) -> Result<Vec<u8>>

Both detects and decodes graphical code Read more
Source§

fn detect_and_decode_def(&self, img: &impl ToInputArray) -> Result<Vec<u8>>

Both detects and decodes graphical code Read more
Source§

fn detect_multi( &self, img: &impl ToInputArray, points: &mut impl ToOutputArray, ) -> Result<bool>

Detects graphical codes in image and returns the vector of the quadrangles containing the codes. Read more
Source§

fn decode_multi( &self, img: &impl ToInputArray, points: &impl ToInputArray, decoded_info: &mut Vector<String>, straight_code: &mut impl ToOutputArray, ) -> Result<bool>

Decodes graphical codes in image once it’s found by the detect() method. Read more
Source§

fn decode_multi_def( &self, img: &impl ToInputArray, points: &impl ToInputArray, decoded_info: &mut Vector<String>, ) -> Result<bool>

Decodes graphical codes in image once it’s found by the detect() method. Read more
Source§

fn detect_and_decode_multi( &self, img: &impl ToInputArray, decoded_info: &mut Vector<String>, points: &mut impl ToOutputArray, straight_code: &mut impl ToOutputArray, ) -> Result<bool>

Both detects and decodes graphical codes Read more
Source§

fn detect_and_decode_multi_def( &self, img: &impl ToInputArray, decoded_info: &mut Vector<String>, ) -> Result<bool>

Both detects and decodes graphical codes Read more
Source§

impl GraphicalCodeDetectorTraitConst for BoxedRefMut<'_, QRCodeDetectorAruco>

Source§

fn as_raw_GraphicalCodeDetector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn detect( &self, img: &impl ToInputArray, points: &mut impl ToOutputArray, ) -> Result<bool>

Detects graphical code in image and returns the quadrangle containing the code. Read more
Source§

fn decode( &self, img: &impl ToInputArray, points: &impl ToInputArray, straight_code: &mut impl ToOutputArray, ) -> Result<Vec<u8>>

Decodes graphical code in image once it’s found by the detect() method. Read more
Source§

fn decode_def( &self, img: &impl ToInputArray, points: &impl ToInputArray, ) -> Result<Vec<u8>>

Decodes graphical code in image once it’s found by the detect() method. Read more
Source§

fn detect_and_decode( &self, img: &impl ToInputArray, points: &mut impl ToOutputArray, straight_code: &mut impl ToOutputArray, ) -> Result<Vec<u8>>

Both detects and decodes graphical code Read more
Source§

fn detect_and_decode_def(&self, img: &impl ToInputArray) -> Result<Vec<u8>>

Both detects and decodes graphical code Read more
Source§

fn detect_multi( &self, img: &impl ToInputArray, points: &mut impl ToOutputArray, ) -> Result<bool>

Detects graphical codes in image and returns the vector of the quadrangles containing the codes. Read more
Source§

fn decode_multi( &self, img: &impl ToInputArray, points: &impl ToInputArray, decoded_info: &mut Vector<String>, straight_code: &mut impl ToOutputArray, ) -> Result<bool>

Decodes graphical codes in image once it’s found by the detect() method. Read more
Source§

fn decode_multi_def( &self, img: &impl ToInputArray, points: &impl ToInputArray, decoded_info: &mut Vector<String>, ) -> Result<bool>

Decodes graphical codes in image once it’s found by the detect() method. Read more
Source§

fn detect_and_decode_multi( &self, img: &impl ToInputArray, decoded_info: &mut Vector<String>, points: &mut impl ToOutputArray, straight_code: &mut impl ToOutputArray, ) -> Result<bool>

Both detects and decodes graphical codes Read more
Source§

fn detect_and_decode_multi_def( &self, img: &impl ToInputArray, decoded_info: &mut Vector<String>, ) -> Result<bool>

Both detects and decodes graphical codes Read more
Source§

impl GrayCodePatternTrait for BoxedRefMut<'_, GrayCodePattern>

Source§

fn as_raw_mut_GrayCodePattern( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_white_threshold(&mut self, value: size_t) -> Result<()>

Sets the value for white threshold, needed for decoding. Read more
Source§

fn set_black_threshold(&mut self, value: size_t) -> Result<()>

Sets the value for black threshold, needed for decoding (shadowsmasks computation). Read more
Source§

impl GrayCodePatternTraitConst for BoxedRefMut<'_, GrayCodePattern>

Source§

fn as_raw_GrayCodePattern( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_number_of_pattern_images(&self) -> Result<size_t>

Get the number of pattern images needed for the graycode pattern. Read more
Source§

fn get_images_for_shadow_masks( &self, black_image: &mut impl ToInputOutputArray, white_image: &mut impl ToInputOutputArray, ) -> Result<()>

Generates the all-black and all-white images needed for shadowMasks computation. Read more
Source§

fn get_proj_pixel( &self, pattern_images: &impl ToInputArray, x: i32, y: i32, proj_pix: &mut Point, ) -> Result<bool>

For a (x,y) pixel of a camera returns the corresponding projector pixel. Read more
Source§

impl GrayCodePattern_ParamsTrait for BoxedRefMut<'_, GrayCodePattern_Params>

Source§

fn as_raw_mut_GrayCodePattern_Params( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_width(&mut self, val: i32)

Source§

fn set_height(&mut self, val: i32)

Source§

impl GrayCodePattern_ParamsTraitConst for BoxedRefMut<'_, GrayCodePattern_Params>

Source§

fn as_raw_GrayCodePattern_Params( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn width(&self) -> i32

Source§

fn height(&self) -> i32

Source§

impl GrayworldWBTrait for BoxedRefMut<'_, GrayworldWB>

Source§

fn as_raw_mut_GrayworldWB( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_saturation_threshold(&mut self, val: f32) -> Result<()>

Maximum saturation for a pixel to be included in the gray-world assumption Read more
Source§

impl GrayworldWBTraitConst for BoxedRefMut<'_, GrayworldWB>

Source§

fn as_raw_GrayworldWB(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_saturation_threshold(&self) -> Result<f32>

Maximum saturation for a pixel to be included in the gray-world assumption Read more
Source§

impl GridBoardTrait for BoxedRefMut<'_, GridBoard>

Source§

fn as_raw_mut_GridBoard( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl GridBoardTraitConst for BoxedRefMut<'_, GridBoard>

Source§

fn as_raw_GridBoard(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_grid_size(&self) -> Result<Size>

Source§

fn get_marker_length(&self) -> Result<f32>

Source§

fn get_marker_separation(&self) -> Result<f32>

Source§

impl GroupNormLayerTrait for BoxedRefMut<'_, GroupNormLayer>

Source§

fn as_raw_mut_GroupNormLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl GroupNormLayerTraitConst for BoxedRefMut<'_, GroupNormLayer>

Source§

fn as_raw_GroupNormLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl GuidedFilterTrait for BoxedRefMut<'_, GuidedFilter>

Source§

fn as_raw_mut_GuidedFilter( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn filter( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, d_depth: i32, ) -> Result<()>

Apply (Fast) Guided Filter to the filtering image. Read more
Source§

fn filter_def( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, ) -> Result<()>

Apply (Fast) Guided Filter to the filtering image. Read more
Source§

impl GuidedFilterTraitConst for BoxedRefMut<'_, GuidedFilter>

Source§

fn as_raw_GuidedFilter(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl HDF5Trait for BoxedRefMut<'_, HDF5>

Source§

fn as_raw_mut_HDF5( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn close(&mut self) -> Result<()>

Close and release hdf5 object.
Source§

fn grcreate(&mut self, grlabel: &str) -> Result<()>

Create a group. Read more
Source§

fn atdelete(&mut self, atlabel: &str) -> Result<()>

Delete an attribute from the root group. Read more
Source§

fn atwrite_i32(&mut self, value: i32, atlabel: &str) -> Result<()>

Write an attribute inside the root group. Read more
Source§

fn atread_i32(&mut self, value: &mut i32, atlabel: &str) -> Result<()>

Read an attribute from the root group. Read more
Source§

fn atwrite_f64(&mut self, value: f64, atlabel: &str) -> Result<()>

Write an attribute inside the root group. Read more
Source§

fn atread_f64(&mut self, value: &mut f64, atlabel: &str) -> Result<()>

Read an attribute from the root group. Read more
Source§

fn atwrite_str(&mut self, value: &str, atlabel: &str) -> Result<()>

Write an attribute inside the root group. Read more
Source§

fn atread_str(&mut self, value: &mut String, atlabel: &str) -> Result<()>

Read an attribute from the root group. Read more
Source§

fn atwrite(&mut self, value: &impl ToInputArray, atlabel: &str) -> Result<()>

Write an attribute into the root group. Read more
Source§

fn atread( &mut self, value: &mut impl ToOutputArray, atlabel: &str, ) -> Result<()>

Read an attribute from the root group. Read more
Source§

impl HDF5TraitConst for BoxedRefMut<'_, HDF5>

Source§

fn as_raw_HDF5(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn hlexists(&self, label: &str) -> Result<bool>

Check if label exists or not. Read more
Source§

fn atexists(&self, atlabel: &str) -> Result<bool>

Check whether a given attribute exits or not in the root group. Read more
Source§

fn dscreate(&self, rows: i32, cols: i32, typ: i32, dslabel: &str) -> Result<()>

Create and allocate storage for two dimensional single or multi channel dataset. Read more
Source§

fn dscreate_compress( &self, rows: i32, cols: i32, typ: i32, dslabel: &str, compresslevel: i32, ) -> Result<()>

Create and allocate storage for two dimensional single or multi channel dataset. Read more
Source§

fn dscreate_compress_dims( &self, rows: i32, cols: i32, typ: i32, dslabel: &str, compresslevel: i32, dims_chunks: &Vector<i32>, ) -> Result<()>

Create and allocate storage for two dimensional single or multi channel dataset. Read more
Source§

fn dscreate_nd(&self, sizes: &[i32], typ: i32, dslabel: &str) -> Result<()>

Source§

fn dscreate_nd_compress( &self, sizes: &[i32], typ: i32, dslabel: &str, compresslevel: i32, ) -> Result<()>

Source§

fn dscreate_nd_vec_compress_dims( &self, sizes: &Vector<i32>, typ: i32, dslabel: &str, compresslevel: i32, dims_chunks: &Vector<i32>, ) -> Result<()>

C++ default parameters Read more
Source§

fn dscreate_nd_vec_compress_dims_def( &self, sizes: &Vector<i32>, typ: i32, dslabel: &str, ) -> Result<()>

Source§

fn dscreate_nd_compress_dims( &self, sizes: &[i32], typ: i32, dslabel: &str, compresslevel: i32, dims_chunks: &i32, ) -> Result<()>

Create and allocate storage for n-dimensional dataset, single or multichannel type. Read more
Source§

fn dsgetsize(&self, dslabel: &str, dims_flag: i32) -> Result<Vector<i32>>

Fetch dataset sizes Read more
Source§

fn dsgetsize_def(&self, dslabel: &str) -> Result<Vector<i32>>

Fetch dataset sizes Read more
Source§

fn dsgettype(&self, dslabel: &str) -> Result<i32>

Fetch dataset type Read more
Source§

fn dswrite(&self, array: &impl ToInputArray, dslabel: &str) -> Result<()>

Source§

fn dswrite_offset( &self, array: &impl ToInputArray, dslabel: &str, dims_offset: &Vector<i32>, dims_counts: &Vector<i32>, ) -> Result<()>

C++ default parameters Read more
Source§

fn dswrite_offset_def( &self, array: &impl ToInputArray, dslabel: &str, dims_offset: &Vector<i32>, ) -> Result<()>

Source§

fn dsinsert(&self, array: &impl ToInputArray, dslabel: &str) -> Result<()>

Source§

fn dsinsert_offset( &self, array: &impl ToInputArray, dslabel: &str, dims_offset: &Vector<i32>, dims_counts: &Vector<i32>, ) -> Result<()>

C++ default parameters Read more
Source§

fn dsinsert_offset_def( &self, array: &impl ToInputArray, dslabel: &str, dims_offset: &Vector<i32>, ) -> Result<()>

Source§

fn dsread(&self, array: &mut impl ToOutputArray, dslabel: &str) -> Result<()>

Source§

fn dsread_offset( &self, array: &mut impl ToOutputArray, dslabel: &str, dims_offset: &Vector<i32>, dims_counts: &Vector<i32>, ) -> Result<()>

C++ default parameters Read more
Source§

fn dsread_offset_def( &self, array: &mut impl ToOutputArray, dslabel: &str, dims_offset: &Vector<i32>, ) -> Result<()>

Source§

fn kpgetsize(&self, kplabel: &str, dims_flag: i32) -> Result<i32>

Fetch keypoint dataset size Read more
Source§

fn kpgetsize_def(&self, kplabel: &str) -> Result<i32>

Fetch keypoint dataset size Read more
Source§

fn kpcreate( &self, size: i32, kplabel: &str, compresslevel: i32, chunks: i32, ) -> Result<()>

Create and allocate special storage for cv::KeyPoint dataset. Read more
Source§

fn kpcreate_def(&self, size: i32, kplabel: &str) -> Result<()>

Create and allocate special storage for cv::KeyPoint dataset. Read more
Source§

fn kpwrite( &self, keypoints: Vector<KeyPoint>, kplabel: &str, offset: i32, counts: i32, ) -> Result<()>

Write or overwrite list of KeyPoint into specified dataset of hdf5 file. Read more
Source§

fn kpwrite_def(&self, keypoints: Vector<KeyPoint>, kplabel: &str) -> Result<()>

Write or overwrite list of KeyPoint into specified dataset of hdf5 file. Read more
Source§

fn kpinsert( &self, keypoints: Vector<KeyPoint>, kplabel: &str, offset: i32, counts: i32, ) -> Result<()>

Insert or overwrite list of KeyPoint into specified dataset and autoexpand dataset size if unlimited property allows. Read more
Source§

fn kpinsert_def(&self, keypoints: Vector<KeyPoint>, kplabel: &str) -> Result<()>

Insert or overwrite list of KeyPoint into specified dataset and autoexpand dataset size if unlimited property allows. Read more
Source§

fn kpread( &self, keypoints: &mut Vector<KeyPoint>, kplabel: &str, offset: i32, counts: i32, ) -> Result<()>

Read specific keypoint dataset from hdf5 file into vector object. Read more
Source§

fn kpread_def( &self, keypoints: &mut Vector<KeyPoint>, kplabel: &str, ) -> Result<()>

Read specific keypoint dataset from hdf5 file into vector object. Read more
Source§

impl HOGDescriptorTrait for BoxedRefMut<'_, HOGDescriptor>

Source§

fn as_raw_mut_HOGDescriptor( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_win_size(&mut self, val: Size)

Detection window size. Align to block size and block stride. Default value is Size(64,128).
Source§

fn set_block_size(&mut self, val: Size)

Block size in pixels. Align to cell size. Default value is Size(16,16).
Source§

fn set_block_stride(&mut self, val: Size)

Block stride. It must be a multiple of cell size. Default value is Size(8,8).
Source§

fn set_cell_size(&mut self, val: Size)

Cell size. Default value is Size(8,8).
Source§

fn set_nbins(&mut self, val: i32)

Number of bins used in the calculation of histogram of gradients. Default value is 9.
Source§

fn set_deriv_aperture(&mut self, val: i32)

not documented
Source§

fn set_win_sigma(&mut self, val: f64)

Gaussian smoothing window parameter.
Source§

fn set_histogram_norm_type(&mut self, val: HOGDescriptor_HistogramNormType)

histogramNormType
Source§

fn set_l2_hys_threshold(&mut self, val: f64)

L2-Hys normalization method shrinkage.
Source§

fn set_gamma_correction(&mut self, val: bool)

Flag to specify whether the gamma correction preprocessing is required or not.
Source§

fn set_svm_detector(&mut self, val: Vector<f32>)

coefficients for the linear SVM classifier.
Source§

fn set_ocl_svm_detector(&mut self, val: UMat)

coefficients for the linear SVM classifier used when OpenCL is enabled
Source§

fn set_free_coef(&mut self, val: f32)

not documented
Source§

fn set_nlevels(&mut self, val: i32)

Maximum number of detection window increases. Default value is 64
Source§

fn set_signed_gradient(&mut self, val: bool)

Indicates signed gradient will be used or not
Source§

fn set_svm_detector_input_array( &mut self, svmdetector: &impl ToInputArray, ) -> Result<()>

@example samples/cpp/peopledetect.cpp / Sets coefficients for the linear SVM classifier. Read more
Source§

fn read(&mut self, fn_: &mut impl FileNodeTrait) -> Result<bool>

Reads HOGDescriptor parameters and coefficients for the linear SVM classifier from a file node. Read more
Source§

fn load(&mut self, filename: &str, objname: &str) -> Result<bool>

loads HOGDescriptor parameters and coefficients for the linear SVM classifier from a file Read more
Source§

fn load_def(&mut self, filename: &str) -> Result<bool>

loads HOGDescriptor parameters and coefficients for the linear SVM classifier from a file Read more
Source§

impl HOGDescriptorTraitConst for BoxedRefMut<'_, HOGDescriptor>

Source§

fn as_raw_HOGDescriptor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn win_size(&self) -> Size

Detection window size. Align to block size and block stride. Default value is Size(64,128).
Source§

fn block_size(&self) -> Size

Block size in pixels. Align to cell size. Default value is Size(16,16).
Source§

fn block_stride(&self) -> Size

Block stride. It must be a multiple of cell size. Default value is Size(8,8).
Source§

fn cell_size(&self) -> Size

Cell size. Default value is Size(8,8).
Source§

fn nbins(&self) -> i32

Number of bins used in the calculation of histogram of gradients. Default value is 9.
Source§

fn deriv_aperture(&self) -> i32

not documented
Source§

fn win_sigma(&self) -> f64

Gaussian smoothing window parameter.
Source§

fn histogram_norm_type(&self) -> HOGDescriptor_HistogramNormType

histogramNormType
Source§

fn l2_hys_threshold(&self) -> f64

L2-Hys normalization method shrinkage.
Source§

fn gamma_correction(&self) -> bool

Flag to specify whether the gamma correction preprocessing is required or not.
Source§

fn svm_detector(&self) -> Vector<f32>

coefficients for the linear SVM classifier.
Source§

fn ocl_svm_detector(&self) -> UMat

coefficients for the linear SVM classifier used when OpenCL is enabled
Source§

fn free_coef(&self) -> f32

not documented
Source§

fn nlevels(&self) -> i32

Maximum number of detection window increases. Default value is 64
Source§

fn signed_gradient(&self) -> bool

Indicates signed gradient will be used or not
Source§

fn get_descriptor_size(&self) -> Result<size_t>

Returns the number of coefficients required for the classification.
Source§

fn check_detector_size(&self) -> Result<bool>

Checks if detector size equal to descriptor size.
Source§

fn get_win_sigma(&self) -> Result<f64>

Returns winSigma value
Source§

fn write(&self, fs: &mut impl FileStorageTrait, objname: &str) -> Result<()>

Stores HOGDescriptor parameters and coefficients for the linear SVM classifier in a file storage. Read more
Source§

fn save(&self, filename: &str, objname: &str) -> Result<()>

saves HOGDescriptor parameters and coefficients for the linear SVM classifier to a file Read more
Source§

fn save_def(&self, filename: &str) -> Result<()>

saves HOGDescriptor parameters and coefficients for the linear SVM classifier to a file Read more
Source§

fn copy_to(&self, c: &mut impl HOGDescriptorTrait) -> Result<()>

clones the HOGDescriptor Read more
Source§

fn compute( &self, img: &impl ToInputArray, descriptors: &mut Vector<f32>, win_stride: Size, padding: Size, locations: &Vector<Point>, ) -> Result<()>

@example samples/cpp/train_HOG.cpp / Computes HOG descriptors of given image. Read more
Source§

fn compute_def( &self, img: &impl ToInputArray, descriptors: &mut Vector<f32>, ) -> Result<()>

@example samples/cpp/train_HOG.cpp / Computes HOG descriptors of given image. Read more
Source§

fn detect_weights( &self, img: &impl ToInputArray, found_locations: &mut Vector<Point>, weights: &mut Vector<f64>, hit_threshold: f64, win_stride: Size, padding: Size, search_locations: &Vector<Point>, ) -> Result<()>

Performs object detection without a multi-scale window. Read more
Source§

fn detect_weights_def( &self, img: &impl ToInputArray, found_locations: &mut Vector<Point>, weights: &mut Vector<f64>, ) -> Result<()>

Performs object detection without a multi-scale window. Read more
Source§

fn detect( &self, img: &impl ToInputArray, found_locations: &mut Vector<Point>, hit_threshold: f64, win_stride: Size, padding: Size, search_locations: &Vector<Point>, ) -> Result<()>

Performs object detection without a multi-scale window. Read more
Source§

fn detect_def( &self, img: &impl ToInputArray, found_locations: &mut Vector<Point>, ) -> Result<()>

Performs object detection without a multi-scale window. Read more
Source§

fn detect_multi_scale_weights( &self, img: &impl ToInputArray, found_locations: &mut Vector<Rect>, found_weights: &mut Vector<f64>, hit_threshold: f64, win_stride: Size, padding: Size, scale: f64, group_threshold: f64, use_meanshift_grouping: bool, ) -> Result<()>

Detects objects of different sizes in the input image. The detected objects are returned as a list of rectangles. Read more
Source§

fn detect_multi_scale_weights_def( &self, img: &impl ToInputArray, found_locations: &mut Vector<Rect>, found_weights: &mut Vector<f64>, ) -> Result<()>

Detects objects of different sizes in the input image. The detected objects are returned as a list of rectangles. Read more
Source§

fn detect_multi_scale( &self, img: &impl ToInputArray, found_locations: &mut Vector<Rect>, hit_threshold: f64, win_stride: Size, padding: Size, scale: f64, group_threshold: f64, use_meanshift_grouping: bool, ) -> Result<()>

Detects objects of different sizes in the input image. The detected objects are returned as a list of rectangles. Read more
Source§

fn detect_multi_scale_def( &self, img: &impl ToInputArray, found_locations: &mut Vector<Rect>, ) -> Result<()>

Detects objects of different sizes in the input image. The detected objects are returned as a list of rectangles. Read more
Source§

fn compute_gradient( &self, img: &impl ToInputArray, grad: &mut impl ToInputOutputArray, angle_ofs: &mut impl ToInputOutputArray, padding_tl: Size, padding_br: Size, ) -> Result<()>

Computes gradients and quantized gradient orientations. Read more
Source§

fn compute_gradient_def( &self, img: &impl ToInputArray, grad: &mut impl ToInputOutputArray, angle_ofs: &mut impl ToInputOutputArray, ) -> Result<()>

Computes gradients and quantized gradient orientations. Read more
Source§

fn detect_roi( &self, img: &impl ToInputArray, locations: &Vector<Point>, found_locations: &mut Vector<Point>, confidences: &mut Vector<f64>, hit_threshold: f64, win_stride: Size, padding: Size, ) -> Result<()>

evaluate specified ROI and return confidence value for each location Read more
Source§

fn detect_roi_def( &self, img: &impl ToInputArray, locations: &Vector<Point>, found_locations: &mut Vector<Point>, confidences: &mut Vector<f64>, ) -> Result<()>

evaluate specified ROI and return confidence value for each location Read more
Source§

fn detect_multi_scale_roi( &self, img: &impl ToInputArray, found_locations: &mut Vector<Rect>, locations: &mut Vector<DetectionROI>, hit_threshold: f64, group_threshold: i32, ) -> Result<()>

evaluate specified ROI and return confidence value for each location in multiple scales Read more
Source§

fn detect_multi_scale_roi_def( &self, img: &impl ToInputArray, found_locations: &mut Vector<Rect>, locations: &mut Vector<DetectionROI>, ) -> Result<()>

evaluate specified ROI and return confidence value for each location in multiple scales Read more
Source§

fn group_rectangles( &self, rect_list: &mut Vector<Rect>, weights: &mut Vector<f64>, group_threshold: i32, eps: f64, ) -> Result<()>

Groups the object candidate rectangles. Read more
Source§

impl HammingTrait for BoxedRefMut<'_, Hamming>

Source§

fn as_raw_mut_Hamming( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl HammingTraitConst for BoxedRefMut<'_, Hamming>

Source§

fn as_raw_Hamming(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn apply(&self, a: &[u8], b: &[u8]) -> Result<Hamming_ResultType>

this will count the bits in a ^ b
Source§

impl HardSigmoidLayerTrait for BoxedRefMut<'_, HardSigmoidLayer>

Source§

fn as_raw_mut_HardSigmoidLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_alpha(&mut self, val: f32)

Source§

fn set_beta(&mut self, val: f32)

Source§

impl HardSigmoidLayerTraitConst for BoxedRefMut<'_, HardSigmoidLayer>

Source§

fn as_raw_HardSigmoidLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn alpha(&self) -> f32

Source§

fn beta(&self) -> f32

Source§

impl HardSwishLayerTrait for BoxedRefMut<'_, HardSwishLayer>

Source§

fn as_raw_mut_HardSwishLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl HardSwishLayerTraitConst for BoxedRefMut<'_, HardSwishLayer>

Source§

fn as_raw_HardSwishLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl HarrisLaplaceFeatureDetectorTrait for BoxedRefMut<'_, HarrisLaplaceFeatureDetector>

Source§

fn as_raw_mut_HarrisLaplaceFeatureDetector( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_num_octaves(&mut self, num_octaves_: i32) -> Result<()>

Source§

fn set_corn_thresh(&mut self, corn_thresh_: f32) -> Result<()>

Source§

fn set_dog_thresh(&mut self, dog_thresh_: f32) -> Result<()>

Source§

fn set_max_corners(&mut self, max_corners_: i32) -> Result<()>

Source§

fn set_num_layers(&mut self, num_layers_: i32) -> Result<()>

Source§

impl HarrisLaplaceFeatureDetectorTraitConst for BoxedRefMut<'_, HarrisLaplaceFeatureDetector>

Source§

fn as_raw_HarrisLaplaceFeatureDetector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_num_octaves(&self) -> Result<i32>

Source§

fn get_corn_thresh(&self) -> Result<f32>

Source§

fn get_dog_thresh(&self) -> Result<f32>

Source§

fn get_max_corners(&self) -> Result<i32>

Source§

fn get_num_layers(&self) -> Result<i32>

Source§

fn get_default_name(&self) -> Result<String>

Source§

impl HausdorffDistanceExtractorTrait for BoxedRefMut<'_, HausdorffDistanceExtractor>

Source§

fn as_raw_mut_HausdorffDistanceExtractor( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_distance_flag(&mut self, distance_flag: i32) -> Result<()>

Set the norm used to compute the Hausdorff value between two shapes. It can be L1 or L2 norm. Read more
Source§

fn set_rank_proportion(&mut self, rank_proportion: f32) -> Result<()>

This method sets the rank proportion (or fractional value) that establish the Kth ranked value of the partial Hausdorff distance. Experimentally had been shown that 0.6 is a good value to compare shapes. Read more
Source§

impl HausdorffDistanceExtractorTraitConst for BoxedRefMut<'_, HausdorffDistanceExtractor>

Source§

fn as_raw_HausdorffDistanceExtractor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_distance_flag(&self) -> Result<i32>

Source§

fn get_rank_proportion(&self) -> Result<f32>

Source§

impl HfsSegmentTrait for BoxedRefMut<'_, HfsSegment>

Source§

fn as_raw_mut_HfsSegment( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_seg_egb_threshold_i(&mut self, c: f32) -> Result<()>

set and get the parameter segEgbThresholdI. This parameter is used in the second stage mentioned above. It is a constant used to threshold weights of the edge when merging adjacent nodes when applying EGB algorithm. The segmentation result tends to have more regions remained if this value is large and vice versa.
Source§

fn get_seg_egb_threshold_i(&mut self) -> Result<f32>

Source§

fn set_min_region_size_i(&mut self, n: i32) -> Result<()>

set and get the parameter minRegionSizeI. This parameter is used in the second stage mentioned above. After the EGB segmentation, regions that have fewer pixels then this parameter will be merged into it’s adjacent region.
Source§

fn get_min_region_size_i(&mut self) -> Result<i32>

Source§

fn set_seg_egb_threshold_ii(&mut self, c: f32) -> Result<()>

set and get the parameter segEgbThresholdII. This parameter is used in the third stage mentioned above. It serves the same purpose as segEgbThresholdI. The segmentation result tends to have more regions remained if this value is large and vice versa.
Source§

fn get_seg_egb_threshold_ii(&mut self) -> Result<f32>

Source§

fn set_min_region_size_ii(&mut self, n: i32) -> Result<()>

set and get the parameter minRegionSizeII. This parameter is used in the third stage mentioned above. It serves the same purpose as minRegionSizeI
Source§

fn get_min_region_size_ii(&mut self) -> Result<i32>

Source§

fn set_spatial_weight(&mut self, w: f32) -> Result<()>

set and get the parameter spatialWeight. This parameter is used in the first stage mentioned above(the SLIC stage). It describes how important is the role of position when calculating the distance between each pixel and it’s center. The exact formula to calculate the distance is inline formula. The segmentation result tends to have more local consistency if this value is larger. Read more
Source§

fn get_spatial_weight(&mut self) -> Result<f32>

Source§

fn set_slic_spixel_size(&mut self, n: i32) -> Result<()>

set and get the parameter slicSpixelSize. This parameter is used in the first stage mentioned above(the SLIC stage). It describes the size of each superpixel when initializing SLIC. Every superpixel approximately has inline formula pixels in the beginning. Read more
Source§

fn get_slic_spixel_size(&mut self) -> Result<i32>

Source§

fn set_num_slic_iter(&mut self, n: i32) -> Result<()>

set and get the parameter numSlicIter. This parameter is used in the first stage. It describes how many iteration to perform when executing SLIC.
Source§

fn get_num_slic_iter(&mut self) -> Result<i32>

Source§

fn perform_segment_gpu( &mut self, src: &impl ToInputArray, if_draw: bool, ) -> Result<Mat>

do segmentation gpu Read more
Source§

fn perform_segment_gpu_def(&mut self, src: &impl ToInputArray) -> Result<Mat>

do segmentation gpu Read more
Source§

fn perform_segment_cpu( &mut self, src: &impl ToInputArray, if_draw: bool, ) -> Result<Mat>

do segmentation with cpu This method is only implemented for reference. It is highly NOT recommanded to use it. Read more
Source§

fn perform_segment_cpu_def(&mut self, src: &impl ToInputArray) -> Result<Mat>

do segmentation with cpu This method is only implemented for reference. It is highly NOT recommanded to use it. Read more
Source§

impl HfsSegmentTraitConst for BoxedRefMut<'_, HfsSegment>

Source§

fn as_raw_HfsSegment(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl HierarchicalClusteringIndexParamsTrait for BoxedRefMut<'_, HierarchicalClusteringIndexParams>

Source§

fn as_raw_mut_HierarchicalClusteringIndexParams( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl HierarchicalClusteringIndexParamsTraitConst for BoxedRefMut<'_, HierarchicalClusteringIndexParams>

Source§

fn as_raw_HierarchicalClusteringIndexParams( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl HistogramCostExtractorTrait for BoxedRefMut<'_, ChiHistogramCostExtractor>

Source§

fn as_raw_mut_HistogramCostExtractor( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn build_cost_matrix( &mut self, descriptors1: &impl ToInputArray, descriptors2: &impl ToInputArray, cost_matrix: &mut impl ToOutputArray, ) -> Result<()>

Source§

fn set_n_dummies(&mut self, n_dummies: i32) -> Result<()>

Source§

fn set_default_cost(&mut self, default_cost: f32) -> Result<()>

Source§

impl HistogramCostExtractorTrait for BoxedRefMut<'_, EMDHistogramCostExtractor>

Source§

fn as_raw_mut_HistogramCostExtractor( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn build_cost_matrix( &mut self, descriptors1: &impl ToInputArray, descriptors2: &impl ToInputArray, cost_matrix: &mut impl ToOutputArray, ) -> Result<()>

Source§

fn set_n_dummies(&mut self, n_dummies: i32) -> Result<()>

Source§

fn set_default_cost(&mut self, default_cost: f32) -> Result<()>

Source§

impl HistogramCostExtractorTrait for BoxedRefMut<'_, EMDL1HistogramCostExtractor>

Source§

fn as_raw_mut_HistogramCostExtractor( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn build_cost_matrix( &mut self, descriptors1: &impl ToInputArray, descriptors2: &impl ToInputArray, cost_matrix: &mut impl ToOutputArray, ) -> Result<()>

Source§

fn set_n_dummies(&mut self, n_dummies: i32) -> Result<()>

Source§

fn set_default_cost(&mut self, default_cost: f32) -> Result<()>

Source§

impl HistogramCostExtractorTrait for BoxedRefMut<'_, HistogramCostExtractor>

Source§

fn as_raw_mut_HistogramCostExtractor( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn build_cost_matrix( &mut self, descriptors1: &impl ToInputArray, descriptors2: &impl ToInputArray, cost_matrix: &mut impl ToOutputArray, ) -> Result<()>

Source§

fn set_n_dummies(&mut self, n_dummies: i32) -> Result<()>

Source§

fn set_default_cost(&mut self, default_cost: f32) -> Result<()>

Source§

impl HistogramCostExtractorTrait for BoxedRefMut<'_, NormHistogramCostExtractor>

Source§

fn as_raw_mut_HistogramCostExtractor( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn build_cost_matrix( &mut self, descriptors1: &impl ToInputArray, descriptors2: &impl ToInputArray, cost_matrix: &mut impl ToOutputArray, ) -> Result<()>

Source§

fn set_n_dummies(&mut self, n_dummies: i32) -> Result<()>

Source§

fn set_default_cost(&mut self, default_cost: f32) -> Result<()>

Source§

impl HistogramCostExtractorTraitConst for BoxedRefMut<'_, ChiHistogramCostExtractor>

Source§

fn as_raw_HistogramCostExtractor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_n_dummies(&self) -> Result<i32>

Source§

fn get_default_cost(&self) -> Result<f32>

Source§

impl HistogramCostExtractorTraitConst for BoxedRefMut<'_, EMDHistogramCostExtractor>

Source§

fn as_raw_HistogramCostExtractor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_n_dummies(&self) -> Result<i32>

Source§

fn get_default_cost(&self) -> Result<f32>

Source§

impl HistogramCostExtractorTraitConst for BoxedRefMut<'_, EMDL1HistogramCostExtractor>

Source§

fn as_raw_HistogramCostExtractor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_n_dummies(&self) -> Result<i32>

Source§

fn get_default_cost(&self) -> Result<f32>

Source§

impl HistogramCostExtractorTraitConst for BoxedRefMut<'_, HistogramCostExtractor>

Source§

fn as_raw_HistogramCostExtractor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_n_dummies(&self) -> Result<i32>

Source§

fn get_default_cost(&self) -> Result<f32>

Source§

impl HistogramCostExtractorTraitConst for BoxedRefMut<'_, NormHistogramCostExtractor>

Source§

fn as_raw_HistogramCostExtractor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_n_dummies(&self) -> Result<i32>

Source§

fn get_default_cost(&self) -> Result<f32>

Source§

impl HistogramPhaseUnwrappingTrait for BoxedRefMut<'_, HistogramPhaseUnwrapping>

Source§

fn as_raw_mut_HistogramPhaseUnwrapping( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn get_inverse_reliability_map( &mut self, reliability_map: &mut impl ToOutputArray, ) -> Result<()>

Get the reliability map computed from the wrapped phase map. Read more
Source§

impl HistogramPhaseUnwrappingTraitConst for BoxedRefMut<'_, HistogramPhaseUnwrapping>

Source§

fn as_raw_HistogramPhaseUnwrapping( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl HostMemTrait for BoxedRefMut<'_, HostMem>

Source§

fn as_raw_mut_HostMem( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_flags(&mut self, val: i32)

Source§

fn set_rows(&mut self, val: i32)

Source§

fn set_cols(&mut self, val: i32)

Source§

fn set_step(&mut self, val: size_t)

Source§

fn data_mut(&mut self) -> *mut u8

Source§

unsafe fn set_data(&mut self, val: *const u8)

Source§

fn refcount_mut(&mut self) -> *mut i32

Source§

unsafe fn set_refcount(&mut self, val: *const i32)

Source§

fn datastart_mut(&mut self) -> *mut u8

Source§

unsafe fn set_datastart(&mut self, val: *const u8)

Source§

fn set_alloc_type(&mut self, val: HostMem_AllocType)

Source§

fn set(&mut self, m: &impl HostMemTraitConst) -> Result<()>

Source§

fn swap(&mut self, b: &mut impl HostMemTrait) -> Result<()>

swaps with other smart pointer
Source§

fn create(&mut self, rows: i32, cols: i32, typ: i32) -> Result<()>

allocates new matrix data unless the matrix already has specified size and type.
Source§

fn create_1(&mut self, size: Size, typ: i32) -> Result<()>

Source§

fn release(&mut self) -> Result<()>

decrements reference counter and released memory if needed.
Source§

impl HostMemTraitConst for BoxedRefMut<'_, HostMem>

Source§

fn as_raw_HostMem(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn flags(&self) -> i32

Source§

fn rows(&self) -> i32

Source§

fn cols(&self) -> i32

Source§

fn step(&self) -> size_t

Source§

fn data(&self) -> *const u8

Source§

fn refcount(&self) -> *const i32

Source§

fn datastart(&self) -> *const u8

Source§

fn dataend(&self) -> *const u8

Source§

fn alloc_type(&self) -> HostMem_AllocType

Source§

fn try_clone(&self) -> Result<HostMem>

returns deep copy of the matrix, i.e. the data is copied
Source§

fn reshape(&self, cn: i32, rows: i32) -> Result<HostMem>

creates alternative HostMem header for the same data, with different number of channels and/or different number of rows Read more
Source§

fn reshape_def(&self, cn: i32) -> Result<HostMem>

creates alternative HostMem header for the same data, with different number of channels and/or different number of rows Read more
Source§

fn create_mat_header(&self) -> Result<Mat>

returns matrix header with disabled reference counting for HostMem data.
Source§

fn create_gpu_mat_header(&self) -> Result<GpuMat>

Maps CPU memory to GPU address space and creates the cuda::GpuMat header without reference counting for it. Read more
Source§

fn is_continuous(&self) -> Result<bool>

Source§

fn elem_size(&self) -> Result<size_t>

Source§

fn elem_size1(&self) -> Result<size_t>

Source§

fn typ(&self) -> Result<i32>

Source§

fn depth(&self) -> Result<i32>

Source§

fn channels(&self) -> Result<i32>

Source§

fn step1(&self) -> Result<size_t>

Source§

fn size(&self) -> Result<Size>

Source§

fn empty(&self) -> Result<bool>

Source§

impl ICPOdometryTrait for BoxedRefMut<'_, ICPOdometry>

Source§

fn as_raw_mut_ICPOdometry( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_camera_matrix(&mut self, val: &impl MatTraitConst) -> Result<()>

Source§

fn set_min_depth(&mut self, val: f64) -> Result<()>

Source§

fn set_max_depth(&mut self, val: f64) -> Result<()>

Source§

fn set_max_depth_diff(&mut self, val: f64) -> Result<()>

Source§

fn set_iteration_counts(&mut self, val: &impl MatTraitConst) -> Result<()>

Source§

fn set_max_points_part(&mut self, val: f64) -> Result<()>

Source§

fn set_transform_type(&mut self, val: i32) -> Result<()>

Source§

fn set_max_translation(&mut self, val: f64) -> Result<()>

Source§

fn set_max_rotation(&mut self, val: f64) -> Result<()>

Source§

impl ICPOdometryTraitConst for BoxedRefMut<'_, ICPOdometry>

Source§

impl ICPTrait for BoxedRefMut<'_, ICP>

Source§

fn as_raw_mut_ICP( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn register_model_to_scene( &mut self, src_pc: &impl MatTraitConst, dst_pc: &impl MatTraitConst, residual: &mut f64, pose: &mut Matx44d, ) -> Result<i32>

\brief Perform registration Read more
Source§

fn register_model_to_scene_vec( &mut self, src_pc: &impl MatTraitConst, dst_pc: &impl MatTraitConst, poses: &mut Vector<Pose3DPtr>, ) -> Result<i32>

\brief Perform registration with multiple initial poses Read more
Source§

impl ICPTraitConst for BoxedRefMut<'_, ICP>

Source§

fn as_raw_ICP(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl IDenseOptFlowEstimatorTrait for BoxedRefMut<'_, DensePyrLkOptFlowEstimatorGpu>

Source§

fn as_raw_mut_IDenseOptFlowEstimator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn run( &mut self, frame0: &impl ToInputArray, frame1: &impl ToInputArray, flow_x: &mut impl ToInputOutputArray, flow_y: &mut impl ToInputOutputArray, errors: &mut impl ToOutputArray, ) -> Result<()>

Source§

impl IDenseOptFlowEstimatorTrait for BoxedRefMut<'_, IDenseOptFlowEstimator>

Source§

fn as_raw_mut_IDenseOptFlowEstimator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn run( &mut self, frame0: &impl ToInputArray, frame1: &impl ToInputArray, flow_x: &mut impl ToInputOutputArray, flow_y: &mut impl ToInputOutputArray, errors: &mut impl ToOutputArray, ) -> Result<()>

Source§

impl IDenseOptFlowEstimatorTraitConst for BoxedRefMut<'_, DensePyrLkOptFlowEstimatorGpu>

Source§

fn as_raw_IDenseOptFlowEstimator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl IDenseOptFlowEstimatorTraitConst for BoxedRefMut<'_, IDenseOptFlowEstimator>

Source§

fn as_raw_IDenseOptFlowEstimator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl IFrameSourceTrait for BoxedRefMut<'_, IFrameSource>

Source§

fn as_raw_mut_IFrameSource( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn reset(&mut self) -> Result<()>

Source§

fn next_frame(&mut self) -> Result<Mat>

Source§

impl IFrameSourceTrait for BoxedRefMut<'_, MaskFrameSource>

Source§

fn as_raw_mut_IFrameSource( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn reset(&mut self) -> Result<()>

Source§

fn next_frame(&mut self) -> Result<Mat>

Source§

impl IFrameSourceTrait for BoxedRefMut<'_, NullFrameSource>

Source§

fn as_raw_mut_IFrameSource( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn reset(&mut self) -> Result<()>

Source§

fn next_frame(&mut self) -> Result<Mat>

Source§

impl IFrameSourceTrait for BoxedRefMut<'_, OnePassStabilizer>

Source§

fn as_raw_mut_IFrameSource( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn reset(&mut self) -> Result<()>

Source§

fn next_frame(&mut self) -> Result<Mat>

Source§

impl IFrameSourceTrait for BoxedRefMut<'_, TwoPassStabilizer>

Source§

fn as_raw_mut_IFrameSource( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn reset(&mut self) -> Result<()>

Source§

fn next_frame(&mut self) -> Result<Mat>

Source§

impl IFrameSourceTrait for BoxedRefMut<'_, VideoFileSource>

Source§

fn as_raw_mut_IFrameSource( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn reset(&mut self) -> Result<()>

Source§

fn next_frame(&mut self) -> Result<Mat>

Source§

impl IFrameSourceTraitConst for BoxedRefMut<'_, IFrameSource>

Source§

fn as_raw_IFrameSource(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl IFrameSourceTraitConst for BoxedRefMut<'_, MaskFrameSource>

Source§

fn as_raw_IFrameSource(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl IFrameSourceTraitConst for BoxedRefMut<'_, NullFrameSource>

Source§

fn as_raw_IFrameSource(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl IFrameSourceTraitConst for BoxedRefMut<'_, OnePassStabilizer>

Source§

fn as_raw_IFrameSource(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl IFrameSourceTraitConst for BoxedRefMut<'_, TwoPassStabilizer>

Source§

fn as_raw_IFrameSource(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl IFrameSourceTraitConst for BoxedRefMut<'_, VideoFileSource>

Source§

fn as_raw_IFrameSource(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl ILogTrait for BoxedRefMut<'_, ILog>

Source§

fn as_raw_mut_ILog( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn print(&mut self, format: &str) -> Result<()>

Source§

impl ILogTrait for BoxedRefMut<'_, LogToStdout>

Source§

fn as_raw_mut_ILog( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn print(&mut self, format: &str) -> Result<()>

Source§

impl ILogTrait for BoxedRefMut<'_, NullLog>

Source§

fn as_raw_mut_ILog( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn print(&mut self, format: &str) -> Result<()>

Source§

impl ILogTraitConst for BoxedRefMut<'_, ILog>

Source§

fn as_raw_ILog(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl ILogTraitConst for BoxedRefMut<'_, LogToStdout>

Source§

fn as_raw_ILog(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl ILogTraitConst for BoxedRefMut<'_, NullLog>

Source§

fn as_raw_ILog(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl IMotionStabilizerTrait for BoxedRefMut<'_, GaussianMotionFilter>

Source§

fn as_raw_mut_IMotionStabilizer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn stabilize( &mut self, size: i32, motions: &Vector<Mat>, range: &impl RangeTraitConst, stabilization_motions: &mut impl MatTrait, ) -> Result<()>

assumes that [0, size-1) is in or equals to [range.first, range.second)
Source§

impl IMotionStabilizerTrait for BoxedRefMut<'_, IMotionStabilizer>

Source§

fn as_raw_mut_IMotionStabilizer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn stabilize( &mut self, size: i32, motions: &Vector<Mat>, range: &impl RangeTraitConst, stabilization_motions: &mut impl MatTrait, ) -> Result<()>

assumes that [0, size-1) is in or equals to [range.first, range.second)
Source§

impl IMotionStabilizerTrait for BoxedRefMut<'_, LpMotionStabilizer>

Source§

fn as_raw_mut_IMotionStabilizer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn stabilize( &mut self, size: i32, motions: &Vector<Mat>, range: &impl RangeTraitConst, stabilization_motions: &mut impl MatTrait, ) -> Result<()>

assumes that [0, size-1) is in or equals to [range.first, range.second)
Source§

impl IMotionStabilizerTrait for BoxedRefMut<'_, MotionFilterBase>

Source§

fn as_raw_mut_IMotionStabilizer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn stabilize( &mut self, size: i32, motions: &Vector<Mat>, range: &impl RangeTraitConst, stabilization_motions: &mut impl MatTrait, ) -> Result<()>

assumes that [0, size-1) is in or equals to [range.first, range.second)
Source§

impl IMotionStabilizerTrait for BoxedRefMut<'_, MotionStabilizationPipeline>

Source§

fn as_raw_mut_IMotionStabilizer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn stabilize( &mut self, size: i32, motions: &Vector<Mat>, range: &impl RangeTraitConst, stabilization_motions: &mut impl MatTrait, ) -> Result<()>

assumes that [0, size-1) is in or equals to [range.first, range.second)
Source§

impl IMotionStabilizerTraitConst for BoxedRefMut<'_, GaussianMotionFilter>

Source§

fn as_raw_IMotionStabilizer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl IMotionStabilizerTraitConst for BoxedRefMut<'_, IMotionStabilizer>

Source§

fn as_raw_IMotionStabilizer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl IMotionStabilizerTraitConst for BoxedRefMut<'_, LpMotionStabilizer>

Source§

fn as_raw_IMotionStabilizer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl IMotionStabilizerTraitConst for BoxedRefMut<'_, MotionFilterBase>

Source§

fn as_raw_IMotionStabilizer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl IMotionStabilizerTraitConst for BoxedRefMut<'_, MotionStabilizationPipeline>

Source§

fn as_raw_IMotionStabilizer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl IOutlierRejectorTrait for BoxedRefMut<'_, IOutlierRejector>

Source§

fn as_raw_mut_IOutlierRejector( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn process( &mut self, frame_size: Size, points0: &impl ToInputArray, points1: &impl ToInputArray, mask: &mut impl ToOutputArray, ) -> Result<()>

Source§

impl IOutlierRejectorTrait for BoxedRefMut<'_, NullOutlierRejector>

Source§

fn as_raw_mut_IOutlierRejector( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn process( &mut self, frame_size: Size, points0: &impl ToInputArray, points1: &impl ToInputArray, mask: &mut impl ToOutputArray, ) -> Result<()>

Source§

impl IOutlierRejectorTrait for BoxedRefMut<'_, TranslationBasedLocalOutlierRejector>

Source§

fn as_raw_mut_IOutlierRejector( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn process( &mut self, frame_size: Size, points0: &impl ToInputArray, points1: &impl ToInputArray, mask: &mut impl ToOutputArray, ) -> Result<()>

Source§

impl IOutlierRejectorTraitConst for BoxedRefMut<'_, IOutlierRejector>

Source§

fn as_raw_IOutlierRejector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl IOutlierRejectorTraitConst for BoxedRefMut<'_, NullOutlierRejector>

Source§

fn as_raw_IOutlierRejector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl IOutlierRejectorTraitConst for BoxedRefMut<'_, TranslationBasedLocalOutlierRejector>

Source§

fn as_raw_IOutlierRejector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl ISparseOptFlowEstimatorTrait for BoxedRefMut<'_, ISparseOptFlowEstimator>

Source§

fn as_raw_mut_ISparseOptFlowEstimator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn run( &mut self, frame0: &impl ToInputArray, frame1: &impl ToInputArray, points0: &impl ToInputArray, points1: &mut impl ToInputOutputArray, status: &mut impl ToOutputArray, errors: &mut impl ToOutputArray, ) -> Result<()>

Source§

impl ISparseOptFlowEstimatorTrait for BoxedRefMut<'_, SparsePyrLkOptFlowEstimator>

Source§

fn as_raw_mut_ISparseOptFlowEstimator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn run( &mut self, frame0: &impl ToInputArray, frame1: &impl ToInputArray, points0: &impl ToInputArray, points1: &mut impl ToInputOutputArray, status: &mut impl ToOutputArray, errors: &mut impl ToOutputArray, ) -> Result<()>

Source§

impl ISparseOptFlowEstimatorTrait for BoxedRefMut<'_, SparsePyrLkOptFlowEstimatorGpu>

Source§

fn as_raw_mut_ISparseOptFlowEstimator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn run( &mut self, frame0: &impl ToInputArray, frame1: &impl ToInputArray, points0: &impl ToInputArray, points1: &mut impl ToInputOutputArray, status: &mut impl ToOutputArray, errors: &mut impl ToOutputArray, ) -> Result<()>

Source§

impl ISparseOptFlowEstimatorTraitConst for BoxedRefMut<'_, ISparseOptFlowEstimator>

Source§

fn as_raw_ISparseOptFlowEstimator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl ISparseOptFlowEstimatorTraitConst for BoxedRefMut<'_, SparsePyrLkOptFlowEstimator>

Source§

fn as_raw_ISparseOptFlowEstimator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl ISparseOptFlowEstimatorTraitConst for BoxedRefMut<'_, SparsePyrLkOptFlowEstimatorGpu>

Source§

fn as_raw_ISparseOptFlowEstimator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl IStreamReaderTrait for BoxedRefMut<'_, IStreamReader>

Source§

fn as_raw_mut_IStreamReader( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn read(&mut self, buffer: &mut String, size: i64) -> Result<i64>

Read bytes from stream Read more
Source§

fn seek(&mut self, offset: i64, origin: i32) -> Result<i64>

Sets the stream position Read more
Source§

impl IStreamReaderTraitConst for BoxedRefMut<'_, IStreamReader>

Source§

fn as_raw_IStreamReader( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Image2DTrait for BoxedRefMut<'_, Image2D>

Source§

fn as_raw_mut_Image2D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set(&mut self, i: &impl Image2DTraitConst) -> Result<()>

Source§

fn set_1(&mut self, unnamed: Image2D)

Source§

impl Image2DTraitConst for BoxedRefMut<'_, Image2D>

Source§

fn as_raw_Image2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn ptr(&self) -> Result<*mut c_void>

Source§

impl ImageCollectionTrait for BoxedRefMut<'_, ImageCollection>

Source§

fn as_raw_mut_ImageCollection( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn init(&mut self, img: &str, flags: i32) -> Result<()>

Source§

fn at(&mut self, index: i32) -> Result<Mat>

Source§

fn get_mut(&mut self, index: i32) -> Result<Mat>

Source§

fn release_cache(&mut self, index: i32) -> Result<()>

Source§

fn begin(&mut self) -> Result<ImageCollection_iterator>

Source§

fn end(&mut self) -> Result<ImageCollection_iterator>

Source§

impl ImageCollectionTraitConst for BoxedRefMut<'_, ImageCollection>

Source§

fn as_raw_ImageCollection( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn size(&self) -> Result<size_t>

Source§

impl ImageCollection_iteratorTrait for BoxedRefMut<'_, ImageCollection_iterator>

Source§

fn as_raw_mut_ImageCollection_iterator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn try_deref_mut(&mut self) -> Result<Mat>

Source§

fn incr(&mut self) -> Result<ImageCollection_iterator>

Source§

impl ImageCollection_iteratorTraitConst for BoxedRefMut<'_, ImageCollection_iterator>

Source§

fn as_raw_ImageCollection_iterator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl ImageMotionEstimatorBaseTrait for BoxedRefMut<'_, FromFileMotionReader>

Source§

fn as_raw_mut_ImageMotionEstimatorBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_motion_model(&mut self, val: MotionModel) -> Result<()>

Source§

fn set_frame_mask(&mut self, mask: &impl ToInputArray) -> Result<()>

Source§

fn estimate( &mut self, frame0: &impl MatTraitConst, frame1: &impl MatTraitConst, ok: &mut bool, ) -> Result<Mat>

C++ default parameters Read more
Source§

fn estimate_def( &mut self, frame0: &impl MatTraitConst, frame1: &impl MatTraitConst, ) -> Result<Mat>

Source§

impl ImageMotionEstimatorBaseTrait for BoxedRefMut<'_, ImageMotionEstimatorBase>

Source§

fn as_raw_mut_ImageMotionEstimatorBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_motion_model(&mut self, val: MotionModel) -> Result<()>

Source§

fn set_frame_mask(&mut self, mask: &impl ToInputArray) -> Result<()>

Source§

fn estimate( &mut self, frame0: &impl MatTraitConst, frame1: &impl MatTraitConst, ok: &mut bool, ) -> Result<Mat>

C++ default parameters Read more
Source§

fn estimate_def( &mut self, frame0: &impl MatTraitConst, frame1: &impl MatTraitConst, ) -> Result<Mat>

Source§

impl ImageMotionEstimatorBaseTrait for BoxedRefMut<'_, KeypointBasedMotionEstimator>

Source§

fn as_raw_mut_ImageMotionEstimatorBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_motion_model(&mut self, val: MotionModel) -> Result<()>

Source§

fn set_frame_mask(&mut self, mask: &impl ToInputArray) -> Result<()>

Source§

fn estimate( &mut self, frame0: &impl MatTraitConst, frame1: &impl MatTraitConst, ok: &mut bool, ) -> Result<Mat>

C++ default parameters Read more
Source§

fn estimate_def( &mut self, frame0: &impl MatTraitConst, frame1: &impl MatTraitConst, ) -> Result<Mat>

Source§

impl ImageMotionEstimatorBaseTrait for BoxedRefMut<'_, KeypointBasedMotionEstimatorGpu>

Source§

fn as_raw_mut_ImageMotionEstimatorBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_motion_model(&mut self, val: MotionModel) -> Result<()>

Source§

fn set_frame_mask(&mut self, mask: &impl ToInputArray) -> Result<()>

Source§

fn estimate( &mut self, frame0: &impl MatTraitConst, frame1: &impl MatTraitConst, ok: &mut bool, ) -> Result<Mat>

C++ default parameters Read more
Source§

fn estimate_def( &mut self, frame0: &impl MatTraitConst, frame1: &impl MatTraitConst, ) -> Result<Mat>

Source§

impl ImageMotionEstimatorBaseTrait for BoxedRefMut<'_, ToFileMotionWriter>

Source§

fn as_raw_mut_ImageMotionEstimatorBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_motion_model(&mut self, val: MotionModel) -> Result<()>

Source§

fn set_frame_mask(&mut self, mask: &impl ToInputArray) -> Result<()>

Source§

fn estimate( &mut self, frame0: &impl MatTraitConst, frame1: &impl MatTraitConst, ok: &mut bool, ) -> Result<Mat>

C++ default parameters Read more
Source§

fn estimate_def( &mut self, frame0: &impl MatTraitConst, frame1: &impl MatTraitConst, ) -> Result<Mat>

Source§

impl ImageMotionEstimatorBaseTraitConst for BoxedRefMut<'_, FromFileMotionReader>

Source§

fn as_raw_ImageMotionEstimatorBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn motion_model(&self) -> Result<MotionModel>

Source§

impl ImageMotionEstimatorBaseTraitConst for BoxedRefMut<'_, ImageMotionEstimatorBase>

Source§

fn as_raw_ImageMotionEstimatorBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn motion_model(&self) -> Result<MotionModel>

Source§

impl ImageMotionEstimatorBaseTraitConst for BoxedRefMut<'_, KeypointBasedMotionEstimator>

Source§

fn as_raw_ImageMotionEstimatorBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn motion_model(&self) -> Result<MotionModel>

Source§

impl ImageMotionEstimatorBaseTraitConst for BoxedRefMut<'_, KeypointBasedMotionEstimatorGpu>

Source§

fn as_raw_ImageMotionEstimatorBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn motion_model(&self) -> Result<MotionModel>

Source§

impl ImageMotionEstimatorBaseTraitConst for BoxedRefMut<'_, ToFileMotionWriter>

Source§

fn as_raw_ImageMotionEstimatorBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn motion_model(&self) -> Result<MotionModel>

Source§

impl ImageTrait for BoxedRefMut<'_, Image>

Source§

fn as_raw_mut_Image( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_org(&mut self, val: Point)

The bottom-left corner of the image
Source§

fn set_img(&mut self, val: Mat)

Image to draw
Source§

fn set_alpha(&mut self, val: Mat)

Alpha channel for image to draw (same size and number of channels)
Source§

impl ImageTraitConst for BoxedRefMut<'_, Image>

Source§

fn as_raw_Image(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn org(&self) -> Point

The bottom-left corner of the image
Source§

fn img(&self) -> Mat

Image to draw
Source§

fn alpha(&self) -> Mat

Alpha channel for image to draw (same size and number of channels)
Source§

impl ImgHashBaseTrait for BoxedRefMut<'_, AverageHash>

Source§

fn as_raw_mut_ImgHashBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn compute( &mut self, input_arr: &impl ToInputArray, output_arr: &mut impl ToOutputArray, ) -> Result<()>

Computes hash of the input image Read more
Source§

impl ImgHashBaseTrait for BoxedRefMut<'_, BlockMeanHash>

Source§

fn as_raw_mut_ImgHashBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn compute( &mut self, input_arr: &impl ToInputArray, output_arr: &mut impl ToOutputArray, ) -> Result<()>

Computes hash of the input image Read more
Source§

impl ImgHashBaseTrait for BoxedRefMut<'_, ColorMomentHash>

Source§

fn as_raw_mut_ImgHashBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn compute( &mut self, input_arr: &impl ToInputArray, output_arr: &mut impl ToOutputArray, ) -> Result<()>

Computes hash of the input image Read more
Source§

impl ImgHashBaseTrait for BoxedRefMut<'_, ImgHashBase>

Source§

fn as_raw_mut_ImgHashBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn compute( &mut self, input_arr: &impl ToInputArray, output_arr: &mut impl ToOutputArray, ) -> Result<()>

Computes hash of the input image Read more
Source§

impl ImgHashBaseTrait for BoxedRefMut<'_, MarrHildrethHash>

Source§

fn as_raw_mut_ImgHashBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn compute( &mut self, input_arr: &impl ToInputArray, output_arr: &mut impl ToOutputArray, ) -> Result<()>

Computes hash of the input image Read more
Source§

impl ImgHashBaseTrait for BoxedRefMut<'_, PHash>

Source§

fn as_raw_mut_ImgHashBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn compute( &mut self, input_arr: &impl ToInputArray, output_arr: &mut impl ToOutputArray, ) -> Result<()>

Computes hash of the input image Read more
Source§

impl ImgHashBaseTrait for BoxedRefMut<'_, RadialVarianceHash>

Source§

fn as_raw_mut_ImgHashBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn compute( &mut self, input_arr: &impl ToInputArray, output_arr: &mut impl ToOutputArray, ) -> Result<()>

Computes hash of the input image Read more
Source§

impl ImgHashBaseTraitConst for BoxedRefMut<'_, AverageHash>

Source§

fn as_raw_ImgHashBase(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn compare( &self, hash_one: &impl ToInputArray, hash_two: &impl ToInputArray, ) -> Result<f64>

Compare the hash value between inOne and inTwo Read more
Source§

impl ImgHashBaseTraitConst for BoxedRefMut<'_, BlockMeanHash>

Source§

fn as_raw_ImgHashBase(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn compare( &self, hash_one: &impl ToInputArray, hash_two: &impl ToInputArray, ) -> Result<f64>

Compare the hash value between inOne and inTwo Read more
Source§

impl ImgHashBaseTraitConst for BoxedRefMut<'_, ColorMomentHash>

Source§

fn as_raw_ImgHashBase(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn compare( &self, hash_one: &impl ToInputArray, hash_two: &impl ToInputArray, ) -> Result<f64>

Compare the hash value between inOne and inTwo Read more
Source§

impl ImgHashBaseTraitConst for BoxedRefMut<'_, ImgHashBase>

Source§

fn as_raw_ImgHashBase(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn compare( &self, hash_one: &impl ToInputArray, hash_two: &impl ToInputArray, ) -> Result<f64>

Compare the hash value between inOne and inTwo Read more
Source§

impl ImgHashBaseTraitConst for BoxedRefMut<'_, MarrHildrethHash>

Source§

fn as_raw_ImgHashBase(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn compare( &self, hash_one: &impl ToInputArray, hash_two: &impl ToInputArray, ) -> Result<f64>

Compare the hash value between inOne and inTwo Read more
Source§

impl ImgHashBaseTraitConst for BoxedRefMut<'_, PHash>

Source§

fn as_raw_ImgHashBase(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn compare( &self, hash_one: &impl ToInputArray, hash_two: &impl ToInputArray, ) -> Result<f64>

Compare the hash value between inOne and inTwo Read more
Source§

impl ImgHashBaseTraitConst for BoxedRefMut<'_, RadialVarianceHash>

Source§

fn as_raw_ImgHashBase(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn compare( &self, hash_one: &impl ToInputArray, hash_two: &impl ToInputArray, ) -> Result<f64>

Compare the hash value between inOne and inTwo Read more
Source§

impl IndexParamsTrait for BoxedRefMut<'_, AutotunedIndexParams>

Source§

fn as_raw_mut_IndexParams( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

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

Source§

unsafe fn set_params(&mut self, val: *const c_void)

Source§

fn set_string(&mut self, key: &str, value: &str) -> Result<()>

Source§

fn set_int(&mut self, key: &str, value: i32) -> Result<()>

Source§

fn set_double(&mut self, key: &str, value: f64) -> Result<()>

Source§

fn set_float(&mut self, key: &str, value: f32) -> Result<()>

Source§

fn set_bool(&mut self, key: &str, value: bool) -> Result<()>

Source§

fn set_algorithm(&mut self, value: i32) -> Result<()>

Source§

impl IndexParamsTrait for BoxedRefMut<'_, CompositeIndexParams>

Source§

fn as_raw_mut_IndexParams( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

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

Source§

unsafe fn set_params(&mut self, val: *const c_void)

Source§

fn set_string(&mut self, key: &str, value: &str) -> Result<()>

Source§

fn set_int(&mut self, key: &str, value: i32) -> Result<()>

Source§

fn set_double(&mut self, key: &str, value: f64) -> Result<()>

Source§

fn set_float(&mut self, key: &str, value: f32) -> Result<()>

Source§

fn set_bool(&mut self, key: &str, value: bool) -> Result<()>

Source§

fn set_algorithm(&mut self, value: i32) -> Result<()>

Source§

impl IndexParamsTrait for BoxedRefMut<'_, HierarchicalClusteringIndexParams>

Source§

fn as_raw_mut_IndexParams( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

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

Source§

unsafe fn set_params(&mut self, val: *const c_void)

Source§

fn set_string(&mut self, key: &str, value: &str) -> Result<()>

Source§

fn set_int(&mut self, key: &str, value: i32) -> Result<()>

Source§

fn set_double(&mut self, key: &str, value: f64) -> Result<()>

Source§

fn set_float(&mut self, key: &str, value: f32) -> Result<()>

Source§

fn set_bool(&mut self, key: &str, value: bool) -> Result<()>

Source§

fn set_algorithm(&mut self, value: i32) -> Result<()>

Source§

impl IndexParamsTrait for BoxedRefMut<'_, IndexParams>

Source§

fn as_raw_mut_IndexParams( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

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

Source§

unsafe fn set_params(&mut self, val: *const c_void)

Source§

fn set_string(&mut self, key: &str, value: &str) -> Result<()>

Source§

fn set_int(&mut self, key: &str, value: i32) -> Result<()>

Source§

fn set_double(&mut self, key: &str, value: f64) -> Result<()>

Source§

fn set_float(&mut self, key: &str, value: f32) -> Result<()>

Source§

fn set_bool(&mut self, key: &str, value: bool) -> Result<()>

Source§

fn set_algorithm(&mut self, value: i32) -> Result<()>

Source§

impl IndexParamsTrait for BoxedRefMut<'_, KDTreeIndexParams>

Source§

fn as_raw_mut_IndexParams( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

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

Source§

unsafe fn set_params(&mut self, val: *const c_void)

Source§

fn set_string(&mut self, key: &str, value: &str) -> Result<()>

Source§

fn set_int(&mut self, key: &str, value: i32) -> Result<()>

Source§

fn set_double(&mut self, key: &str, value: f64) -> Result<()>

Source§

fn set_float(&mut self, key: &str, value: f32) -> Result<()>

Source§

fn set_bool(&mut self, key: &str, value: bool) -> Result<()>

Source§

fn set_algorithm(&mut self, value: i32) -> Result<()>

Source§

impl IndexParamsTrait for BoxedRefMut<'_, KMeansIndexParams>

Source§

fn as_raw_mut_IndexParams( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

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

Source§

unsafe fn set_params(&mut self, val: *const c_void)

Source§

fn set_string(&mut self, key: &str, value: &str) -> Result<()>

Source§

fn set_int(&mut self, key: &str, value: i32) -> Result<()>

Source§

fn set_double(&mut self, key: &str, value: f64) -> Result<()>

Source§

fn set_float(&mut self, key: &str, value: f32) -> Result<()>

Source§

fn set_bool(&mut self, key: &str, value: bool) -> Result<()>

Source§

fn set_algorithm(&mut self, value: i32) -> Result<()>

Source§

impl IndexParamsTrait for BoxedRefMut<'_, LinearIndexParams>

Source§

fn as_raw_mut_IndexParams( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

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

Source§

unsafe fn set_params(&mut self, val: *const c_void)

Source§

fn set_string(&mut self, key: &str, value: &str) -> Result<()>

Source§

fn set_int(&mut self, key: &str, value: i32) -> Result<()>

Source§

fn set_double(&mut self, key: &str, value: f64) -> Result<()>

Source§

fn set_float(&mut self, key: &str, value: f32) -> Result<()>

Source§

fn set_bool(&mut self, key: &str, value: bool) -> Result<()>

Source§

fn set_algorithm(&mut self, value: i32) -> Result<()>

Source§

impl IndexParamsTrait for BoxedRefMut<'_, LshIndexParams>

Source§

fn as_raw_mut_IndexParams( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

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

Source§

unsafe fn set_params(&mut self, val: *const c_void)

Source§

fn set_string(&mut self, key: &str, value: &str) -> Result<()>

Source§

fn set_int(&mut self, key: &str, value: i32) -> Result<()>

Source§

fn set_double(&mut self, key: &str, value: f64) -> Result<()>

Source§

fn set_float(&mut self, key: &str, value: f32) -> Result<()>

Source§

fn set_bool(&mut self, key: &str, value: bool) -> Result<()>

Source§

fn set_algorithm(&mut self, value: i32) -> Result<()>

Source§

impl IndexParamsTrait for BoxedRefMut<'_, SavedIndexParams>

Source§

fn as_raw_mut_IndexParams( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

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

Source§

unsafe fn set_params(&mut self, val: *const c_void)

Source§

fn set_string(&mut self, key: &str, value: &str) -> Result<()>

Source§

fn set_int(&mut self, key: &str, value: i32) -> Result<()>

Source§

fn set_double(&mut self, key: &str, value: f64) -> Result<()>

Source§

fn set_float(&mut self, key: &str, value: f32) -> Result<()>

Source§

fn set_bool(&mut self, key: &str, value: bool) -> Result<()>

Source§

fn set_algorithm(&mut self, value: i32) -> Result<()>

Source§

impl IndexParamsTrait for BoxedRefMut<'_, SearchParams>

Source§

fn as_raw_mut_IndexParams( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

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

Source§

unsafe fn set_params(&mut self, val: *const c_void)

Source§

fn set_string(&mut self, key: &str, value: &str) -> Result<()>

Source§

fn set_int(&mut self, key: &str, value: i32) -> Result<()>

Source§

fn set_double(&mut self, key: &str, value: f64) -> Result<()>

Source§

fn set_float(&mut self, key: &str, value: f32) -> Result<()>

Source§

fn set_bool(&mut self, key: &str, value: bool) -> Result<()>

Source§

fn set_algorithm(&mut self, value: i32) -> Result<()>

Source§

impl IndexParamsTraitConst for BoxedRefMut<'_, AutotunedIndexParams>

Source§

fn as_raw_IndexParams(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_string(&self, key: &str, default_val: &str) -> Result<String>

C++ default parameters Read more
Source§

fn get_string_def(&self, key: &str) -> Result<String>

Source§

fn get_int(&self, key: &str, default_val: i32) -> Result<i32>

C++ default parameters Read more
Source§

fn get_int_def(&self, key: &str) -> Result<i32>

Source§

fn get_double(&self, key: &str, default_val: f64) -> Result<f64>

C++ default parameters Read more
Source§

fn get_double_def(&self, key: &str) -> Result<f64>

Source§

fn get_all( &self, names: &mut Vector<String>, types: &mut Vector<FlannIndexType>, str_values: &mut Vector<String>, num_values: &mut Vector<f64>, ) -> Result<()>

Source§

impl IndexParamsTraitConst for BoxedRefMut<'_, CompositeIndexParams>

Source§

fn as_raw_IndexParams(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_string(&self, key: &str, default_val: &str) -> Result<String>

C++ default parameters Read more
Source§

fn get_string_def(&self, key: &str) -> Result<String>

Source§

fn get_int(&self, key: &str, default_val: i32) -> Result<i32>

C++ default parameters Read more
Source§

fn get_int_def(&self, key: &str) -> Result<i32>

Source§

fn get_double(&self, key: &str, default_val: f64) -> Result<f64>

C++ default parameters Read more
Source§

fn get_double_def(&self, key: &str) -> Result<f64>

Source§

fn get_all( &self, names: &mut Vector<String>, types: &mut Vector<FlannIndexType>, str_values: &mut Vector<String>, num_values: &mut Vector<f64>, ) -> Result<()>

Source§

impl IndexParamsTraitConst for BoxedRefMut<'_, HierarchicalClusteringIndexParams>

Source§

fn as_raw_IndexParams(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_string(&self, key: &str, default_val: &str) -> Result<String>

C++ default parameters Read more
Source§

fn get_string_def(&self, key: &str) -> Result<String>

Source§

fn get_int(&self, key: &str, default_val: i32) -> Result<i32>

C++ default parameters Read more
Source§

fn get_int_def(&self, key: &str) -> Result<i32>

Source§

fn get_double(&self, key: &str, default_val: f64) -> Result<f64>

C++ default parameters Read more
Source§

fn get_double_def(&self, key: &str) -> Result<f64>

Source§

fn get_all( &self, names: &mut Vector<String>, types: &mut Vector<FlannIndexType>, str_values: &mut Vector<String>, num_values: &mut Vector<f64>, ) -> Result<()>

Source§

impl IndexParamsTraitConst for BoxedRefMut<'_, IndexParams>

Source§

fn as_raw_IndexParams(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_string(&self, key: &str, default_val: &str) -> Result<String>

C++ default parameters Read more
Source§

fn get_string_def(&self, key: &str) -> Result<String>

Source§

fn get_int(&self, key: &str, default_val: i32) -> Result<i32>

C++ default parameters Read more
Source§

fn get_int_def(&self, key: &str) -> Result<i32>

Source§

fn get_double(&self, key: &str, default_val: f64) -> Result<f64>

C++ default parameters Read more
Source§

fn get_double_def(&self, key: &str) -> Result<f64>

Source§

fn get_all( &self, names: &mut Vector<String>, types: &mut Vector<FlannIndexType>, str_values: &mut Vector<String>, num_values: &mut Vector<f64>, ) -> Result<()>

Source§

impl IndexParamsTraitConst for BoxedRefMut<'_, KDTreeIndexParams>

Source§

fn as_raw_IndexParams(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_string(&self, key: &str, default_val: &str) -> Result<String>

C++ default parameters Read more
Source§

fn get_string_def(&self, key: &str) -> Result<String>

Source§

fn get_int(&self, key: &str, default_val: i32) -> Result<i32>

C++ default parameters Read more
Source§

fn get_int_def(&self, key: &str) -> Result<i32>

Source§

fn get_double(&self, key: &str, default_val: f64) -> Result<f64>

C++ default parameters Read more
Source§

fn get_double_def(&self, key: &str) -> Result<f64>

Source§

fn get_all( &self, names: &mut Vector<String>, types: &mut Vector<FlannIndexType>, str_values: &mut Vector<String>, num_values: &mut Vector<f64>, ) -> Result<()>

Source§

impl IndexParamsTraitConst for BoxedRefMut<'_, KMeansIndexParams>

Source§

fn as_raw_IndexParams(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_string(&self, key: &str, default_val: &str) -> Result<String>

C++ default parameters Read more
Source§

fn get_string_def(&self, key: &str) -> Result<String>

Source§

fn get_int(&self, key: &str, default_val: i32) -> Result<i32>

C++ default parameters Read more
Source§

fn get_int_def(&self, key: &str) -> Result<i32>

Source§

fn get_double(&self, key: &str, default_val: f64) -> Result<f64>

C++ default parameters Read more
Source§

fn get_double_def(&self, key: &str) -> Result<f64>

Source§

fn get_all( &self, names: &mut Vector<String>, types: &mut Vector<FlannIndexType>, str_values: &mut Vector<String>, num_values: &mut Vector<f64>, ) -> Result<()>

Source§

impl IndexParamsTraitConst for BoxedRefMut<'_, LinearIndexParams>

Source§

fn as_raw_IndexParams(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_string(&self, key: &str, default_val: &str) -> Result<String>

C++ default parameters Read more
Source§

fn get_string_def(&self, key: &str) -> Result<String>

Source§

fn get_int(&self, key: &str, default_val: i32) -> Result<i32>

C++ default parameters Read more
Source§

fn get_int_def(&self, key: &str) -> Result<i32>

Source§

fn get_double(&self, key: &str, default_val: f64) -> Result<f64>

C++ default parameters Read more
Source§

fn get_double_def(&self, key: &str) -> Result<f64>

Source§

fn get_all( &self, names: &mut Vector<String>, types: &mut Vector<FlannIndexType>, str_values: &mut Vector<String>, num_values: &mut Vector<f64>, ) -> Result<()>

Source§

impl IndexParamsTraitConst for BoxedRefMut<'_, LshIndexParams>

Source§

fn as_raw_IndexParams(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_string(&self, key: &str, default_val: &str) -> Result<String>

C++ default parameters Read more
Source§

fn get_string_def(&self, key: &str) -> Result<String>

Source§

fn get_int(&self, key: &str, default_val: i32) -> Result<i32>

C++ default parameters Read more
Source§

fn get_int_def(&self, key: &str) -> Result<i32>

Source§

fn get_double(&self, key: &str, default_val: f64) -> Result<f64>

C++ default parameters Read more
Source§

fn get_double_def(&self, key: &str) -> Result<f64>

Source§

fn get_all( &self, names: &mut Vector<String>, types: &mut Vector<FlannIndexType>, str_values: &mut Vector<String>, num_values: &mut Vector<f64>, ) -> Result<()>

Source§

impl IndexParamsTraitConst for BoxedRefMut<'_, SavedIndexParams>

Source§

fn as_raw_IndexParams(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_string(&self, key: &str, default_val: &str) -> Result<String>

C++ default parameters Read more
Source§

fn get_string_def(&self, key: &str) -> Result<String>

Source§

fn get_int(&self, key: &str, default_val: i32) -> Result<i32>

C++ default parameters Read more
Source§

fn get_int_def(&self, key: &str) -> Result<i32>

Source§

fn get_double(&self, key: &str, default_val: f64) -> Result<f64>

C++ default parameters Read more
Source§

fn get_double_def(&self, key: &str) -> Result<f64>

Source§

fn get_all( &self, names: &mut Vector<String>, types: &mut Vector<FlannIndexType>, str_values: &mut Vector<String>, num_values: &mut Vector<f64>, ) -> Result<()>

Source§

impl IndexParamsTraitConst for BoxedRefMut<'_, SearchParams>

Source§

fn as_raw_IndexParams(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_string(&self, key: &str, default_val: &str) -> Result<String>

C++ default parameters Read more
Source§

fn get_string_def(&self, key: &str) -> Result<String>

Source§

fn get_int(&self, key: &str, default_val: i32) -> Result<i32>

C++ default parameters Read more
Source§

fn get_int_def(&self, key: &str) -> Result<i32>

Source§

fn get_double(&self, key: &str, default_val: f64) -> Result<f64>

C++ default parameters Read more
Source§

fn get_double_def(&self, key: &str) -> Result<f64>

Source§

fn get_all( &self, names: &mut Vector<String>, types: &mut Vector<FlannIndexType>, str_values: &mut Vector<String>, num_values: &mut Vector<f64>, ) -> Result<()>

Source§

impl IndexTrait for BoxedRefMut<'_, Index>

Source§

fn as_raw_mut_Index( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn build( &mut self, features: &impl ToInputArray, params: &impl IndexParamsTraitConst, dist_type: flann_distance_t, ) -> Result<()>

C++ default parameters Read more
Source§

fn build_def( &mut self, features: &impl ToInputArray, params: &impl IndexParamsTraitConst, ) -> Result<()>

C++ default parameters Read more
Source§

fn knn_search_def( &mut self, query: &impl ToInputArray, indices: &mut impl ToOutputArray, dists: &mut impl ToOutputArray, knn: i32, ) -> Result<()>

C++ default parameters Read more
Source§

fn radius_search_def( &mut self, query: &impl ToInputArray, indices: &mut impl ToOutputArray, dists: &mut impl ToOutputArray, radius: f64, max_results: i32, ) -> Result<i32>

Source§

fn load(&mut self, features: &impl ToInputArray, filename: &str) -> Result<bool>

Source§

fn release(&mut self) -> Result<()>

Source§

impl IndexTraitConst for BoxedRefMut<'_, Index>

Source§

fn as_raw_Index(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn save(&self, filename: &str) -> Result<()>

Source§

fn get_distance(&self) -> Result<flann_distance_t>

Source§

fn get_algorithm(&self) -> Result<flann_algorithm_t>

Source§

impl InnerProductLayerInt8Trait for BoxedRefMut<'_, InnerProductLayerInt8>

Source§

fn as_raw_mut_InnerProductLayerInt8( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_input_zp(&mut self, val: i32)

Source§

fn set_output_zp(&mut self, val: i32)

Source§

fn set_input_sc(&mut self, val: f32)

Source§

fn set_output_sc(&mut self, val: f32)

Source§

fn set_per_channel(&mut self, val: bool)

Source§

impl InnerProductLayerInt8TraitConst for BoxedRefMut<'_, InnerProductLayerInt8>

Source§

fn as_raw_InnerProductLayerInt8( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn input_zp(&self) -> i32

Source§

fn output_zp(&self) -> i32

Source§

fn input_sc(&self) -> f32

Source§

fn output_sc(&self) -> f32

Source§

fn per_channel(&self) -> bool

Source§

impl InnerProductLayerTrait for BoxedRefMut<'_, InnerProductLayer>

Source§

fn as_raw_mut_InnerProductLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_axis(&mut self, val: i32)

Source§

impl InnerProductLayerTrait for BoxedRefMut<'_, InnerProductLayerInt8>

Source§

fn as_raw_mut_InnerProductLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_axis(&mut self, val: i32)

Source§

impl InnerProductLayerTraitConst for BoxedRefMut<'_, InnerProductLayer>

Source§

fn as_raw_InnerProductLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn axis(&self) -> i32

Source§

impl InnerProductLayerTraitConst for BoxedRefMut<'_, InnerProductLayerInt8>

Source§

fn as_raw_InnerProductLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn axis(&self) -> i32

Source§

impl InpainterBaseTrait for BoxedRefMut<'_, ColorAverageInpainter>

Source§

fn as_raw_mut_InpainterBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_radius(&mut self, val: i32) -> Result<()>

Source§

fn set_motion_model(&mut self, val: MotionModel) -> Result<()>

Source§

fn inpaint( &mut self, idx: i32, frame: &mut impl MatTrait, mask: &mut impl MatTrait, ) -> Result<()>

Source§

fn set_frames(&mut self, val: &Vector<Mat>) -> Result<()>

Source§

fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()>

Source§

fn set_stabilized_frames(&mut self, val: &Vector<Mat>) -> Result<()>

Source§

fn set_stabilization_motions(&mut self, val: &Vector<Mat>) -> Result<()>

Source§

impl InpainterBaseTrait for BoxedRefMut<'_, ColorInpainter>

Source§

fn as_raw_mut_InpainterBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_radius(&mut self, val: i32) -> Result<()>

Source§

fn set_motion_model(&mut self, val: MotionModel) -> Result<()>

Source§

fn inpaint( &mut self, idx: i32, frame: &mut impl MatTrait, mask: &mut impl MatTrait, ) -> Result<()>

Source§

fn set_frames(&mut self, val: &Vector<Mat>) -> Result<()>

Source§

fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()>

Source§

fn set_stabilized_frames(&mut self, val: &Vector<Mat>) -> Result<()>

Source§

fn set_stabilization_motions(&mut self, val: &Vector<Mat>) -> Result<()>

Source§

impl InpainterBaseTrait for BoxedRefMut<'_, ConsistentMosaicInpainter>

Source§

fn as_raw_mut_InpainterBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_radius(&mut self, val: i32) -> Result<()>

Source§

fn set_motion_model(&mut self, val: MotionModel) -> Result<()>

Source§

fn inpaint( &mut self, idx: i32, frame: &mut impl MatTrait, mask: &mut impl MatTrait, ) -> Result<()>

Source§

fn set_frames(&mut self, val: &Vector<Mat>) -> Result<()>

Source§

fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()>

Source§

fn set_stabilized_frames(&mut self, val: &Vector<Mat>) -> Result<()>

Source§

fn set_stabilization_motions(&mut self, val: &Vector<Mat>) -> Result<()>

Source§

impl InpainterBaseTrait for BoxedRefMut<'_, InpainterBase>

Source§

fn as_raw_mut_InpainterBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_radius(&mut self, val: i32) -> Result<()>

Source§

fn set_motion_model(&mut self, val: MotionModel) -> Result<()>

Source§

fn inpaint( &mut self, idx: i32, frame: &mut impl MatTrait, mask: &mut impl MatTrait, ) -> Result<()>

Source§

fn set_frames(&mut self, val: &Vector<Mat>) -> Result<()>

Source§

fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()>

Source§

fn set_stabilized_frames(&mut self, val: &Vector<Mat>) -> Result<()>

Source§

fn set_stabilization_motions(&mut self, val: &Vector<Mat>) -> Result<()>

Source§

impl InpainterBaseTrait for BoxedRefMut<'_, InpaintingPipeline>

Source§

fn as_raw_mut_InpainterBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_radius(&mut self, val: i32) -> Result<()>

Source§

fn set_motion_model(&mut self, val: MotionModel) -> Result<()>

Source§

fn inpaint( &mut self, idx: i32, frame: &mut impl MatTrait, mask: &mut impl MatTrait, ) -> Result<()>

Source§

fn set_frames(&mut self, val: &Vector<Mat>) -> Result<()>

Source§

fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()>

Source§

fn set_stabilized_frames(&mut self, val: &Vector<Mat>) -> Result<()>

Source§

fn set_stabilization_motions(&mut self, val: &Vector<Mat>) -> Result<()>

Source§

impl InpainterBaseTrait for BoxedRefMut<'_, MotionInpainter>

Source§

fn as_raw_mut_InpainterBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_radius(&mut self, val: i32) -> Result<()>

Source§

fn set_motion_model(&mut self, val: MotionModel) -> Result<()>

Source§

fn inpaint( &mut self, idx: i32, frame: &mut impl MatTrait, mask: &mut impl MatTrait, ) -> Result<()>

Source§

fn set_frames(&mut self, val: &Vector<Mat>) -> Result<()>

Source§

fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()>

Source§

fn set_stabilized_frames(&mut self, val: &Vector<Mat>) -> Result<()>

Source§

fn set_stabilization_motions(&mut self, val: &Vector<Mat>) -> Result<()>

Source§

impl InpainterBaseTrait for BoxedRefMut<'_, NullInpainter>

Source§

fn as_raw_mut_InpainterBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_radius(&mut self, val: i32) -> Result<()>

Source§

fn set_motion_model(&mut self, val: MotionModel) -> Result<()>

Source§

fn inpaint( &mut self, idx: i32, frame: &mut impl MatTrait, mask: &mut impl MatTrait, ) -> Result<()>

Source§

fn set_frames(&mut self, val: &Vector<Mat>) -> Result<()>

Source§

fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()>

Source§

fn set_stabilized_frames(&mut self, val: &Vector<Mat>) -> Result<()>

Source§

fn set_stabilization_motions(&mut self, val: &Vector<Mat>) -> Result<()>

Source§

impl InpainterBaseTraitConst for BoxedRefMut<'_, ColorAverageInpainter>

Source§

fn as_raw_InpainterBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn radius(&self) -> Result<i32>

Source§

fn motion_model(&self) -> Result<MotionModel>

Source§

fn frames(&self) -> Result<Vector<Mat>>

Source§

fn motions(&self) -> Result<Vector<Mat>>

Source§

fn stabilized_frames(&self) -> Result<Vector<Mat>>

Source§

fn stabilization_motions(&self) -> Result<Vector<Mat>>

Source§

impl InpainterBaseTraitConst for BoxedRefMut<'_, ColorInpainter>

Source§

fn as_raw_InpainterBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn radius(&self) -> Result<i32>

Source§

fn motion_model(&self) -> Result<MotionModel>

Source§

fn frames(&self) -> Result<Vector<Mat>>

Source§

fn motions(&self) -> Result<Vector<Mat>>

Source§

fn stabilized_frames(&self) -> Result<Vector<Mat>>

Source§

fn stabilization_motions(&self) -> Result<Vector<Mat>>

Source§

impl InpainterBaseTraitConst for BoxedRefMut<'_, ConsistentMosaicInpainter>

Source§

fn as_raw_InpainterBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn radius(&self) -> Result<i32>

Source§

fn motion_model(&self) -> Result<MotionModel>

Source§

fn frames(&self) -> Result<Vector<Mat>>

Source§

fn motions(&self) -> Result<Vector<Mat>>

Source§

fn stabilized_frames(&self) -> Result<Vector<Mat>>

Source§

fn stabilization_motions(&self) -> Result<Vector<Mat>>

Source§

impl InpainterBaseTraitConst for BoxedRefMut<'_, InpainterBase>

Source§

fn as_raw_InpainterBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn radius(&self) -> Result<i32>

Source§

fn motion_model(&self) -> Result<MotionModel>

Source§

fn frames(&self) -> Result<Vector<Mat>>

Source§

fn motions(&self) -> Result<Vector<Mat>>

Source§

fn stabilized_frames(&self) -> Result<Vector<Mat>>

Source§

fn stabilization_motions(&self) -> Result<Vector<Mat>>

Source§

impl InpainterBaseTraitConst for BoxedRefMut<'_, InpaintingPipeline>

Source§

fn as_raw_InpainterBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn radius(&self) -> Result<i32>

Source§

fn motion_model(&self) -> Result<MotionModel>

Source§

fn frames(&self) -> Result<Vector<Mat>>

Source§

fn motions(&self) -> Result<Vector<Mat>>

Source§

fn stabilized_frames(&self) -> Result<Vector<Mat>>

Source§

fn stabilization_motions(&self) -> Result<Vector<Mat>>

Source§

impl InpainterBaseTraitConst for BoxedRefMut<'_, MotionInpainter>

Source§

fn as_raw_InpainterBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn radius(&self) -> Result<i32>

Source§

fn motion_model(&self) -> Result<MotionModel>

Source§

fn frames(&self) -> Result<Vector<Mat>>

Source§

fn motions(&self) -> Result<Vector<Mat>>

Source§

fn stabilized_frames(&self) -> Result<Vector<Mat>>

Source§

fn stabilization_motions(&self) -> Result<Vector<Mat>>

Source§

impl InpainterBaseTraitConst for BoxedRefMut<'_, NullInpainter>

Source§

fn as_raw_InpainterBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn radius(&self) -> Result<i32>

Source§

fn motion_model(&self) -> Result<MotionModel>

Source§

fn frames(&self) -> Result<Vector<Mat>>

Source§

fn motions(&self) -> Result<Vector<Mat>>

Source§

fn stabilized_frames(&self) -> Result<Vector<Mat>>

Source§

fn stabilization_motions(&self) -> Result<Vector<Mat>>

Source§

impl InpaintingPipelineTrait for BoxedRefMut<'_, InpaintingPipeline>

Source§

fn as_raw_mut_InpaintingPipeline( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn push_back(&mut self, inpainter: Ptr<InpainterBase>) -> Result<()>

Source§

fn set_radius(&mut self, val: i32) -> Result<()>

Source§

fn set_motion_model(&mut self, val: MotionModel) -> Result<()>

Source§

fn set_frames(&mut self, val: &Vector<Mat>) -> Result<()>

Source§

fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()>

Source§

fn set_stabilized_frames(&mut self, val: &Vector<Mat>) -> Result<()>

Source§

fn set_stabilization_motions(&mut self, val: &Vector<Mat>) -> Result<()>

Source§

fn inpaint( &mut self, idx: i32, frame: &mut impl MatTrait, mask: &mut impl MatTrait, ) -> Result<()>

Source§

impl InpaintingPipelineTraitConst for BoxedRefMut<'_, InpaintingPipeline>

Source§

fn as_raw_InpaintingPipeline( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn empty(&self) -> Result<bool>

Source§

impl InstanceNormLayerTrait for BoxedRefMut<'_, InstanceNormLayer>

Source§

fn as_raw_mut_InstanceNormLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_epsilon(&mut self, val: f32)

Source§

impl InstanceNormLayerTraitConst for BoxedRefMut<'_, InstanceNormLayer>

Source§

fn as_raw_InstanceNormLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn epsilon(&self) -> f32

Source§

impl IntelligentScissorsMBTrait for BoxedRefMut<'_, IntelligentScissorsMB>

Source§

fn as_raw_mut_IntelligentScissorsMB( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_weights( &mut self, weight_non_edge: f32, weight_gradient_direction: f32, weight_gradient_magnitude: f32, ) -> Result<IntelligentScissorsMB>

Specify weights of feature functions Read more
Source§

fn set_gradient_magnitude_max_limit( &mut self, gradient_magnitude_threshold_max: f32, ) -> Result<IntelligentScissorsMB>

Specify gradient magnitude max value threshold Read more
Source§

fn set_gradient_magnitude_max_limit_def( &mut self, ) -> Result<IntelligentScissorsMB>

Specify gradient magnitude max value threshold Read more
Source§

fn set_edge_feature_zero_crossing_parameters( &mut self, gradient_magnitude_min_value: f32, ) -> Result<IntelligentScissorsMB>

Switch to “Laplacian Zero-Crossing” edge feature extractor and specify its parameters Read more
Source§

fn set_edge_feature_zero_crossing_parameters_def( &mut self, ) -> Result<IntelligentScissorsMB>

Switch to “Laplacian Zero-Crossing” edge feature extractor and specify its parameters Read more
Source§

fn set_edge_feature_canny_parameters( &mut self, threshold1: f64, threshold2: f64, aperture_size: i32, l2gradient: bool, ) -> Result<IntelligentScissorsMB>

Switch edge feature extractor to use Canny edge detector Read more
Source§

fn set_edge_feature_canny_parameters_def( &mut self, threshold1: f64, threshold2: f64, ) -> Result<IntelligentScissorsMB>

Switch edge feature extractor to use Canny edge detector Read more
Source§

fn apply_image( &mut self, image: &impl ToInputArray, ) -> Result<IntelligentScissorsMB>

Specify input image and extract image features Read more
Source§

fn apply_image_features( &mut self, non_edge: &impl ToInputArray, gradient_direction: &impl ToInputArray, gradient_magnitude: &impl ToInputArray, image: &impl ToInputArray, ) -> Result<IntelligentScissorsMB>

Specify custom features of input image Read more
Source§

fn apply_image_features_def( &mut self, non_edge: &impl ToInputArray, gradient_direction: &impl ToInputArray, gradient_magnitude: &impl ToInputArray, ) -> Result<IntelligentScissorsMB>

Specify custom features of input image Read more
Source§

fn build_map(&mut self, source_pt: Point) -> Result<()>

Prepares a map of optimal paths for the given source point on the image Read more
Source§

impl IntelligentScissorsMBTraitConst for BoxedRefMut<'_, IntelligentScissorsMB>

Source§

fn as_raw_IntelligentScissorsMB( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_contour( &self, target_pt: Point, contour: &mut impl ToOutputArray, backward: bool, ) -> Result<()>

Extracts optimal contour for the given target point on the image Read more
Source§

fn get_contour_def( &self, target_pt: Point, contour: &mut impl ToOutputArray, ) -> Result<()>

Extracts optimal contour for the given target point on the image Read more
Source§

impl InterpLayerTrait for BoxedRefMut<'_, InterpLayer>

Source§

fn as_raw_mut_InterpLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl InterpLayerTraitConst for BoxedRefMut<'_, InterpLayer>

Source§

fn as_raw_InterpLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl KAZETrait for BoxedRefMut<'_, KAZE>

Source§

fn as_raw_mut_KAZE( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_extended(&mut self, extended: bool) -> Result<()>

Source§

fn set_upright(&mut self, upright: bool) -> Result<()>

Source§

fn set_threshold(&mut self, threshold: f64) -> Result<()>

Source§

fn set_n_octaves(&mut self, octaves: i32) -> Result<()>

Source§

fn set_n_octave_layers(&mut self, octave_layers: i32) -> Result<()>

Source§

fn set_diffusivity(&mut self, diff: KAZE_DiffusivityType) -> Result<()>

Source§

impl KAZETraitConst for BoxedRefMut<'_, KAZE>

Source§

fn as_raw_KAZE(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_extended(&self) -> Result<bool>

Source§

fn get_upright(&self) -> Result<bool>

Source§

fn get_threshold(&self) -> Result<f64>

Source§

fn get_n_octaves(&self) -> Result<i32>

Source§

fn get_n_octave_layers(&self) -> Result<i32>

Source§

fn get_diffusivity(&self) -> Result<KAZE_DiffusivityType>

Source§

fn get_default_name(&self) -> Result<String>

Source§

impl KDTreeIndexParamsTrait for BoxedRefMut<'_, KDTreeIndexParams>

Source§

fn as_raw_mut_KDTreeIndexParams( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl KDTreeIndexParamsTraitConst for BoxedRefMut<'_, KDTreeIndexParams>

Source§

fn as_raw_KDTreeIndexParams( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl KMeansIndexParamsTrait for BoxedRefMut<'_, KMeansIndexParams>

Source§

fn as_raw_mut_KMeansIndexParams( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl KMeansIndexParamsTraitConst for BoxedRefMut<'_, KMeansIndexParams>

Source§

fn as_raw_KMeansIndexParams( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl KNearestTrait for BoxedRefMut<'_, KNearest>

Source§

fn as_raw_mut_KNearest( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_default_k(&mut self, val: i32) -> Result<()>

Default number of neighbors to use in predict method. Read more
Source§

fn set_is_classifier(&mut self, val: bool) -> Result<()>

Whether classification or regression model should be trained. Read more
Source§

fn set_emax(&mut self, val: i32) -> Result<()>

Parameter for KDTree implementation. Read more
Source§

fn set_algorithm_type(&mut self, val: i32) -> Result<()>

%Algorithm type, one of KNearest::Types. Read more
Source§

impl KNearestTraitConst for BoxedRefMut<'_, KNearest>

Source§

fn as_raw_KNearest(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_default_k(&self) -> Result<i32>

Default number of neighbors to use in predict method. Read more
Source§

fn get_is_classifier(&self) -> Result<bool>

Whether classification or regression model should be trained. Read more
Source§

fn get_emax(&self) -> Result<i32>

Parameter for KDTree implementation. Read more
Source§

fn get_algorithm_type(&self) -> Result<i32>

%Algorithm type, one of KNearest::Types. Read more
Source§

fn find_nearest( &self, samples: &impl ToInputArray, k: i32, results: &mut impl ToOutputArray, neighbor_responses: &mut impl ToOutputArray, dist: &mut impl ToOutputArray, ) -> Result<f32>

Finds the neighbors and predicts responses for input vectors. Read more
Source§

fn find_nearest_def( &self, samples: &impl ToInputArray, k: i32, results: &mut impl ToOutputArray, ) -> Result<f32>

Finds the neighbors and predicts responses for input vectors. Read more
Source§

impl KalmanFilterTrait for BoxedRefMut<'_, KalmanFilter>

Source§

fn as_raw_mut_KalmanFilter( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_state_pre(&mut self, val: Mat)

predicted state (x’(k)): x(k)=Ax(k-1)+Bu(k)
Source§

fn set_state_post(&mut self, val: Mat)

corrected state (x(k)): x(k)=x’(k)+K(k)(z(k)-Hx’(k))
Source§

fn set_transition_matrix(&mut self, val: Mat)

state transition matrix (A)
Source§

fn set_control_matrix(&mut self, val: Mat)

control matrix (B) (not used if there is no control)
Source§

fn set_measurement_matrix(&mut self, val: Mat)

measurement matrix (H)
Source§

fn set_process_noise_cov(&mut self, val: Mat)

process noise covariance matrix (Q)
Source§

fn set_measurement_noise_cov(&mut self, val: Mat)

measurement noise covariance matrix (R)
Source§

fn set_error_cov_pre(&mut self, val: Mat)

priori error estimate covariance matrix (P’(k)): P’(k)=A*P(k-1)*At + Q)
Source§

fn set_gain(&mut self, val: Mat)

Kalman gain matrix (K(k)): K(k)=P’(k)Htinv(H*P’(k)*Ht+R)
Source§

fn set_error_cov_post(&mut self, val: Mat)

posteriori error estimate covariance matrix (P(k)): P(k)=(I-K(k)*H)*P’(k)
Source§

fn set_temp1(&mut self, val: Mat)

Source§

fn set_temp2(&mut self, val: Mat)

Source§

fn set_temp3(&mut self, val: Mat)

Source§

fn set_temp4(&mut self, val: Mat)

Source§

fn set_temp5(&mut self, val: Mat)

Source§

fn init( &mut self, dynam_params: i32, measure_params: i32, control_params: i32, typ: i32, ) -> Result<()>

Re-initializes Kalman filter. The previous content is destroyed. Read more
Source§

fn init_def(&mut self, dynam_params: i32, measure_params: i32) -> Result<()>

Re-initializes Kalman filter. The previous content is destroyed. Read more
Source§

fn predict(&mut self, control: &impl MatTraitConst) -> Result<Mat>

Computes a predicted state. Read more
Source§

fn predict_def(&mut self) -> Result<Mat>

Computes a predicted state. Read more
Source§

fn correct(&mut self, measurement: &impl MatTraitConst) -> Result<Mat>

Updates the predicted state from the measurement. Read more
Source§

impl KalmanFilterTraitConst for BoxedRefMut<'_, KalmanFilter>

Source§

fn as_raw_KalmanFilter(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn state_pre(&self) -> Mat

predicted state (x’(k)): x(k)=Ax(k-1)+Bu(k)
Source§

fn state_post(&self) -> Mat

corrected state (x(k)): x(k)=x’(k)+K(k)(z(k)-Hx’(k))
Source§

fn transition_matrix(&self) -> Mat

state transition matrix (A)
Source§

fn control_matrix(&self) -> Mat

control matrix (B) (not used if there is no control)
Source§

fn measurement_matrix(&self) -> Mat

measurement matrix (H)
Source§

fn process_noise_cov(&self) -> Mat

process noise covariance matrix (Q)
Source§

fn measurement_noise_cov(&self) -> Mat

measurement noise covariance matrix (R)
Source§

fn error_cov_pre(&self) -> Mat

priori error estimate covariance matrix (P’(k)): P’(k)=A*P(k-1)*At + Q)
Source§

fn gain(&self) -> Mat

Kalman gain matrix (K(k)): K(k)=P’(k)Htinv(H*P’(k)*Ht+R)
Source§

fn error_cov_post(&self) -> Mat

posteriori error estimate covariance matrix (P(k)): P(k)=(I-K(k)*H)*P’(k)
Source§

fn temp1(&self) -> Mat

Source§

fn temp2(&self) -> Mat

Source§

fn temp3(&self) -> Mat

Source§

fn temp4(&self) -> Mat

Source§

fn temp5(&self) -> Mat

Source§

impl KernelArgTrait for BoxedRefMut<'_, KernelArg>

Source§

fn as_raw_mut_KernelArg( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_flags(&mut self, val: i32)

Source§

fn m(&mut self) -> UMat

Source§

fn set_m(&mut self, val: &impl UMatTraitConst)

Source§

fn set_sz(&mut self, val: size_t)

Source§

fn set_wscale(&mut self, val: i32)

Source§

fn set_iwscale(&mut self, val: i32)

Source§

impl KernelArgTraitConst for BoxedRefMut<'_, KernelArg>

Source§

fn as_raw_KernelArg(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn flags(&self) -> i32

Source§

fn obj(&self) -> *const c_void

Source§

fn sz(&self) -> size_t

Source§

fn wscale(&self) -> i32

Source§

fn iwscale(&self) -> i32

Source§

impl KernelTrait for BoxedRefMut<'_, Kernel>

Source§

fn as_raw_mut_Kernel( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set(&mut self, k: &impl KernelTraitConst) -> Result<()>

Source§

fn set_1(&mut self, k: Kernel)

Source§

fn create(&mut self, kname: &str, prog: &impl ProgramTraitConst) -> Result<bool>

Source§

fn create_ext( &mut self, kname: &str, prog: &impl ProgramSourceTraitConst, buildopts: &str, errmsg: &mut String, ) -> Result<bool>

C++ default parameters Read more
Source§

fn create_ext_def( &mut self, kname: &str, prog: &impl ProgramSourceTraitConst, buildopts: &str, ) -> Result<bool>

Source§

unsafe fn set_2( &mut self, i: i32, value: *const c_void, sz: size_t, ) -> Result<i32>

Source§

fn set_3(&mut self, i: i32, image_2d: &impl Image2DTraitConst) -> Result<i32>

Source§

fn set_umat(&mut self, i: i32, m: &impl UMatTraitConst) -> Result<i32>

Source§

fn set_kernel_arg( &mut self, i: i32, arg: &impl KernelArgTraitConst, ) -> Result<i32>

Source§

fn run( &mut self, globalsize: &mut [size_t], localsize: &mut [size_t], sync: bool, q: &impl QueueTraitConst, ) -> Result<bool>

Run the OpenCL kernel (globalsize value may be adjusted) Read more
Source§

fn run_def( &mut self, globalsize: &mut [size_t], localsize: &mut [size_t], sync: bool, ) -> Result<bool>

Run the OpenCL kernel (globalsize value may be adjusted) Read more
Source§

fn run_( &mut self, globalsize: &mut [size_t], localsize: &mut [size_t], sync: bool, q: &impl QueueTraitConst, ) -> Result<bool>

Run the OpenCL kernel Read more
Source§

fn run__def( &mut self, globalsize: &mut [size_t], localsize: &mut [size_t], sync: bool, ) -> Result<bool>

Run the OpenCL kernel Read more
Source§

fn run_task(&mut self, sync: bool, q: &impl QueueTraitConst) -> Result<bool>

C++ default parameters Read more
Source§

fn run_task_def(&mut self, sync: bool) -> Result<bool>

Source§

fn run_profiling( &mut self, globalsize: &mut [size_t], localsize: &mut [size_t], q: &impl QueueTraitConst, ) -> Result<i64>

Similar to synchronized run_() call with returning of kernel execution time Read more
Source§

fn run_profiling_def( &mut self, globalsize: &mut [size_t], localsize: &mut [size_t], ) -> Result<i64>

Similar to synchronized run_() call with returning of kernel execution time Read more
Source§

impl KernelTraitConst for BoxedRefMut<'_, Kernel>

Source§

fn as_raw_Kernel(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn empty(&self) -> Result<bool>

Source§

fn work_group_size(&self) -> Result<size_t>

Source§

fn prefered_work_group_size_multiple(&self) -> Result<size_t>

Source§

fn compile_work_group_size(&self, wsz: &mut [size_t]) -> Result<bool>

Source§

fn local_mem_size(&self) -> Result<size_t>

Source§

fn ptr(&self) -> Result<*mut c_void>

Source§

impl KeyPointTrait for BoxedRefMut<'_, Elliptic_KeyPoint>

Source§

fn as_raw_mut_KeyPoint( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_pt(&mut self, val: Point2f)

coordinates of the keypoints
Source§

fn set_size(&mut self, val: f32)

diameter of the meaningful keypoint neighborhood
Source§

fn set_angle(&mut self, val: f32)

computed orientation of the keypoint (-1 if not applicable); it’s in [0,360) degrees and measured relative to image coordinate system, ie in clockwise.
Source§

fn set_response(&mut self, val: f32)

the response by which the most strong keypoints have been selected. Can be used for the further sorting or subsampling
Source§

fn set_octave(&mut self, val: i32)

octave (pyramid layer) from which the keypoint has been extracted
Source§

fn set_class_id(&mut self, val: i32)

object class (if the keypoints need to be clustered by an object they belong to)
Source§

impl KeyPointTrait for BoxedRefMut<'_, KeyPoint>

Source§

fn as_raw_mut_KeyPoint( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_pt(&mut self, val: Point2f)

coordinates of the keypoints
Source§

fn set_size(&mut self, val: f32)

diameter of the meaningful keypoint neighborhood
Source§

fn set_angle(&mut self, val: f32)

computed orientation of the keypoint (-1 if not applicable); it’s in [0,360) degrees and measured relative to image coordinate system, ie in clockwise.
Source§

fn set_response(&mut self, val: f32)

the response by which the most strong keypoints have been selected. Can be used for the further sorting or subsampling
Source§

fn set_octave(&mut self, val: i32)

octave (pyramid layer) from which the keypoint has been extracted
Source§

fn set_class_id(&mut self, val: i32)

object class (if the keypoints need to be clustered by an object they belong to)
Source§

impl KeyPointTraitConst for BoxedRefMut<'_, Elliptic_KeyPoint>

Source§

fn as_raw_KeyPoint(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn pt(&self) -> Point2f

coordinates of the keypoints
Source§

fn size(&self) -> f32

diameter of the meaningful keypoint neighborhood
Source§

fn angle(&self) -> f32

computed orientation of the keypoint (-1 if not applicable); it’s in [0,360) degrees and measured relative to image coordinate system, ie in clockwise.
Source§

fn response(&self) -> f32

the response by which the most strong keypoints have been selected. Can be used for the further sorting or subsampling
Source§

fn octave(&self) -> i32

octave (pyramid layer) from which the keypoint has been extracted
Source§

fn class_id(&self) -> i32

object class (if the keypoints need to be clustered by an object they belong to)
Source§

fn hash(&self) -> Result<size_t>

Source§

impl KeyPointTraitConst for BoxedRefMut<'_, KeyPoint>

Source§

fn as_raw_KeyPoint(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn pt(&self) -> Point2f

coordinates of the keypoints
Source§

fn size(&self) -> f32

diameter of the meaningful keypoint neighborhood
Source§

fn angle(&self) -> f32

computed orientation of the keypoint (-1 if not applicable); it’s in [0,360) degrees and measured relative to image coordinate system, ie in clockwise.
Source§

fn response(&self) -> f32

the response by which the most strong keypoints have been selected. Can be used for the further sorting or subsampling
Source§

fn octave(&self) -> i32

octave (pyramid layer) from which the keypoint has been extracted
Source§

fn class_id(&self) -> i32

object class (if the keypoints need to be clustered by an object they belong to)
Source§

fn hash(&self) -> Result<size_t>

Source§

impl KeyPointsFilterTrait for BoxedRefMut<'_, KeyPointsFilter>

Source§

fn as_raw_mut_KeyPointsFilter( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl KeyPointsFilterTraitConst for BoxedRefMut<'_, KeyPointsFilter>

Source§

fn as_raw_KeyPointsFilter( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl KeyboardEventTrait for BoxedRefMut<'_, KeyboardEvent>

Source§

fn as_raw_mut_KeyboardEvent( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_action(&mut self, val: KeyboardEvent_Action)

Source§

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

Source§

fn set_code(&mut self, val: u8)

Source§

fn set_modifiers(&mut self, val: i32)

Source§

impl KeyboardEventTraitConst for BoxedRefMut<'_, KeyboardEvent>

Source§

fn as_raw_KeyboardEvent( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn action(&self) -> KeyboardEvent_Action

Source§

fn symbol(&self) -> String

Source§

fn code(&self) -> u8

Source§

fn modifiers(&self) -> i32

Source§

impl KeypointBasedMotionEstimatorGpuTrait for BoxedRefMut<'_, KeypointBasedMotionEstimatorGpu>

Source§

fn as_raw_mut_KeypointBasedMotionEstimatorGpu( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_motion_model(&mut self, val: MotionModel) -> Result<()>

Source§

fn set_outlier_rejector(&mut self, val: Ptr<IOutlierRejector>) -> Result<()>

Source§

fn estimate( &mut self, frame0: &impl MatTraitConst, frame1: &impl MatTraitConst, ok: &mut bool, ) -> Result<Mat>

C++ default parameters Read more
Source§

fn estimate_def( &mut self, frame0: &impl MatTraitConst, frame1: &impl MatTraitConst, ) -> Result<Mat>

Source§

fn estimate_1( &mut self, frame0: &impl GpuMatTraitConst, frame1: &impl GpuMatTraitConst, ok: &mut bool, ) -> Result<Mat>

C++ default parameters Read more
Source§

fn estimate_def_1( &mut self, frame0: &impl GpuMatTraitConst, frame1: &impl GpuMatTraitConst, ) -> Result<Mat>

Source§

impl KeypointBasedMotionEstimatorGpuTraitConst for BoxedRefMut<'_, KeypointBasedMotionEstimatorGpu>

Source§

fn as_raw_KeypointBasedMotionEstimatorGpu( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn motion_model(&self) -> Result<MotionModel>

Source§

fn outlier_rejector(&self) -> Result<Ptr<IOutlierRejector>>

Source§

impl KeypointBasedMotionEstimatorTrait for BoxedRefMut<'_, KeypointBasedMotionEstimator>

Source§

fn as_raw_mut_KeypointBasedMotionEstimator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_motion_model(&mut self, val: MotionModel) -> Result<()>

Source§

fn set_detector(&mut self, val: Ptr<Feature2D>) -> Result<()>

Source§

fn set_optical_flow_estimator( &mut self, val: Ptr<ISparseOptFlowEstimator>, ) -> Result<()>

Source§

fn set_outlier_rejector(&mut self, val: Ptr<IOutlierRejector>) -> Result<()>

Source§

fn set_frame_mask(&mut self, mask: &impl ToInputArray) -> Result<()>

Source§

fn estimate_mat( &mut self, frame0: &impl MatTraitConst, frame1: &impl MatTraitConst, ok: &mut bool, ) -> Result<Mat>

C++ default parameters Read more
Source§

fn estimate_mat_def( &mut self, frame0: &impl MatTraitConst, frame1: &impl MatTraitConst, ) -> Result<Mat>

Source§

fn estimate( &mut self, frame0: &impl ToInputArray, frame1: &impl ToInputArray, ok: &mut bool, ) -> Result<Mat>

C++ default parameters Read more
Source§

fn estimate_def( &mut self, frame0: &impl ToInputArray, frame1: &impl ToInputArray, ) -> Result<Mat>

Source§

impl KeypointBasedMotionEstimatorTraitConst for BoxedRefMut<'_, KeypointBasedMotionEstimator>

Source§

impl KeypointsModelTrait for BoxedRefMut<'_, KeypointsModel>

Source§

fn as_raw_mut_KeypointsModel( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn estimate( &mut self, frame: &impl ToInputArray, thresh: f32, ) -> Result<Vector<Point2f>>

Given the @p input frame, create input blob, run net Read more
Source§

fn estimate_def(&mut self, frame: &impl ToInputArray) -> Result<Vector<Point2f>>

Given the @p input frame, create input blob, run net Read more
Source§

impl KeypointsModelTraitConst for BoxedRefMut<'_, KeypointsModel>

Source§

fn as_raw_KeypointsModel( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Kinfu_Detail_PoseGraphTrait for BoxedRefMut<'_, Kinfu_Detail_PoseGraph>

Source§

fn as_raw_mut_Kinfu_Detail_PoseGraph( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn add_node( &mut self, _node_id: size_t, _pose: Affine3d, fixed: bool, ) -> Result<()>

Source§

fn set_node_fixed(&mut self, node_id: size_t, fixed: bool) -> Result<bool>

Source§

fn add_edge( &mut self, _source_node_id: size_t, _target_node_id: size_t, _transformation: Affine3f, _information: Matx66f, ) -> Result<()>

C++ default parameters Read more
Source§

fn add_edge_def( &mut self, _source_node_id: size_t, _target_node_id: size_t, _transformation: Affine3f, ) -> Result<()>

Source§

fn optimize(&mut self, tc: TermCriteria) -> Result<i32>

C++ default parameters Read more
Source§

fn optimize_def(&mut self) -> Result<i32>

Source§

impl Kinfu_Detail_PoseGraphTraitConst for BoxedRefMut<'_, Kinfu_Detail_PoseGraph>

Source§

fn as_raw_Kinfu_Detail_PoseGraph( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn is_node_exist(&self, node_id: size_t) -> Result<bool>

Source§

fn is_node_fixed(&self, node_id: size_t) -> Result<bool>

Source§

fn get_node_pose(&self, node_id: size_t) -> Result<Affine3d>

Source§

fn get_nodes_ids(&self) -> Result<Vector<size_t>>

Source§

fn get_num_nodes(&self) -> Result<size_t>

Source§

fn get_edge_start(&self, i: size_t) -> Result<size_t>

Source§

fn get_edge_end(&self, i: size_t) -> Result<size_t>

Source§

fn get_num_edges(&self) -> Result<size_t>

Source§

fn is_valid(&self) -> Result<bool>

Source§

fn calc_energy(&self) -> Result<f64>

Source§

impl Kinfu_KinFuTrait for BoxedRefMut<'_, Kinfu_KinFu>

Source§

fn as_raw_mut_Kinfu_KinFu( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn reset(&mut self) -> Result<()>

Resets the algorithm Read more
Source§

fn update(&mut self, depth: &impl ToInputArray) -> Result<bool>

Process next depth frame Read more
Source§

impl Kinfu_KinFuTraitConst for BoxedRefMut<'_, Kinfu_KinFu>

Source§

fn as_raw_Kinfu_KinFu(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_params(&self) -> Result<Kinfu_Params>

Get current parameters
Source§

fn render(&self, image: &mut impl ToOutputArray) -> Result<()>

Renders a volume into an image Read more
Source§

fn render_1( &self, image: &mut impl ToOutputArray, camera_pose: Matx44f, ) -> Result<()>

Renders a volume into an image Read more
Source§

fn get_cloud( &self, points: &mut impl ToOutputArray, normals: &mut impl ToOutputArray, ) -> Result<()>

Gets points and normals of current 3d mesh Read more
Source§

fn get_points(&self, points: &mut impl ToOutputArray) -> Result<()>

Gets points of current 3d mesh Read more
Source§

fn get_normals( &self, points: &impl ToInputArray, normals: &mut impl ToOutputArray, ) -> Result<()>

Calculates normals for given points Read more
Source§

fn get_pose(&self) -> Result<Affine3f>

Get current pose in voxel space
Source§

impl Kinfu_ParamsTrait for BoxedRefMut<'_, Kinfu_Params>

Source§

fn as_raw_mut_Kinfu_Params( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_frame_size(&mut self, val: Size)

frame size in pixels
Source§

fn set_volume_type(&mut self, val: Kinfu_VolumeType)

rgb frame size in pixels
Source§

fn set_intr(&mut self, val: Matx33f)

camera intrinsics
Source§

fn set_rgb_intr(&mut self, val: Matx33f)

rgb camera intrinsics
Source§

fn set_depth_factor(&mut self, val: f32)

pre-scale per 1 meter for input values Read more
Source§

fn set_bilateral_sigma_depth(&mut self, val: f32)

Depth sigma in meters for bilateral smooth
Source§

fn set_bilateral_sigma_spatial(&mut self, val: f32)

Spatial sigma in pixels for bilateral smooth
Source§

fn set_bilateral_kernel_size(&mut self, val: i32)

Kernel size in pixels for bilateral smooth
Source§

fn set_pyramid_levels(&mut self, val: i32)

Number of pyramid levels for ICP
Source§

fn set_volume_dims(&mut self, val: Vec3i)

Resolution of voxel space Read more
Source§

fn set_voxel_size(&mut self, val: f32)

Size of voxel in meters
Source§

fn set_tsdf_min_camera_movement(&mut self, val: f32)

Minimal camera movement in meters Read more
Source§

fn set_volume_pose(&mut self, val: Affine3f)

initial volume pose in meters
Source§

fn set_tsdf_trunc_dist(&mut self, val: f32)

distance to truncate in meters Read more
Source§

fn set_tsdf_max_weight(&mut self, val: i32)

max number of frames per voxel Read more
Source§

fn set_raycast_step_factor(&mut self, val: f32)

A length of one raycast step Read more
Source§

fn set_light_pose(&mut self, val: Vec3f)

light pose for rendering in meters
Source§

fn set_icp_dist_thresh(&mut self, val: f32)

distance theshold for ICP in meters
Source§

fn set_icp_angle_thresh(&mut self, val: f32)

angle threshold for ICP in radians
Source§

fn set_icp_iterations(&mut self, val: Vector<i32>)

number of ICP iterations for each pyramid level
Source§

fn set_truncate_threshold(&mut self, val: f32)

Threshold for depth truncation in meters Read more
Source§

fn set_initial_volume_pose(&mut self, r: Matx33f, t: Vec3f) -> Result<()>

Set Initial Volume Pose Sets the initial pose of the TSDF volume. Read more
Source§

fn set_initial_volume_pose_1(&mut self, homogen_tf: Matx44f) -> Result<()>

Set Initial Volume Pose Sets the initial pose of the TSDF volume. Read more
Source§

impl Kinfu_ParamsTraitConst for BoxedRefMut<'_, Kinfu_Params>

Source§

fn as_raw_Kinfu_Params(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn frame_size(&self) -> Size

frame size in pixels
Source§

fn volume_type(&self) -> Kinfu_VolumeType

rgb frame size in pixels
Source§

fn intr(&self) -> Matx33f

camera intrinsics
Source§

fn rgb_intr(&self) -> Matx33f

rgb camera intrinsics
Source§

fn depth_factor(&self) -> f32

pre-scale per 1 meter for input values Read more
Source§

fn bilateral_sigma_depth(&self) -> f32

Depth sigma in meters for bilateral smooth
Source§

fn bilateral_sigma_spatial(&self) -> f32

Spatial sigma in pixels for bilateral smooth
Source§

fn bilateral_kernel_size(&self) -> i32

Kernel size in pixels for bilateral smooth
Source§

fn pyramid_levels(&self) -> i32

Number of pyramid levels for ICP
Source§

fn volume_dims(&self) -> Vec3i

Resolution of voxel space Read more
Source§

fn voxel_size(&self) -> f32

Size of voxel in meters
Source§

fn tsdf_min_camera_movement(&self) -> f32

Minimal camera movement in meters Read more
Source§

fn volume_pose(&self) -> Affine3f

initial volume pose in meters
Source§

fn tsdf_trunc_dist(&self) -> f32

distance to truncate in meters Read more
Source§

fn tsdf_max_weight(&self) -> i32

max number of frames per voxel Read more
Source§

fn raycast_step_factor(&self) -> f32

A length of one raycast step Read more
Source§

fn light_pose(&self) -> Vec3f

light pose for rendering in meters
Source§

fn icp_dist_thresh(&self) -> f32

distance theshold for ICP in meters
Source§

fn icp_angle_thresh(&self) -> f32

angle threshold for ICP in radians
Source§

fn icp_iterations(&self) -> Vector<i32>

number of ICP iterations for each pyramid level
Source§

fn truncate_threshold(&self) -> f32

Threshold for depth truncation in meters Read more
Source§

impl Kinfu_VolumeParamsTrait for BoxedRefMut<'_, Kinfu_VolumeParams>

Source§

fn as_raw_mut_Kinfu_VolumeParams( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_type(&mut self, val: Kinfu_VolumeType)

Type of Volume Values can be TSDF (single volume) or HASHTSDF (hashtable of volume units)
Source§

fn set_resolution(&mut self, val: Vec3i)

Resolution of voxel space Number of voxels in each dimension. Applicable only for TSDF Volume. HashTSDF volume only supports equal resolution in all three dimensions
Source§

fn set_unit_resolution(&mut self, val: i32)

Resolution of volumeUnit in voxel space Number of voxels in each dimension for volumeUnit Applicable only for hashTSDF. Read more
Source§

fn set_pose(&mut self, val: Affine3f)

Initial pose of the volume in meters
Source§

fn set_voxel_size(&mut self, val: f32)

Length of voxels in meters
Source§

fn set_tsdf_trunc_dist(&mut self, val: f32)

TSDF truncation distance Distances greater than value from surface will be truncated to 1.0
Source§

fn set_max_weight(&mut self, val: i32)

Max number of frames to integrate per voxel Represents the max number of frames over which a running average of the TSDF is calculated for a voxel
Source§

fn set_depth_trunc_threshold(&mut self, val: f32)

Threshold for depth truncation in meters Truncates the depth greater than threshold to 0
Source§

fn set_raycast_step_factor(&mut self, val: f32)

Length of single raycast step Describes the percentage of voxel length that is skipped per march
Source§

impl Kinfu_VolumeParamsTraitConst for BoxedRefMut<'_, Kinfu_VolumeParams>

Source§

fn as_raw_Kinfu_VolumeParams( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn typ(&self) -> Kinfu_VolumeType

Type of Volume Values can be TSDF (single volume) or HASHTSDF (hashtable of volume units)
Source§

fn resolution(&self) -> Vec3i

Resolution of voxel space Number of voxels in each dimension. Applicable only for TSDF Volume. HashTSDF volume only supports equal resolution in all three dimensions
Source§

fn unit_resolution(&self) -> i32

Resolution of volumeUnit in voxel space Number of voxels in each dimension for volumeUnit Applicable only for hashTSDF.
Source§

fn pose(&self) -> Affine3f

Initial pose of the volume in meters
Source§

fn voxel_size(&self) -> f32

Length of voxels in meters
Source§

fn tsdf_trunc_dist(&self) -> f32

TSDF truncation distance Distances greater than value from surface will be truncated to 1.0
Source§

fn max_weight(&self) -> i32

Max number of frames to integrate per voxel Represents the max number of frames over which a running average of the TSDF is calculated for a voxel
Source§

fn depth_trunc_threshold(&self) -> f32

Threshold for depth truncation in meters Truncates the depth greater than threshold to 0
Source§

fn raycast_step_factor(&self) -> f32

Length of single raycast step Describes the percentage of voxel length that is skipped per march
Source§

impl Kinfu_VolumeTrait for BoxedRefMut<'_, Kinfu_Volume>

Source§

fn as_raw_mut_Kinfu_Volume( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn integrate( &mut self, _depth: &impl ToInputArray, depth_factor: f32, camera_pose: Matx44f, intrinsics: Kinfu_Intr, frame_id: i32, ) -> Result<()>

C++ default parameters Read more
Source§

fn integrate_def( &mut self, _depth: &impl ToInputArray, depth_factor: f32, camera_pose: Matx44f, intrinsics: Kinfu_Intr, ) -> Result<()>

Source§

fn integrate_1( &mut self, _depth: &impl ToInputArray, _rgb: &impl ToInputArray, depth_factor: f32, camera_pose: Matx44f, intrinsics: Kinfu_Intr, rgb_intrinsics: Kinfu_Intr, frame_id: i32, ) -> Result<()>

C++ default parameters Read more
Source§

fn integrate_def_1( &mut self, _depth: &impl ToInputArray, _rgb: &impl ToInputArray, depth_factor: f32, camera_pose: Matx44f, intrinsics: Kinfu_Intr, rgb_intrinsics: Kinfu_Intr, ) -> Result<()>

Source§

fn reset(&mut self) -> Result<()>

Source§

impl Kinfu_VolumeTraitConst for BoxedRefMut<'_, Kinfu_Volume>

Source§

fn as_raw_Kinfu_Volume(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn voxel_size(&self) -> f32

Source§

fn voxel_size_inv(&self) -> f32

Source§

fn pose(&self) -> Affine3f

Source§

fn raycast_step_factor(&self) -> f32

Source§

fn raycast( &self, camera_pose: Matx44f, intrinsics: Kinfu_Intr, frame_size: Size, points: &mut impl ToOutputArray, normals: &mut impl ToOutputArray, ) -> Result<()>

Source§

fn raycast_1( &self, camera_pose: Matx44f, intrinsics: Kinfu_Intr, frame_size: Size, points: &mut impl ToOutputArray, normals: &mut impl ToOutputArray, colors: &mut impl ToOutputArray, ) -> Result<()>

Source§

fn fetch_normals( &self, points: &impl ToInputArray, _normals: &mut impl ToOutputArray, ) -> Result<()>

Source§

fn fetch_points_normals( &self, points: &mut impl ToOutputArray, normals: &mut impl ToOutputArray, ) -> Result<()>

Source§

fn fetch_points_normals_colors( &self, unnamed: &mut impl ToOutputArray, unnamed_1: &mut impl ToOutputArray, unnamed_2: &mut impl ToOutputArray, ) -> Result<()>

Source§

impl LATCHTrait for BoxedRefMut<'_, LATCH>

Source§

fn as_raw_mut_LATCH( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_bytes(&mut self, bytes: i32) -> Result<()>

Source§

fn set_rotation_invariance(&mut self, rotation_invariance: bool) -> Result<()>

Source§

fn set_half_ss_dsize(&mut self, half_ssd_size: i32) -> Result<()>

Source§

fn set_sigma(&mut self, sigma: f64) -> Result<()>

Source§

impl LATCHTraitConst for BoxedRefMut<'_, LATCH>

Source§

fn as_raw_LATCH(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_bytes(&self) -> Result<i32>

Source§

fn get_rotation_invariance(&self) -> Result<bool>

Source§

fn get_half_ss_dsize(&self) -> Result<i32>

Source§

fn get_sigma(&self) -> Result<f64>

Source§

fn get_default_name(&self) -> Result<String>

Source§

impl LBPHFaceRecognizerTrait for BoxedRefMut<'_, LBPHFaceRecognizer>

Source§

fn as_raw_mut_LBPHFaceRecognizer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_grid_x(&mut self, val: i32) -> Result<()>

See also Read more
Source§

fn set_grid_y(&mut self, val: i32) -> Result<()>

See also Read more
Source§

fn set_radius(&mut self, val: i32) -> Result<()>

See also Read more
Source§

fn set_neighbors(&mut self, val: i32) -> Result<()>

See also Read more
Source§

fn set_threshold(&mut self, val: f64) -> Result<()>

See also Read more
Source§

impl LBPHFaceRecognizerTraitConst for BoxedRefMut<'_, LBPHFaceRecognizer>

Source§

fn as_raw_LBPHFaceRecognizer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_grid_x(&self) -> Result<i32>

See also Read more
Source§

fn get_grid_y(&self) -> Result<i32>

See also Read more
Source§

fn get_radius(&self) -> Result<i32>

See also Read more
Source§

fn get_neighbors(&self) -> Result<i32>

See also Read more
Source§

fn get_threshold(&self) -> Result<f64>

See also Read more
Source§

fn get_histograms(&self) -> Result<Vector<Mat>>

Source§

fn get_labels(&self) -> Result<Mat>

Source§

impl LDATrait for BoxedRefMut<'_, LDA>

Source§

fn as_raw_mut_LDA( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn load(&mut self, filename: &str) -> Result<()>

Deserializes this object from a given filename.
Source§

fn load_1(&mut self, node: &impl FileStorageTraitConst) -> Result<()>

Deserializes this object from a given cv::FileStorage.
Source§

fn compute( &mut self, src: &impl ToInputArray, labels: &impl ToInputArray, ) -> Result<()>

Compute the discriminants for data in src (row aligned) and labels.
Source§

fn project(&mut self, src: &impl ToInputArray) -> Result<Mat>

Projects samples into the LDA subspace. src may be one or more row aligned samples.
Source§

fn reconstruct(&mut self, src: &impl ToInputArray) -> Result<Mat>

Reconstructs projections from the LDA subspace. src may be one or more row aligned projections.
Source§

impl LDATraitConst for BoxedRefMut<'_, LDA>

Source§

fn as_raw_LDA(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn save(&self, filename: &str) -> Result<()>

Serializes this object to a given filename.
Source§

fn save_1(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Serializes this object to a given cv::FileStorage.
Source§

fn eigenvectors(&self) -> Result<Mat>

Returns the eigenvectors of this LDA.
Source§

fn eigenvalues(&self) -> Result<Mat>

Returns the eigenvalues of this LDA.
Source§

impl LMSolverTrait for BoxedRefMut<'_, LMSolver>

Source§

fn as_raw_mut_LMSolver( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_max_iters(&mut self, max_iters: i32) -> Result<()>

Sets the maximum number of iterations Read more
Source§

impl LMSolverTraitConst for BoxedRefMut<'_, LMSolver>

Source§

fn as_raw_LMSolver(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn run(&self, param: &mut impl ToInputOutputArray) -> Result<i32>

Runs Levenberg-Marquardt algorithm using the passed vector of parameters as the start point. The final vector of parameters (whether the algorithm converged or not) is stored at the same vector. The method returns the number of iterations used. If it’s equal to the previously specified maxIters, there is a big chance the algorithm did not converge. Read more
Source§

fn get_max_iters(&self) -> Result<i32>

Retrieves the current maximum number of iterations
Source§

impl LMSolver_CallbackTrait for BoxedRefMut<'_, LMSolver_Callback>

Source§

fn as_raw_mut_LMSolver_Callback( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl LMSolver_CallbackTraitConst for BoxedRefMut<'_, LMSolver_Callback>

Source§

fn as_raw_LMSolver_Callback( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn compute( &self, param: &impl ToInputArray, err: &mut impl ToOutputArray, j: &mut impl ToOutputArray, ) -> Result<bool>

computes error and Jacobian for the specified vector of parameters Read more
Source§

impl LRNLayerTrait for BoxedRefMut<'_, LRNLayer>

Source§

fn as_raw_mut_LRNLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_type(&mut self, val: i32)

Source§

fn set_size(&mut self, val: i32)

Source§

fn set_alpha(&mut self, val: f32)

Source§

fn set_beta(&mut self, val: f32)

Source§

fn set_bias(&mut self, val: f32)

Source§

fn set_norm_by_size(&mut self, val: bool)

Source§

impl LRNLayerTraitConst for BoxedRefMut<'_, LRNLayer>

Source§

fn as_raw_LRNLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn typ(&self) -> i32

Source§

fn size(&self) -> i32

Source§

fn alpha(&self) -> f32

Source§

fn beta(&self) -> f32

Source§

fn bias(&self) -> f32

Source§

fn norm_by_size(&self) -> bool

Source§

impl LSDDetectorTrait for BoxedRefMut<'_, LSDDetector>

Source§

fn as_raw_mut_LSDDetector( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn detect( &mut self, image: &impl MatTraitConst, keypoints: &mut Vector<KeyLine>, scale: i32, num_octaves: i32, mask: &impl MatTraitConst, ) -> Result<()>

Detect lines inside an image. Read more
Source§

fn detect_def( &mut self, image: &impl MatTraitConst, keypoints: &mut Vector<KeyLine>, scale: i32, num_octaves: i32, ) -> Result<()>

Detect lines inside an image. Read more
Source§

impl LSDDetectorTraitConst for BoxedRefMut<'_, LSDDetector>

Source§

fn as_raw_LSDDetector(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn detect_multiple( &self, images: &Vector<Mat>, keylines: &mut Vector<Vector<KeyLine>>, scale: i32, num_octaves: i32, masks: &Vector<Mat>, ) -> Result<()>

Detect lines inside an image. Read more
Source§

fn detect_multiple_def( &self, images: &Vector<Mat>, keylines: &mut Vector<Vector<KeyLine>>, scale: i32, num_octaves: i32, ) -> Result<()>

@overload Read more
Source§

impl LSTMLayerTrait for BoxedRefMut<'_, LSTMLayer>

Source§

fn as_raw_mut_LSTMLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_weights( &mut self, wh: &impl MatTraitConst, wx: &impl MatTraitConst, b: &impl MatTraitConst, ) -> Result<()>

👎Deprecated: Use LayerParams::blobs instead.
Deprecated: Use LayerParams::blobs instead. Set trained weights for LSTM layer. Read more
Source§

fn set_out_shape(&mut self, out_tail_shape: &MatShape) -> Result<()>

Specifies shape of output blob which will be [[T], N] + @p outTailShape. @details If this parameter is empty or unset then @p outTailShape = [Wh.size(0)] will be used, where Wh is parameter from setWeights(). Read more
Source§

fn set_out_shape_def(&mut self) -> Result<()>

Specifies shape of output blob which will be [[T], N] + @p outTailShape. @details If this parameter is empty or unset then @p outTailShape = [Wh.size(0)] will be used, where Wh is parameter from setWeights(). Read more
Source§

fn set_use_timstamps_dim(&mut self, use_: bool) -> Result<()>

👎Deprecated: Use flag produce_cell_output in LayerParams.
Deprecated: Use flag produce_cell_output in LayerParams. Specifies either interpret first dimension of input blob as timestamp dimension either as sample. Read more
Source§

fn set_use_timstamps_dim_def(&mut self) -> Result<()>

👎Deprecated: Use flag produce_cell_output in LayerParams.
Deprecated: Use flag produce_cell_output in LayerParams. Specifies either interpret first dimension of input blob as timestamp dimension either as sample. Read more
Source§

fn set_produce_cell_output(&mut self, produce: bool) -> Result<()>

👎Deprecated: Use flag use_timestamp_dim in LayerParams.
Deprecated: Use flag use_timestamp_dim in LayerParams. If this flag is set to true then layer will produce @f$ c_t @f$ as second output. @details Shape of the second output is the same as first output. Read more
Source§

fn set_produce_cell_output_def(&mut self) -> Result<()>

👎Deprecated: Use flag use_timestamp_dim in LayerParams.
Deprecated: Use flag use_timestamp_dim in LayerParams. If this flag is set to true then layer will produce @f$ c_t @f$ as second output. @details Shape of the second output is the same as first output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Source§

impl LSTMLayerTraitConst for BoxedRefMut<'_, LSTMLayer>

Source§

fn as_raw_LSTMLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl LUCIDTrait for BoxedRefMut<'_, LUCID>

Source§

fn as_raw_mut_LUCID( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_lucid_kernel(&mut self, lucid_kernel: i32) -> Result<()>

Source§

fn set_blur_kernel(&mut self, blur_kernel: i32) -> Result<()>

Source§

impl LUCIDTraitConst for BoxedRefMut<'_, LUCID>

Source§

fn as_raw_LUCID(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_lucid_kernel(&self) -> Result<i32>

Source§

fn get_blur_kernel(&self) -> Result<i32>

Source§

fn get_default_name(&self) -> Result<String>

Source§

impl LargeKinfuTrait for BoxedRefMut<'_, LargeKinfu>

Source§

fn as_raw_mut_LargeKinfu( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn reset(&mut self) -> Result<()>

Source§

fn update(&mut self, depth: &impl ToInputArray) -> Result<bool>

Source§

impl LargeKinfuTraitConst for BoxedRefMut<'_, LargeKinfu>

Source§

fn as_raw_LargeKinfu(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_params(&self) -> Result<Params>

Source§

fn render(&self, image: &mut impl ToOutputArray) -> Result<()>

Source§

fn render_1( &self, image: &mut impl ToOutputArray, camera_pose: Matx44f, ) -> Result<()>

Source§

fn get_cloud( &self, points: &mut impl ToOutputArray, normals: &mut impl ToOutputArray, ) -> Result<()>

Source§

fn get_points(&self, points: &mut impl ToOutputArray) -> Result<()>

Source§

fn get_normals( &self, points: &impl ToInputArray, normals: &mut impl ToOutputArray, ) -> Result<()>

Source§

fn get_pose(&self) -> Result<Affine3f>

Source§

impl LayerFactoryTrait for BoxedRefMut<'_, LayerFactory>

Source§

fn as_raw_mut_LayerFactory( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl LayerFactoryTraitConst for BoxedRefMut<'_, LayerFactory>

Source§

fn as_raw_LayerFactory(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl LayerNormLayerTrait for BoxedRefMut<'_, LayerNormLayer>

Source§

fn as_raw_mut_LayerNormLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_has_bias(&mut self, val: bool)

Source§

fn set_axis(&mut self, val: i32)

Source§

fn set_epsilon(&mut self, val: f32)

Source§

impl LayerNormLayerTraitConst for BoxedRefMut<'_, LayerNormLayer>

Source§

fn as_raw_LayerNormLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn has_bias(&self) -> bool

Source§

fn axis(&self) -> i32

Source§

fn epsilon(&self) -> f32

Source§

impl LayerParamsTrait for BoxedRefMut<'_, LayerParams>

Source§

fn as_raw_mut_LayerParams( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters stored as blobs.
Source§

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

Name of the layer instance (optional, can be used internal purposes).
Source§

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

Type name which was used for creating layer by layer factory (optional).
Source§

impl LayerParamsTraitConst for BoxedRefMut<'_, LayerParams>

Source§

fn as_raw_LayerParams(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters stored as blobs.
Source§

fn name(&self) -> String

Name of the layer instance (optional, can be used internal purposes).
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory (optional).
Source§

impl LayerTrait for BoxedRefMut<'_, AbsLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, AccumLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, AcosLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, AcoshLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, ActivationLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, ActivationLayerInt8>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, ArgLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, AsinLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, AsinhLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, AtanLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, AtanhLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, AttentionLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, BNLLLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, BaseConvolutionLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, BatchNormLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, BatchNormLayerInt8>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, BlankLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, CeilLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, CeluLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, ChannelsPReLULayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, CompareLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, ConcatLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, ConstLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, ConvolutionLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, ConvolutionLayerInt8>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, CorrelationLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, CosLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, CoshLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, CropAndResizeLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, CropLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, CumSumLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, DataAugmentationLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, DeconvolutionLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, DepthToSpaceLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, DequantizeLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, DetectionOutputLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, ELULayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, EinsumLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, EltwiseLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, EltwiseLayerInt8>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, ErfLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, ExpLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, ExpandLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, FlattenLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, FloorLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, FlowWarpLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, GRULayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, GatherElementsLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, GatherLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, GeluApproximationLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, GeluLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, GemmLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, GroupNormLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, HardSigmoidLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, HardSwishLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, InnerProductLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, InnerProductLayerInt8>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, InstanceNormLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, InterpLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, LRNLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, LSTMLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, Layer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, LayerNormLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, LogLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, MVNLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, MatMulLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, MaxUnpoolLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, MishLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, NaryEltwiseLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, NormalizeBBoxLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, NotLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, PaddingLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, PermuteLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, PoolingLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, PoolingLayerInt8>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, PowerLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, PriorBoxLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, ProposalLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, QuantizeLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, RNNLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, ReLU6Layer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, ReLULayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, ReciprocalLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, ReduceLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, RegionLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, ReorgLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, RequantizeLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, ReshapeLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, ResizeLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, RoundLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, ScaleLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, ScaleLayerInt8>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, ScatterLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, ScatterNDLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, SeluLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, ShiftLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, ShiftLayerInt8>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, ShrinkLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, ShuffleChannelLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, SigmoidLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, SignLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, SinLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, SinhLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, SliceLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, SoftmaxLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, SoftmaxLayerInt8>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, SoftplusLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, SoftsignLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, SpaceToDepthLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, SplitLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, SqrtLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, SwishLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, TanHLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, TanLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, ThresholdedReluLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, TileLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTrait for BoxedRefMut<'_, TopKLayer>

Source§

fn as_raw_mut_Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

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

Name of the layer instance, can be used for logging or other internal purposes.
Source§

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

Type name which was used for creating layer by layer factory.
Source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
Source§

fn finalize( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait, ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
Source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
Source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
Source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat>, ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
Source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
Source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
Source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
Source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
Source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
Source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool, ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
Source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>>, ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
Source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
Source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
Source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
Source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
Source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

Source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

Source§

impl LayerTraitConst for BoxedRefMut<'_, AbsLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, AccumLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, AcosLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, AcoshLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, ActivationLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, ActivationLayerInt8>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, ArgLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, AsinLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, AsinhLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, AtanLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, AtanhLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, AttentionLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, BNLLLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, BaseConvolutionLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, BatchNormLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, BatchNormLayerInt8>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, BlankLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, CeilLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, CeluLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, ChannelsPReLULayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, CompareLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, ConcatLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, ConstLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, ConvolutionLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, ConvolutionLayerInt8>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, CorrelationLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, CosLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, CoshLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, CropAndResizeLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, CropLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, CumSumLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, DataAugmentationLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, DeconvolutionLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, DepthToSpaceLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, DequantizeLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, DetectionOutputLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, ELULayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, EinsumLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, EltwiseLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, EltwiseLayerInt8>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, ErfLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, ExpLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, ExpandLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, FlattenLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, FloorLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, FlowWarpLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, GRULayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, GatherElementsLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, GatherLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, GeluApproximationLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, GeluLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, GemmLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, GroupNormLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, HardSigmoidLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, HardSwishLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, InnerProductLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, InnerProductLayerInt8>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, InstanceNormLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, InterpLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, LRNLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, LSTMLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, Layer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, LayerNormLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, LogLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, MVNLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, MatMulLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, MaxUnpoolLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, MishLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, NaryEltwiseLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, NormalizeBBoxLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, NotLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, PaddingLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, PermuteLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, PoolingLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, PoolingLayerInt8>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, PowerLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, PriorBoxLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, ProposalLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, QuantizeLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, RNNLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, ReLU6Layer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, ReLULayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, ReciprocalLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, ReduceLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, RegionLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, ReorgLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, RequantizeLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, ReshapeLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, ResizeLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, RoundLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, ScaleLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, ScaleLayerInt8>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, ScatterLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, ScatterNDLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, SeluLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, ShiftLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, ShiftLayerInt8>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, ShrinkLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, ShuffleChannelLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, SigmoidLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, SignLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, SinLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, SinhLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, SliceLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, SoftmaxLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, SoftmaxLayerInt8>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, SoftplusLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, SoftsignLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, SpaceToDepthLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, SplitLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, SqrtLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, SwishLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, TanHLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, TanLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, ThresholdedReluLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, TileLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LayerTraitConst for BoxedRefMut<'_, TopKLayer>

Source§

fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
Source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
Source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
Source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
Source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32, ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
Source§

fn get_scale_shift( &self, scale: &mut impl MatTrait, shift: &mut impl MatTrait, ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
Source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>

Returns scale and zeropoint of layers Read more
Source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>

Source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>

Source§

impl LearningBasedWBTrait for BoxedRefMut<'_, LearningBasedWB>

Source§

fn as_raw_mut_LearningBasedWB( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn extract_simple_features( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, ) -> Result<()>

Implements the feature extraction part of the algorithm. Read more
Source§

fn set_range_max_val(&mut self, val: i32) -> Result<()>

Maximum possible value of the input image (e.g. 255 for 8 bit images, 4095 for 12 bit images) Read more
Source§

fn set_saturation_threshold(&mut self, val: f32) -> Result<()>

Threshold that is used to determine saturated pixels, i.e. pixels where at least one of the channels exceeds inline formula are ignored. Read more
Source§

fn set_hist_bin_num(&mut self, val: i32) -> Result<()>

Defines the size of one dimension of a three-dimensional RGB histogram that is used internally by the algorithm. It often makes sense to increase the number of bins for images with higher bit depth (e.g. 256 bins for a 12 bit image). Read more
Source§

impl LearningBasedWBTraitConst for BoxedRefMut<'_, LearningBasedWB>

Source§

fn as_raw_LearningBasedWB( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_range_max_val(&self) -> Result<i32>

Maximum possible value of the input image (e.g. 255 for 8 bit images, 4095 for 12 bit images) Read more
Source§

fn get_saturation_threshold(&self) -> Result<f32>

Threshold that is used to determine saturated pixels, i.e. pixels where at least one of the channels exceeds inline formula are ignored. Read more
Source§

fn get_hist_bin_num(&self) -> Result<i32>

Defines the size of one dimension of a three-dimensional RGB histogram that is used internally by the algorithm. It often makes sense to increase the number of bins for images with higher bit depth (e.g. 256 bins for a 12 bit image). Read more
Source§

impl LineIteratorTrait for BoxedRefMut<'_, LineIterator>

Source§

fn as_raw_mut_LineIterator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn ptr_mut(&mut self) -> *mut u8

Source§

unsafe fn set_ptr(&mut self, val: *const u8)

Source§

fn set_step(&mut self, val: i32)

Source§

fn set_elem_size(&mut self, val: i32)

Source§

fn set_err(&mut self, val: i32)

Source§

fn set_count(&mut self, val: i32)

Source§

fn set_minus_delta(&mut self, val: i32)

Source§

fn set_plus_delta(&mut self, val: i32)

Source§

fn set_minus_step(&mut self, val: i32)

Source§

fn set_plus_step(&mut self, val: i32)

Source§

fn set_minus_shift(&mut self, val: i32)

Source§

fn set_plus_shift(&mut self, val: i32)

Source§

fn set_p(&mut self, val: Point)

Source§

fn set_ptmode(&mut self, val: bool)

Source§

fn init( &mut self, img: &impl MatTraitConst, bounding_area_rect: Rect, pt1: Point, pt2: Point, connectivity: i32, left_to_right: bool, ) -> Result<()>

Source§

fn try_deref_mut(&mut self) -> Result<*mut u8>

Returns pointer to the current pixel.
Source§

fn incr(&mut self) -> Result<LineIterator>

Moves iterator to the next pixel on the line. Read more
Source§

impl LineIteratorTraitConst for BoxedRefMut<'_, LineIterator>

Source§

fn as_raw_LineIterator(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn ptr(&self) -> *const u8

Source§

fn ptr0(&self) -> *const u8

Source§

fn step(&self) -> i32

Source§

fn elem_size(&self) -> i32

Source§

fn err(&self) -> i32

Source§

fn count(&self) -> i32

Source§

fn minus_delta(&self) -> i32

Source§

fn plus_delta(&self) -> i32

Source§

fn minus_step(&self) -> i32

Source§

fn plus_step(&self) -> i32

Source§

fn minus_shift(&self) -> i32

Source§

fn plus_shift(&self) -> i32

Source§

fn p(&self) -> Point

Source§

fn ptmode(&self) -> bool

Source§

fn pos(&self) -> Result<Point>

Returns coordinates of the current pixel.
Source§

impl LineMod_ColorGradientTrait for BoxedRefMut<'_, LineMod_ColorGradient>

Source§

fn as_raw_mut_LineMod_ColorGradient( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_weak_threshold(&mut self, val: f32)

Source§

fn set_num_features(&mut self, val: size_t)

Source§

fn set_strong_threshold(&mut self, val: f32)

Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Source§

impl LineMod_ColorGradientTraitConst for BoxedRefMut<'_, LineMod_ColorGradient>

Source§

fn as_raw_LineMod_ColorGradient( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn weak_threshold(&self) -> f32

Source§

fn num_features(&self) -> size_t

Source§

fn strong_threshold(&self) -> f32

Source§

fn name(&self) -> Result<String>

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Source§

impl LineMod_DepthNormalTrait for BoxedRefMut<'_, LineMod_DepthNormal>

Source§

fn as_raw_mut_LineMod_DepthNormal( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_distance_threshold(&mut self, val: i32)

Source§

fn set_difference_threshold(&mut self, val: i32)

Source§

fn set_num_features(&mut self, val: size_t)

Source§

fn set_extract_threshold(&mut self, val: i32)

Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Source§

impl LineMod_DepthNormalTraitConst for BoxedRefMut<'_, LineMod_DepthNormal>

Source§

fn as_raw_LineMod_DepthNormal( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn distance_threshold(&self) -> i32

Source§

fn difference_threshold(&self) -> i32

Source§

fn num_features(&self) -> size_t

Source§

fn extract_threshold(&self) -> i32

Source§

fn name(&self) -> Result<String>

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Source§

impl LineMod_DetectorTrait for BoxedRefMut<'_, LineMod_Detector>

Source§

fn as_raw_mut_LineMod_Detector( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn add_template( &mut self, sources: &Vector<Mat>, class_id: &str, object_mask: &impl MatTraitConst, bounding_box: &mut Rect, ) -> Result<i32>

\brief Add new object template. Read more
Source§

fn add_template_def( &mut self, sources: &Vector<Mat>, class_id: &str, object_mask: &impl MatTraitConst, ) -> Result<i32>

\brief Add new object template. Read more
Source§

fn add_synthetic_template( &mut self, templates: &Vector<LineMod_Template>, class_id: &str, ) -> Result<i32>

\brief Add a new object template computed by external means.
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Source§

fn read_class( &mut self, fn_: &impl FileNodeTraitConst, class_id_override: &str, ) -> Result<String>

C++ default parameters Read more
Source§

fn read_class_def(&mut self, fn_: &impl FileNodeTraitConst) -> Result<String>

Source§

fn read_classes( &mut self, class_ids: &Vector<String>, format: &str, ) -> Result<()>

C++ default parameters Read more
Source§

fn read_classes_def(&mut self, class_ids: &Vector<String>) -> Result<()>

Source§

impl LineMod_DetectorTraitConst for BoxedRefMut<'_, LineMod_Detector>

Source§

fn as_raw_LineMod_Detector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn match_( &self, sources: &Vector<Mat>, threshold: f32, matches: &mut Vector<LineMod_Match>, class_ids: &Vector<String>, quantized_images: &mut impl ToOutputArray, masks: &Vector<Mat>, ) -> Result<()>

\brief Detect objects by template matching. Read more
Source§

fn match__def( &self, sources: &Vector<Mat>, threshold: f32, matches: &mut Vector<LineMod_Match>, ) -> Result<()>

\brief Detect objects by template matching. Read more
Source§

fn get_modalities(&self) -> Result<Vector<Ptr<LineMod_Modality>>>

\brief Get the modalities used by this detector. Read more
Source§

fn get_t(&self, pyramid_level: i32) -> Result<i32>

\brief Get sampling step T at pyramid_level.
Source§

fn pyramid_levels(&self) -> Result<i32>

\brief Get number of pyramid levels used by this detector.
Source§

fn get_templates( &self, class_id: &str, template_id: i32, ) -> Result<Vector<LineMod_Template>>

\brief Get the template pyramid identified by template_id. Read more
Source§

fn num_templates(&self) -> Result<i32>

Source§

fn num_templates_1(&self, class_id: &str) -> Result<i32>

Source§

fn num_classes(&self) -> Result<i32>

Source§

fn class_ids(&self) -> Result<Vector<String>>

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Source§

fn write_class( &self, class_id: &str, fs: &mut impl FileStorageTrait, ) -> Result<()>

Source§

fn write_classes(&self, format: &str) -> Result<()>

C++ default parameters Read more
Source§

fn write_classes_def(&self) -> Result<()>

Source§

impl LineMod_MatchTrait for BoxedRefMut<'_, LineMod_Match>

Source§

fn as_raw_mut_LineMod_Match( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_x(&mut self, val: i32)

Source§

fn set_y(&mut self, val: i32)

Source§

fn set_similarity(&mut self, val: f32)

Source§

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

Source§

fn set_template_id(&mut self, val: i32)

Source§

impl LineMod_MatchTraitConst for BoxedRefMut<'_, LineMod_Match>

Source§

fn as_raw_LineMod_Match( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn x(&self) -> i32

Source§

fn y(&self) -> i32

Source§

fn similarity(&self) -> f32

Source§

fn class_id(&self) -> String

Source§

fn template_id(&self) -> i32

Source§

fn less_than(&self, rhs: &impl LineMod_MatchTraitConst) -> Result<bool>

Sort matches with high similarity to the front
Source§

fn equals(&self, rhs: &impl LineMod_MatchTraitConst) -> Result<bool>

Source§

impl LineMod_ModalityTrait for BoxedRefMut<'_, LineMod_ColorGradient>

Source§

fn as_raw_mut_LineMod_Modality( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Source§

impl LineMod_ModalityTrait for BoxedRefMut<'_, LineMod_DepthNormal>

Source§

fn as_raw_mut_LineMod_Modality( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Source§

impl LineMod_ModalityTrait for BoxedRefMut<'_, LineMod_Modality>

Source§

fn as_raw_mut_LineMod_Modality( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Source§

impl LineMod_ModalityTraitConst for BoxedRefMut<'_, LineMod_ColorGradient>

Source§

fn as_raw_LineMod_Modality( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn process( &self, src: &impl MatTraitConst, mask: &impl MatTraitConst, ) -> Result<Ptr<LineMod_QuantizedPyramid>>

\brief Form a quantized image pyramid from a source image. Read more
Source§

fn process_def( &self, src: &impl MatTraitConst, ) -> Result<Ptr<LineMod_QuantizedPyramid>>

\brief Form a quantized image pyramid from a source image. Read more
Source§

fn name(&self) -> Result<String>

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Source§

impl LineMod_ModalityTraitConst for BoxedRefMut<'_, LineMod_DepthNormal>

Source§

fn as_raw_LineMod_Modality( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn process( &self, src: &impl MatTraitConst, mask: &impl MatTraitConst, ) -> Result<Ptr<LineMod_QuantizedPyramid>>

\brief Form a quantized image pyramid from a source image. Read more
Source§

fn process_def( &self, src: &impl MatTraitConst, ) -> Result<Ptr<LineMod_QuantizedPyramid>>

\brief Form a quantized image pyramid from a source image. Read more
Source§

fn name(&self) -> Result<String>

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Source§

impl LineMod_ModalityTraitConst for BoxedRefMut<'_, LineMod_Modality>

Source§

fn as_raw_LineMod_Modality( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn process( &self, src: &impl MatTraitConst, mask: &impl MatTraitConst, ) -> Result<Ptr<LineMod_QuantizedPyramid>>

\brief Form a quantized image pyramid from a source image. Read more
Source§

fn process_def( &self, src: &impl MatTraitConst, ) -> Result<Ptr<LineMod_QuantizedPyramid>>

\brief Form a quantized image pyramid from a source image. Read more
Source§

fn name(&self) -> Result<String>

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Source§

impl LineMod_QuantizedPyramidTrait for BoxedRefMut<'_, LineMod_QuantizedPyramid>

Source§

fn as_raw_mut_LineMod_QuantizedPyramid( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn pyr_down(&mut self) -> Result<()>

\brief Go to the next pyramid level. Read more
Source§

impl LineMod_QuantizedPyramidTraitConst for BoxedRefMut<'_, LineMod_QuantizedPyramid>

Source§

fn as_raw_LineMod_QuantizedPyramid( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn quantize(&self, dst: &mut impl MatTrait) -> Result<()>

\brief Compute quantized image at current pyramid level for online detection. Read more
Source§

fn extract_template( &self, templ: &mut impl LineMod_TemplateTrait, ) -> Result<bool>

\brief Extract most discriminant features at current pyramid level to form a new template. Read more
Source§

impl LineMod_TemplateTrait for BoxedRefMut<'_, LineMod_Template>

Source§

fn as_raw_mut_LineMod_Template( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_width(&mut self, val: i32)

Source§

fn set_height(&mut self, val: i32)

Source§

fn set_pyramid_level(&mut self, val: i32)

Source§

fn set_features(&mut self, val: Vector<LineMod_Feature>)

Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Source§

impl LineMod_TemplateTraitConst for BoxedRefMut<'_, LineMod_Template>

Source§

fn as_raw_LineMod_Template( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn width(&self) -> i32

Source§

fn height(&self) -> i32

Source§

fn pyramid_level(&self) -> i32

Source§

fn features(&self) -> Vector<LineMod_Feature>

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Source§

impl LineSegmentDetectorTrait for BoxedRefMut<'_, LineSegmentDetector>

Source§

fn as_raw_mut_LineSegmentDetector( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn detect( &mut self, image: &impl ToInputArray, lines: &mut impl ToOutputArray, width: &mut impl ToOutputArray, prec: &mut impl ToOutputArray, nfa: &mut impl ToOutputArray, ) -> Result<()>

Finds lines in the input image. Read more
Source§

fn detect_def( &mut self, image: &impl ToInputArray, lines: &mut impl ToOutputArray, ) -> Result<()>

Finds lines in the input image. Read more
Source§

fn draw_segments( &mut self, image: &mut impl ToInputOutputArray, lines: &impl ToInputArray, ) -> Result<()>

Draws the line segments on a given image. Read more
Source§

fn compare_segments( &mut self, size: Size, lines1: &impl ToInputArray, lines2: &impl ToInputArray, image: &mut impl ToInputOutputArray, ) -> Result<i32>

Draws two groups of lines in blue and red, counting the non overlapping (mismatching) pixels. Read more
Source§

fn compare_segments_def( &mut self, size: Size, lines1: &impl ToInputArray, lines2: &impl ToInputArray, ) -> Result<i32>

Draws two groups of lines in blue and red, counting the non overlapping (mismatching) pixels. Read more
Source§

impl LineSegmentDetectorTraitConst for BoxedRefMut<'_, LineSegmentDetector>

Source§

fn as_raw_LineSegmentDetector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl LinearIndexParamsTrait for BoxedRefMut<'_, LinearIndexParams>

Source§

fn as_raw_mut_LinearIndexParams( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl LinearIndexParamsTraitConst for BoxedRefMut<'_, LinearIndexParams>

Source§

fn as_raw_LinearIndexParams( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl LogLayerTrait for BoxedRefMut<'_, LogLayer>

Source§

fn as_raw_mut_LogLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl LogLayerTraitConst for BoxedRefMut<'_, LogLayer>

Source§

fn as_raw_LogLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl LogTagTrait for BoxedRefMut<'_, LogTag>

Source§

fn as_raw_mut_LogTag( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_level(&mut self, val: LogLevel)

Source§

impl LogTagTraitConst for BoxedRefMut<'_, LogTag>

Source§

fn as_raw_LogTag(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn name(&self) -> String

Source§

fn level(&self) -> LogLevel

Source§

impl LogToStdoutTrait for BoxedRefMut<'_, LogToStdout>

Source§

fn as_raw_mut_LogToStdout( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn print(&mut self, format: &str) -> Result<()>

Source§

impl LogToStdoutTraitConst for BoxedRefMut<'_, LogToStdout>

Source§

fn as_raw_LogToStdout(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl LogisticRegressionTrait for BoxedRefMut<'_, LogisticRegression>

Source§

fn as_raw_mut_LogisticRegression( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_learning_rate(&mut self, val: f64) -> Result<()>

Learning rate. Read more
Source§

fn set_iterations(&mut self, val: i32) -> Result<()>

Number of iterations. Read more
Source§

fn set_regularization(&mut self, val: i32) -> Result<()>

Kind of regularization to be applied. See LogisticRegression::RegKinds. Read more
Source§

fn set_train_method(&mut self, val: i32) -> Result<()>

Kind of training method used. See LogisticRegression::Methods. Read more
Source§

fn set_mini_batch_size(&mut self, val: i32) -> Result<()>

Specifies the number of training samples taken in each step of Mini-Batch Gradient Descent. Will only be used if using LogisticRegression::MINI_BATCH training algorithm. It has to take values less than the total number of training samples. Read more
Source§

fn set_term_criteria(&mut self, val: TermCriteria) -> Result<()>

Termination criteria of the algorithm. Read more
Source§

impl LogisticRegressionTraitConst for BoxedRefMut<'_, LogisticRegression>

Source§

fn as_raw_LogisticRegression( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_learning_rate(&self) -> Result<f64>

Learning rate. Read more
Source§

fn get_iterations(&self) -> Result<i32>

Number of iterations. Read more
Source§

fn get_regularization(&self) -> Result<i32>

Kind of regularization to be applied. See LogisticRegression::RegKinds. Read more
Source§

fn get_train_method(&self) -> Result<i32>

Kind of training method used. See LogisticRegression::Methods. Read more
Source§

fn get_mini_batch_size(&self) -> Result<i32>

Specifies the number of training samples taken in each step of Mini-Batch Gradient Descent. Will only be used if using LogisticRegression::MINI_BATCH training algorithm. It has to take values less than the total number of training samples. Read more
Source§

fn get_term_criteria(&self) -> Result<TermCriteria>

Termination criteria of the algorithm. Read more
Source§

fn predict( &self, samples: &impl ToInputArray, results: &mut impl ToOutputArray, flags: i32, ) -> Result<f32>

Predicts responses for input samples and returns a float type. Read more
Source§

fn predict_def(&self, samples: &impl ToInputArray) -> Result<f32>

Predicts responses for input samples and returns a float type. Read more
Source§

fn get_learnt_thetas(&self) -> Result<Mat>

This function returns the trained parameters arranged across rows. Read more
Source§

impl LookUpTableTrait for BoxedRefMut<'_, LookUpTable>

Source§

fn as_raw_mut_LookUpTable( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn transform( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, stream: &mut impl StreamTrait, ) -> Result<()>

Transforms the source matrix into the destination matrix using the given look-up table: dst(I) = lut(src(I)) . Read more
Source§

fn transform_def( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, ) -> Result<()>

Transforms the source matrix into the destination matrix using the given look-up table: dst(I) = lut(src(I)) . Read more
Source§

impl LookUpTableTraitConst for BoxedRefMut<'_, LookUpTable>

Source§

fn as_raw_LookUpTable(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl LpMotionStabilizerTrait for BoxedRefMut<'_, LpMotionStabilizer>

Source§

fn as_raw_mut_LpMotionStabilizer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_motion_model(&mut self, val: MotionModel) -> Result<()>

Source§

fn set_frame_size(&mut self, val: Size) -> Result<()>

Source§

fn set_trim_ratio(&mut self, val: f32) -> Result<()>

Source§

fn set_weight1(&mut self, val: f32) -> Result<()>

Source§

fn set_weight2(&mut self, val: f32) -> Result<()>

Source§

fn set_weight3(&mut self, val: f32) -> Result<()>

Source§

fn set_weight4(&mut self, val: f32) -> Result<()>

Source§

fn stabilize( &mut self, size: i32, motions: &Vector<Mat>, range: &impl RangeTraitConst, stabilization_motions: &mut impl MatTrait, ) -> Result<()>

Source§

impl LpMotionStabilizerTraitConst for BoxedRefMut<'_, LpMotionStabilizer>

Source§

fn as_raw_LpMotionStabilizer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn motion_model(&self) -> Result<MotionModel>

Source§

fn frame_size(&self) -> Result<Size>

Source§

fn trim_ratio(&self) -> Result<f32>

Source§

fn weight1(&self) -> Result<f32>

Source§

fn weight2(&self) -> Result<f32>

Source§

fn weight3(&self) -> Result<f32>

Source§

fn weight4(&self) -> Result<f32>

Source§

impl LshIndexParamsTrait for BoxedRefMut<'_, LshIndexParams>

Source§

fn as_raw_mut_LshIndexParams( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl LshIndexParamsTraitConst for BoxedRefMut<'_, LshIndexParams>

Source§

fn as_raw_LshIndexParams( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl MACETrait for BoxedRefMut<'_, MACE>

Source§

fn as_raw_mut_MACE( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn salt(&mut self, passphrase: &str) -> Result<()>

optionally encrypt images with random convolution Read more
Source§

fn train(&mut self, images: &impl ToInputArray) -> Result<()>

train it on positive features compute the mace filter: h = D(-1) * X * (X(+) * D(-1) * X)(-1) * C also calculate a minimal threshold for this class, the smallest self-similarity from the train images Read more
Source§

impl MACETraitConst for BoxedRefMut<'_, MACE>

Source§

fn as_raw_MACE(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn same(&self, query: &impl ToInputArray) -> Result<bool>

correlate query img and threshold to min class value Read more
Source§

impl MCC_CCheckerDetectorTrait for BoxedRefMut<'_, MCC_CCheckerDetector>

Source§

fn as_raw_mut_MCC_CCheckerDetector( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_net(&mut self, net: impl NetTrait) -> Result<bool>

\brief Set the net which will be used to find the approximate bounding boxes for the color charts. Read more
Source§

fn process_with_roi( &mut self, image: &impl ToInputArray, chart_type: MCC_TYPECHART, regions_of_interest: &Vector<Rect>, nc: i32, use_net: bool, params: &Ptr<MCC_DetectorParameters>, ) -> Result<bool>

\brief Find the ColorCharts in the given image. Read more
Source§

fn process_with_roi_def( &mut self, image: &impl ToInputArray, chart_type: MCC_TYPECHART, regions_of_interest: &Vector<Rect>, ) -> Result<bool>

\brief Find the ColorCharts in the given image. Read more
Source§

fn process( &mut self, image: &impl ToInputArray, chart_type: MCC_TYPECHART, nc: i32, use_net: bool, params: &Ptr<MCC_DetectorParameters>, ) -> Result<bool>

\brief Find the ColorCharts in the given image. Read more
Source§

fn process_def( &mut self, image: &impl ToInputArray, chart_type: MCC_TYPECHART, ) -> Result<bool>

\brief Find the ColorCharts in the given image. Read more
Source§

fn get_best_color_checker(&mut self) -> Result<Ptr<MCC_CChecker>>

\brief Get the best color checker. By the best it means the one detected with the highest confidence. \return checker A single colorchecker, if atleast one colorchecker was detected, ‘nullptr’ otherwise.
Source§

fn get_list_color_checker(&mut self) -> Result<Vector<Ptr<MCC_CChecker>>>

\brief Get the list of all detected colorcheckers \return checkers vector of colorcheckers
Source§

impl MCC_CCheckerDetectorTraitConst for BoxedRefMut<'_, MCC_CCheckerDetector>

Source§

fn as_raw_MCC_CCheckerDetector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl MCC_CCheckerDrawTrait for BoxedRefMut<'_, MCC_CCheckerDraw>

Source§

fn as_raw_mut_MCC_CCheckerDraw( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn draw(&mut self, img: &mut impl ToInputOutputArray) -> Result<()>

\brief Draws the checker to the given image. \param img image in color space BGR
Source§

impl MCC_CCheckerDrawTraitConst for BoxedRefMut<'_, MCC_CCheckerDraw>

Source§

fn as_raw_MCC_CCheckerDraw( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl MCC_CCheckerTrait for BoxedRefMut<'_, MCC_CChecker>

Source§

fn as_raw_mut_MCC_CChecker( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_target(&mut self, _target: MCC_TYPECHART) -> Result<()>

Source§

fn set_box(&mut self, _box: Vector<Point2f>) -> Result<()>

Source§

fn set_charts_rgb(&mut self, _charts_rgb: impl MatTrait) -> Result<()>

Source§

fn set_charts_y_cb_cr(&mut self, _charts_y_cb_cr: impl MatTrait) -> Result<()>

Source§

fn set_cost(&mut self, _cost: f32) -> Result<()>

Source§

fn set_center(&mut self, _center: Point2f) -> Result<()>

Source§

fn get_target(&mut self) -> Result<MCC_TYPECHART>

Source§

fn get_box(&mut self) -> Result<Vector<Point2f>>

Source§

fn get_color_charts(&mut self) -> Result<Vector<Point2f>>

Computes and returns the coordinates of the central parts of the charts modules. Read more
Source§

fn get_charts_rgb(&mut self) -> Result<Mat>

Source§

fn get_charts_y_cb_cr(&mut self) -> Result<Mat>

Source§

fn get_cost(&mut self) -> Result<f32>

Source§

fn get_center(&mut self) -> Result<Point2f>

Source§

impl MCC_CCheckerTraitConst for BoxedRefMut<'_, MCC_CChecker>

Source§

fn as_raw_MCC_CChecker(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl MCC_DetectorParametersTrait for BoxedRefMut<'_, MCC_DetectorParameters>

Source§

impl MCC_DetectorParametersTraitConst for BoxedRefMut<'_, MCC_DetectorParameters>

Source§

impl MSDDetectorTrait for BoxedRefMut<'_, MSDDetector>

Source§

fn as_raw_mut_MSDDetector( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_patch_radius(&mut self, patch_radius: i32) -> Result<()>

Source§

fn set_search_area_radius(&mut self, use_orientation: i32) -> Result<()>

Source§

fn set_nms_radius(&mut self, nms_radius: i32) -> Result<()>

Source§

fn set_nms_scale_radius(&mut self, nms_scale_radius: i32) -> Result<()>

Source§

fn set_th_saliency(&mut self, th_saliency: f32) -> Result<()>

Source§

fn set_knn(&mut self, k_nn: i32) -> Result<()>

Source§

fn set_scale_factor(&mut self, scale_factor: f32) -> Result<()>

Source§

fn set_n_scales(&mut self, use_orientation: i32) -> Result<()>

Source§

fn set_compute_orientation(&mut self, compute_orientation: bool) -> Result<()>

Source§

impl MSDDetectorTraitConst for BoxedRefMut<'_, MSDDetector>

Source§

impl MSERTrait for BoxedRefMut<'_, MSER>

Source§

fn as_raw_mut_MSER( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn detect_regions( &mut self, image: &impl ToInputArray, msers: &mut Vector<Vector<Point>>, bboxes: &mut Vector<Rect>, ) -> Result<()>

Detect %MSER regions Read more
Source§

fn set_delta(&mut self, delta: i32) -> Result<()>

Source§

fn set_min_area(&mut self, min_area: i32) -> Result<()>

Source§

fn set_max_area(&mut self, max_area: i32) -> Result<()>

Source§

fn set_max_variation(&mut self, max_variation: f64) -> Result<()>

Source§

fn set_min_diversity(&mut self, min_diversity: f64) -> Result<()>

Source§

fn set_max_evolution(&mut self, max_evolution: i32) -> Result<()>

Source§

fn set_area_threshold(&mut self, area_threshold: f64) -> Result<()>

Source§

fn set_min_margin(&mut self, min_margin: f64) -> Result<()>

Source§

fn set_edge_blur_size(&mut self, edge_blur_size: i32) -> Result<()>

Source§

fn set_pass2_only(&mut self, f: bool) -> Result<()>

Source§

impl MSERTraitConst for BoxedRefMut<'_, MSER>

Source§

impl MVNLayerTrait for BoxedRefMut<'_, MVNLayer>

Source§

fn as_raw_mut_MVNLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_eps(&mut self, val: f32)

Source§

fn set_norm_variance(&mut self, val: bool)

Source§

fn set_across_channels(&mut self, val: bool)

Source§

impl MVNLayerTraitConst for BoxedRefMut<'_, MVNLayer>

Source§

fn as_raw_MVNLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn eps(&self) -> f32

Source§

fn norm_variance(&self) -> bool

Source§

fn across_channels(&self) -> bool

Source§

impl MarrHildrethHashTrait for BoxedRefMut<'_, MarrHildrethHash>

Source§

fn as_raw_mut_MarrHildrethHash( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_kernel_param(&mut self, alpha: f32, scale: f32) -> Result<()>

Set Mh kernel parameters Read more
Source§

impl MarrHildrethHashTraitConst for BoxedRefMut<'_, MarrHildrethHash>

Source§

fn as_raw_MarrHildrethHash( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_alpha(&self) -> Result<f32>

self explain
Source§

fn get_scale(&self) -> Result<f32>

self explain
Source§

impl MaskFrameSourceTrait for BoxedRefMut<'_, MaskFrameSource>

Source§

fn as_raw_mut_MaskFrameSource( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn reset(&mut self) -> Result<()>

Source§

fn next_frame(&mut self) -> Result<Mat>

Source§

impl MaskFrameSourceTraitConst for BoxedRefMut<'_, MaskFrameSource>

Source§

fn as_raw_MaskFrameSource( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl MatConstIteratorTrait for BoxedRefMut<'_, MatConstIterator>

Source§

fn as_raw_mut_MatConstIterator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_elem_size(&mut self, val: size_t)

Source§

fn set(&mut self, it: &impl MatConstIteratorTraitConst) -> Result<()>

copy operator
Source§

fn decr(&mut self) -> Result<MatConstIterator>

decrements the iterator
Source§

fn incr(&mut self) -> Result<MatConstIterator>

increments the iterator
Source§

fn seek(&mut self, ofs: ptrdiff_t, relative: bool) -> Result<()>

C++ default parameters Read more
Source§

fn seek_def(&mut self, ofs: ptrdiff_t) -> Result<()>

Source§

fn seek_idx(&mut self, _idx: &i32, relative: bool) -> Result<()>

C++ default parameters Read more
Source§

fn seek_idx_def(&mut self, _idx: &i32) -> Result<()>

Source§

impl MatConstIteratorTraitConst for BoxedRefMut<'_, MatConstIterator>

Source§

fn as_raw_MatConstIterator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn m(&self) -> Mat

Source§

fn elem_size(&self) -> size_t

Source§

fn ptr(&self) -> *const u8

Source§

fn slice_start(&self) -> *const u8

Source§

fn slice_end(&self) -> *const u8

Source§

fn try_deref(&self) -> Result<*const u8>

returns the current matrix element
Source§

fn get(&self, i: ptrdiff_t) -> Result<*const u8>

returns the i-th matrix element, relative to the current
Source§

fn pos(&self) -> Result<Point>

returns the current iterator position
Source§

unsafe fn pos_to(&self, _idx: *mut i32) -> Result<()>

returns the current iterator position
Source§

fn lpos(&self) -> Result<ptrdiff_t>

Source§

fn typ(&self) -> i32

Source§

impl MatExprTrait for BoxedRefMut<'_, MatExpr>

Source§

fn as_raw_mut_MatExpr( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_flags(&mut self, val: i32)

Source§

fn set_a(&mut self, val: Mat)

Source§

fn set_b(&mut self, val: Mat)

Source§

fn set_c(&mut self, val: Mat)

Source§

fn set_alpha(&mut self, val: f64)

Source§

fn set_beta(&mut self, val: f64)

Source§

fn set_s(&mut self, val: Scalar)

Source§

fn swap(&mut self, b: &mut impl MatExprTrait) -> Result<()>

Source§

impl MatExprTraitConst for BoxedRefMut<'_, MatExpr>

Source§

fn as_raw_MatExpr(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn flags(&self) -> i32

Source§

fn a(&self) -> Mat

Source§

fn b(&self) -> Mat

Source§

fn c(&self) -> Mat

Source§

fn alpha(&self) -> f64

Source§

fn beta(&self) -> f64

Source§

fn s(&self) -> Scalar

Source§

fn to_mat(&self) -> Result<Mat>

Source§

fn size(&self) -> Result<Size>

Source§

fn typ(&self) -> Result<i32>

Source§

fn row(&self, y: i32) -> Result<MatExpr>

Source§

fn col(&self, x: i32) -> Result<MatExpr>

Source§

fn diag(&self, d: i32) -> Result<MatExpr>

C++ default parameters Read more
Source§

fn diag_def(&self) -> Result<MatExpr>

Source§

fn rowscols( &self, row_range: &impl RangeTraitConst, col_range: &impl RangeTraitConst, ) -> Result<MatExpr>

Source§

fn roi(&self, roi: Rect) -> Result<MatExpr>

Source§

fn t(&self) -> Result<MatExpr>

Source§

fn inv(&self, method: i32) -> Result<MatExpr>

C++ default parameters Read more
Source§

fn inv_def(&self) -> Result<MatExpr>

Source§

fn mul_matexpr(&self, e: &impl MatExprTraitConst, scale: f64) -> Result<MatExpr>

C++ default parameters Read more
Source§

fn mul_matexpr_def(&self, e: &impl MatExprTraitConst) -> Result<MatExpr>

Source§

fn mul(&self, m: &impl MatTraitConst, scale: f64) -> Result<MatExpr>

C++ default parameters Read more
Source§

fn mul_def(&self, m: &impl MatTraitConst) -> Result<MatExpr>

Source§

fn cross(&self, m: &impl MatTraitConst) -> Result<Mat>

Source§

fn dot(&self, m: &impl MatTraitConst) -> Result<f64>

Source§

impl MatMulLayerTrait for BoxedRefMut<'_, MatMulLayer>

Source§

fn as_raw_mut_MatMulLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl MatMulLayerTraitConst for BoxedRefMut<'_, MatMulLayer>

Source§

fn as_raw_MatMulLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl MatOpTrait for BoxedRefMut<'_, MatOp>

Source§

fn as_raw_mut_MatOp( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl MatOpTraitConst for BoxedRefMut<'_, MatOp>

Source§

fn as_raw_MatOp(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn element_wise(&self, expr: &impl MatExprTraitConst) -> Result<bool>

Source§

fn assign( &self, expr: &impl MatExprTraitConst, m: &mut impl MatTrait, typ: i32, ) -> Result<()>

C++ default parameters Read more
Source§

fn assign_def( &self, expr: &impl MatExprTraitConst, m: &mut impl MatTrait, ) -> Result<()>

Source§

fn roi( &self, expr: &impl MatExprTraitConst, row_range: &impl RangeTraitConst, col_range: &impl RangeTraitConst, res: &mut impl MatExprTrait, ) -> Result<()>

Source§

fn diag( &self, expr: &impl MatExprTraitConst, d: i32, res: &mut impl MatExprTrait, ) -> Result<()>

Source§

fn aug_assign_add( &self, expr: &impl MatExprTraitConst, m: &mut impl MatTrait, ) -> Result<()>

Source§

fn aug_assign_subtract( &self, expr: &impl MatExprTraitConst, m: &mut impl MatTrait, ) -> Result<()>

Source§

fn aug_assign_multiply( &self, expr: &impl MatExprTraitConst, m: &mut impl MatTrait, ) -> Result<()>

Source§

fn aug_assign_divide( &self, expr: &impl MatExprTraitConst, m: &mut impl MatTrait, ) -> Result<()>

Source§

fn aug_assign_and( &self, expr: &impl MatExprTraitConst, m: &mut impl MatTrait, ) -> Result<()>

Source§

fn aug_assign_or( &self, expr: &impl MatExprTraitConst, m: &mut impl MatTrait, ) -> Result<()>

Source§

fn aug_assign_xor( &self, expr: &impl MatExprTraitConst, m: &mut impl MatTrait, ) -> Result<()>

Source§

fn add( &self, expr1: &impl MatExprTraitConst, expr2: &impl MatExprTraitConst, res: &mut impl MatExprTrait, ) -> Result<()>

Source§

fn add_scalar( &self, expr1: &impl MatExprTraitConst, s: Scalar, res: &mut impl MatExprTrait, ) -> Result<()>

Source§

fn subtract( &self, expr1: &impl MatExprTraitConst, expr2: &impl MatExprTraitConst, res: &mut impl MatExprTrait, ) -> Result<()>

Source§

fn subtract_scalar( &self, s: Scalar, expr: &impl MatExprTraitConst, res: &mut impl MatExprTrait, ) -> Result<()>

Source§

fn multiply( &self, expr1: &impl MatExprTraitConst, expr2: &impl MatExprTraitConst, res: &mut impl MatExprTrait, scale: f64, ) -> Result<()>

C++ default parameters Read more
Source§

fn multiply_def( &self, expr1: &impl MatExprTraitConst, expr2: &impl MatExprTraitConst, res: &mut impl MatExprTrait, ) -> Result<()>

Source§

fn multiply_f64( &self, expr1: &impl MatExprTraitConst, s: f64, res: &mut impl MatExprTrait, ) -> Result<()>

Source§

fn divide( &self, expr1: &impl MatExprTraitConst, expr2: &impl MatExprTraitConst, res: &mut impl MatExprTrait, scale: f64, ) -> Result<()>

C++ default parameters Read more
Source§

fn divide_def( &self, expr1: &impl MatExprTraitConst, expr2: &impl MatExprTraitConst, res: &mut impl MatExprTrait, ) -> Result<()>

Source§

fn divide_f64( &self, s: f64, expr: &impl MatExprTraitConst, res: &mut impl MatExprTrait, ) -> Result<()>

Source§

fn abs( &self, expr: &impl MatExprTraitConst, res: &mut impl MatExprTrait, ) -> Result<()>

Source§

fn transpose( &self, expr: &impl MatExprTraitConst, res: &mut impl MatExprTrait, ) -> Result<()>

Source§

fn matmul( &self, expr1: &impl MatExprTraitConst, expr2: &impl MatExprTraitConst, res: &mut impl MatExprTrait, ) -> Result<()>

Source§

fn invert( &self, expr: &impl MatExprTraitConst, method: i32, res: &mut impl MatExprTrait, ) -> Result<()>

Source§

fn size(&self, expr: &impl MatExprTraitConst) -> Result<Size>

Source§

fn typ(&self, expr: &impl MatExprTraitConst) -> Result<i32>

Source§

impl MatSizeTrait for BoxedRefMut<'_, MatSize<'_>>

Source§

fn as_raw_mut_MatSize( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn p_mut(&mut self) -> *mut i32

Source§

unsafe fn set_p(&mut self, val: *const i32)

Source§

fn get_mut(&mut self, i: i32) -> Result<i32>

Source§

impl MatSizeTraitConst for BoxedRefMut<'_, MatSize<'_>>

Source§

fn as_raw_MatSize(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn p(&self) -> *const i32

Source§

fn dims(&self) -> i32

Source§

fn apply(&self) -> Result<Size>

Source§

fn get(&self, i: i32) -> Result<i32>

Source§

fn to_xconst_i32(&self) -> *const i32

Source§

fn equals(&self, sz: &impl MatSizeTraitConst) -> bool

Source§

fn not_equals(&self, sz: &impl MatSizeTraitConst) -> bool

Source§

impl MatStepTrait for BoxedRefMut<'_, MatStep>

Source§

fn as_raw_mut_MatStep( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn p_mut(&mut self) -> *mut size_t

Source§

unsafe fn set_p(&mut self, val: *const size_t)

Source§

fn buf_mut(&mut self) -> &mut [size_t; 2]

Source§

fn get_mut(&mut self, i: i32) -> size_t

Source§

fn set_size_t(&mut self, s: size_t) -> Result<()>

Source§

impl MatStepTraitConst for BoxedRefMut<'_, MatStep>

Source§

fn as_raw_MatStep(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn p(&self) -> *const size_t

Source§

fn buf(&self) -> &[size_t; 2]

Source§

fn get(&self, i: i32) -> size_t

Source§

fn to_size_t(&self) -> Result<size_t>

Source§

impl MatTrait for BoxedRefMut<'_, Mat>

Source§

fn as_raw_mut_Mat( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_flags(&mut self, val: i32)

! includes several bit-fields: Read more
Source§

fn set_dims(&mut self, val: i32)

the matrix dimensionality, >= 2
Source§

fn set_rows(&mut self, val: i32)

the number of rows and columns or (-1, -1) when the matrix has more than 2 dimensions
Source§

fn set_cols(&mut self, val: i32)

the number of rows and columns or (-1, -1) when the matrix has more than 2 dimensions
Source§

fn data_mut(&mut self) -> *mut u8

pointer to the data
Source§

unsafe fn set_data(&mut self, val: *const u8)

pointer to the data
Source§

fn u(&mut self) -> UMatData

interaction with UMat
Source§

fn set_u(&mut self, val: &impl UMatDataTraitConst)

interaction with UMat
Source§

fn set_mat_size(&mut self, val: MatSize<'_>)

Source§

fn set_matexpr(&mut self, expr: &impl MatExprTraitConst) -> Result<()>

assignment operators Read more
Source§

fn row_mut(&mut self, y: i32) -> Result<BoxedRefMut<'_, Mat>>

Creates a matrix header for the specified matrix row. Read more
Source§

fn col_mut(&mut self, x: i32) -> Result<BoxedRefMut<'_, Mat>>

Creates a matrix header for the specified matrix column. Read more
Source§

fn row_bounds_mut( &mut self, startrow: i32, endrow: i32, ) -> Result<BoxedRefMut<'_, Mat>>

Creates a matrix header for the specified row span. Read more
Source§

fn row_range_mut( &mut self, r: &impl RangeTraitConst, ) -> Result<BoxedRefMut<'_, Mat>>

@overload Read more
Source§

fn col_bounds_mut( &mut self, startcol: i32, endcol: i32, ) -> Result<BoxedRefMut<'_, Mat>>

Creates a matrix header for the specified column span. Read more
Source§

fn col_range_mut( &mut self, r: &impl RangeTraitConst, ) -> Result<BoxedRefMut<'_, Mat>>

@overload Read more
Source§

fn diag_def_mut(&mut self) -> Result<BoxedRefMut<'_, Mat>>

Extracts a diagonal from a matrix Read more
Source§

fn diag_mut(&mut self, d: i32) -> Result<BoxedRefMut<'_, Mat>>

Extracts a diagonal from a matrix Read more
Source§

fn set_scalar(&mut self, s: Scalar) -> Result<()>

Sets all or some of the array elements to the specified value. Read more
Source§

fn set_to( &mut self, value: &impl ToInputArray, mask: &impl ToInputArray, ) -> Result<Mat>

Sets all or some of the array elements to the specified value. Read more
Source§

fn set_to_def(&mut self, value: &impl ToInputArray) -> Result<Mat>

Sets all or some of the array elements to the specified value. Read more
Source§

fn reshape_def_mut(&mut self, cn: i32) -> Result<BoxedRefMut<'_, Mat>>

Changes the shape and/or the number of channels of a 2D matrix without copying the data. Read more
Source§

fn reshape_mut(&mut self, cn: i32, rows: i32) -> Result<BoxedRefMut<'_, Mat>>

Changes the shape and/or the number of channels of a 2D matrix without copying the data. Read more
Source§

fn reshape_nd_mut( &mut self, cn: i32, newsz: &[i32], ) -> Result<BoxedRefMut<'_, Mat>>

@overload Read more
Source§

fn reshape_nd_vec_mut( &mut self, cn: i32, newshape: &Vector<i32>, ) -> Result<BoxedRefMut<'_, Mat>>

@overload Read more
Source§

unsafe fn create_rows_cols( &mut self, rows: i32, cols: i32, typ: i32, ) -> Result<()>

Allocates new array data if needed. Read more
Source§

unsafe fn create_size(&mut self, size: Size, typ: i32) -> Result<()>

Allocates new array data if needed. Read more
Source§

unsafe fn create_nd(&mut self, sizes: &[i32], typ: i32) -> Result<()>

Allocates new array data if needed. Read more
Source§

unsafe fn create_nd_vec(&mut self, sizes: &Vector<i32>, typ: i32) -> Result<()>

Allocates new array data if needed. Read more
Source§

unsafe fn addref(&mut self) -> Result<()>

Increments the reference counter. Read more
Source§

unsafe fn release(&mut self) -> Result<()>

Decrements the reference counter and deallocates the matrix if needed. Read more
Source§

fn deallocate(&mut self) -> Result<()>

internal use function, consider to use ‘release’ method instead; deallocates the matrix data
Source§

fn reserve(&mut self, sz: size_t) -> Result<()>

Reserves space for the certain number of rows. Read more
Source§

fn reserve_buffer(&mut self, sz: size_t) -> Result<()>

Reserves space for the certain number of bytes. Read more
Source§

fn resize(&mut self, sz: size_t) -> Result<()>

Changes the number of matrix rows. Read more
Source§

fn resize_with_default(&mut self, sz: size_t, s: Scalar) -> Result<()>

Changes the number of matrix rows. Read more
Source§

fn push_back(&mut self, m: &impl MatTraitConst) -> Result<()>

Adds elements to the bottom of the matrix. Read more
Source§

fn pop_back(&mut self, nelems: size_t) -> Result<()>

Removes elements from the bottom of the matrix. Read more
Source§

fn pop_back_def(&mut self) -> Result<()>

Removes elements from the bottom of the matrix. Read more
Source§

fn adjust_roi( &mut self, dtop: i32, dbottom: i32, dleft: i32, dright: i32, ) -> Result<Mat>

Adjusts a submatrix size and position within the parent matrix. Read more
Source§

fn rowscols_mut( &mut self, row_range: impl RangeTrait, col_range: impl RangeTrait, ) -> Result<BoxedRefMut<'_, Mat>>

Extracts a rectangular submatrix. Read more
Source§

fn roi_mut(&mut self, roi: Rect) -> Result<BoxedRefMut<'_, Mat>>

@overload Read more
Source§

fn ranges_mut(&mut self, ranges: &Vector<Range>) -> Result<BoxedRefMut<'_, Mat>>

@overload Read more
Source§

fn ptr_mut(&mut self, i0: i32) -> Result<*mut u8>

Returns a pointer to the specified matrix row. Read more
Source§

fn ptr_mut_def(&mut self) -> Result<*mut u8>

Returns a pointer to the specified matrix row. Read more
Source§

fn ptr_2d_mut(&mut self, row: i32, col: i32) -> Result<*mut u8>

Returns a pointer to the specified matrix row. Read more
Source§

fn ptr_3d_mut(&mut self, i0: i32, i1: i32, i2: i32) -> Result<*mut u8>

Returns a pointer to the specified matrix row. Read more
Source§

fn ptr_nd_mut(&mut self, idx: &[i32]) -> Result<*mut u8>

Returns a pointer to the specified matrix row. Read more
Source§

fn at_mut<T: DataType>(&mut self, i0: i32) -> Result<&mut T>

Returns a reference to the specified array element. Read more
Source§

fn at_mut_def<T: DataType>(&mut self) -> Result<&mut T>

Returns a reference to the specified array element. Read more
Source§

fn at_2d_mut<T: DataType>(&mut self, row: i32, col: i32) -> Result<&mut T>

Returns a reference to the specified array element. Read more
Source§

fn at_3d_mut<T: DataType>( &mut self, i0: i32, i1: i32, i2: i32, ) -> Result<&mut T>

Returns a reference to the specified array element. Read more
Source§

fn at_nd_mut<T: DataType>(&mut self, idx: &[i32]) -> Result<&mut T>

Returns a reference to the specified array element. Read more
Source§

fn at_pt_mut<T: DataType>(&mut self, pt: Point) -> Result<&mut T>

Returns a reference to the specified array element. Read more
Source§

fn set(&mut self, m: Mat) -> Result<()>

Source§

fn update_continuity_flag(&mut self) -> Result<()>

internal use method: updates the continuity flag
Source§

impl MatTraitConst for BoxedRefMut<'_, Mat>

Source§

fn as_raw_Mat(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn flags(&self) -> i32

! includes several bit-fields: Read more
Source§

fn dims(&self) -> i32

the matrix dimensionality, >= 2
Source§

fn rows(&self) -> i32

the number of rows and columns or (-1, -1) when the matrix has more than 2 dimensions
Source§

fn cols(&self) -> i32

the number of rows and columns or (-1, -1) when the matrix has more than 2 dimensions
Source§

fn data(&self) -> *const u8

pointer to the data
Source§

fn datastart(&self) -> *const u8

helper fields used in locateROI and adjustROI
Source§

fn dataend(&self) -> *const u8

Source§

fn datalimit(&self) -> *const u8

Source§

fn mat_size(&self) -> MatSize<'_>

Source§

fn mat_step(&self) -> MatStep

Source§

fn get_umat( &self, access_flags: AccessFlag, usage_flags: UMatUsageFlags, ) -> Result<UMat>

retrieve UMat from Mat Read more
Source§

fn get_umat_def(&self, access_flags: AccessFlag) -> Result<UMat>

retrieve UMat from Mat Read more
Source§

fn row(&self, y: i32) -> Result<BoxedRef<'_, Mat>>

Creates a matrix header for the specified matrix row. Read more
Source§

fn col(&self, x: i32) -> Result<BoxedRef<'_, Mat>>

Creates a matrix header for the specified matrix column. Read more
Source§

fn row_bounds(&self, startrow: i32, endrow: i32) -> Result<BoxedRef<'_, Mat>>

Creates a matrix header for the specified row span. Read more
Source§

fn row_range(&self, r: &impl RangeTraitConst) -> Result<BoxedRef<'_, Mat>>

Creates a matrix header for the specified row span. Read more
Source§

fn col_bounds(&self, startcol: i32, endcol: i32) -> Result<BoxedRef<'_, Mat>>

Creates a matrix header for the specified column span. Read more
Source§

fn col_range(&self, r: &impl RangeTraitConst) -> Result<BoxedRef<'_, Mat>>

Creates a matrix header for the specified column span. Read more
Source§

fn diag(&self, d: i32) -> Result<BoxedRef<'_, Mat>>

Extracts a diagonal from a matrix Read more
Source§

fn diag_def(&self) -> Result<BoxedRef<'_, Mat>>

Extracts a diagonal from a matrix Read more
Source§

fn try_clone(&self) -> Result<Mat>

Creates a full copy of the array and the underlying data. Read more
Source§

fn copy_to(&self, m: &mut impl ToOutputArray) -> Result<()>

Copies the matrix to another one. Read more
Source§

fn copy_to_masked( &self, m: &mut impl ToOutputArray, mask: &impl ToInputArray, ) -> Result<()>

Copies the matrix to another one. Read more
Source§

fn convert_to( &self, m: &mut impl ToOutputArray, rtype: i32, alpha: f64, beta: f64, ) -> Result<()>

Converts an array to another data type with optional scaling. Read more
Source§

fn convert_to_def(&self, m: &mut impl ToOutputArray, rtype: i32) -> Result<()>

Converts an array to another data type with optional scaling. Read more
Source§

fn assign_to(&self, m: &mut impl MatTrait, typ: i32) -> Result<()>

Provides a functional form of convertTo. Read more
Source§

fn assign_to_def(&self, m: &mut impl MatTrait) -> Result<()>

Provides a functional form of convertTo. Read more
Source§

fn reshape(&self, cn: i32, rows: i32) -> Result<BoxedRef<'_, Mat>>

Changes the shape and/or the number of channels of a 2D matrix without copying the data. Read more
Source§

fn reshape_def(&self, cn: i32) -> Result<BoxedRef<'_, Mat>>

Changes the shape and/or the number of channels of a 2D matrix without copying the data. Read more
Source§

fn reshape_nd(&self, cn: i32, newsz: &[i32]) -> Result<BoxedRef<'_, Mat>>

Changes the shape and/or the number of channels of a 2D matrix without copying the data. Read more
Source§

fn reshape_nd_vec( &self, cn: i32, newshape: &Vector<i32>, ) -> Result<BoxedRef<'_, Mat>>

Changes the shape and/or the number of channels of a 2D matrix without copying the data. Read more
Source§

fn reinterpret(&self, typ: i32) -> Result<Mat>

Reset the type of matrix. Read more
Source§

fn t(&self) -> Result<MatExpr>

Transposes a matrix. Read more
Source§

fn inv(&self, method: i32) -> Result<MatExpr>

Inverses a matrix. Read more
Source§

fn inv_def(&self) -> Result<MatExpr>

Inverses a matrix. Read more
Source§

fn mul(&self, m: &impl ToInputArray, scale: f64) -> Result<MatExpr>

Performs an element-wise multiplication or division of the two matrices. Read more
Source§

fn mul_def(&self, m: &impl ToInputArray) -> Result<MatExpr>

Performs an element-wise multiplication or division of the two matrices. Read more
Source§

fn cross(&self, m: &impl ToInputArray) -> Result<Mat>

Computes a cross-product of two 3-element vectors. Read more
Source§

fn dot(&self, m: &impl ToInputArray) -> Result<f64>

Computes a dot-product of two vectors. Read more
Source§

fn locate_roi(&self, whole_size: &mut Size, ofs: &mut Point) -> Result<()>

Locates the matrix header within a parent matrix. Read more
Source§

fn rowscols( &self, row_range: impl RangeTrait, col_range: impl RangeTrait, ) -> Result<BoxedRef<'_, Mat>>

Extracts a rectangular submatrix. Read more
Source§

fn roi(&self, roi: Rect) -> Result<BoxedRef<'_, Mat>>

Extracts a rectangular submatrix. Read more
Source§

fn ranges(&self, ranges: &Vector<Range>) -> Result<BoxedRef<'_, Mat>>

Extracts a rectangular submatrix. Read more
Source§

fn is_continuous(&self) -> bool

Reports whether the matrix is continuous or not. Read more
Source§

fn is_submatrix(&self) -> bool

returns true if the matrix is a submatrix of another matrix
Source§

fn elem_size(&self) -> Result<size_t>

Returns the matrix element size in bytes. Read more
Source§

fn elem_size1(&self) -> size_t

Returns the size of each matrix element channel in bytes. Read more
Source§

fn typ(&self) -> i32

Returns the type of a matrix element. Read more
Source§

fn depth(&self) -> i32

Returns the depth of a matrix element. Read more
Source§

fn channels(&self) -> i32

Returns the number of matrix channels. Read more
Source§

fn step1(&self, i: i32) -> Result<size_t>

Returns a normalized step. Read more
Source§

fn step1_def(&self) -> Result<size_t>

Returns a normalized step. Read more
Source§

fn empty(&self) -> bool

Returns true if the array has no elements. Read more
Source§

fn total(&self) -> size_t

Returns the total number of array elements. Read more
Source§

fn total_slice(&self, start_dim: i32, end_dim: i32) -> Result<size_t>

Returns the total number of array elements. Read more
Source§

fn total_slice_def(&self, start_dim: i32) -> Result<size_t>

Returns the total number of array elements. Read more
Source§

fn check_vector( &self, elem_channels: i32, depth: i32, require_continuous: bool, ) -> Result<i32>

Parameters Read more
Source§

fn check_vector_def(&self, elem_channels: i32) -> Result<i32>

Parameters Read more
Source§

fn ptr(&self, i0: i32) -> Result<*const u8>

Returns a pointer to the specified matrix row. Read more
Source§

fn ptr_def(&self) -> Result<*const u8>

@overload Read more
Source§

fn ptr_2d(&self, row: i32, col: i32) -> Result<*const u8>

Returns a pointer to the specified matrix row. Read more
Source§

fn ptr_3d(&self, i0: i32, i1: i32, i2: i32) -> Result<*const u8>

Returns a pointer to the specified matrix row. Read more
Source§

fn ptr_nd(&self, idx: &[i32]) -> Result<*const u8>

Returns a pointer to the specified matrix row. Read more
Source§

fn at<T: DataType>(&self, i0: i32) -> Result<&T>

Returns a reference to the specified array element. Read more
Source§

fn at_def<T: DataType>(&self) -> Result<&T>

Returns a reference to the specified array element. Read more
Source§

fn at_2d<T: DataType>(&self, row: i32, col: i32) -> Result<&T>

Returns a reference to the specified array element. Read more
Source§

fn at_3d<T: DataType>(&self, i0: i32, i1: i32, i2: i32) -> Result<&T>

Returns a reference to the specified array element. Read more
Source§

fn at_nd<T: DataType>(&self, idx: &[i32]) -> Result<&T>

Returns a reference to the specified array element. Read more
Source§

fn at_pt<T: DataType>(&self, pt: Point) -> Result<&T>

Returns a reference to the specified array element. Read more
Source§

fn size(&self) -> Result<Size>

Source§

fn get_data_dump(&self) -> Result<String>

Return the dump of the Mat’s data
Source§

impl Matx_AddOpTrait for BoxedRefMut<'_, Matx_AddOp>

Source§

fn as_raw_mut_Matx_AddOp( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl Matx_AddOpTraitConst for BoxedRefMut<'_, Matx_AddOp>

Source§

fn as_raw_Matx_AddOp(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Matx_DivOpTrait for BoxedRefMut<'_, Matx_DivOp>

Source§

fn as_raw_mut_Matx_DivOp( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl Matx_DivOpTraitConst for BoxedRefMut<'_, Matx_DivOp>

Source§

fn as_raw_Matx_DivOp(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Matx_MatMulOpTrait for BoxedRefMut<'_, Matx_MatMulOp>

Source§

fn as_raw_mut_Matx_MatMulOp( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl Matx_MatMulOpTraitConst for BoxedRefMut<'_, Matx_MatMulOp>

Source§

fn as_raw_Matx_MatMulOp( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Matx_MulOpTrait for BoxedRefMut<'_, Matx_MulOp>

Source§

fn as_raw_mut_Matx_MulOp( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl Matx_MulOpTraitConst for BoxedRefMut<'_, Matx_MulOp>

Source§

fn as_raw_Matx_MulOp(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Matx_ScaleOpTrait for BoxedRefMut<'_, Matx_ScaleOp>

Source§

fn as_raw_mut_Matx_ScaleOp( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl Matx_ScaleOpTraitConst for BoxedRefMut<'_, Matx_ScaleOp>

Source§

fn as_raw_Matx_ScaleOp(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Matx_SubOpTrait for BoxedRefMut<'_, Matx_SubOp>

Source§

fn as_raw_mut_Matx_SubOp( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl Matx_SubOpTraitConst for BoxedRefMut<'_, Matx_SubOp>

Source§

fn as_raw_Matx_SubOp(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Matx_TOpTrait for BoxedRefMut<'_, Matx_TOp>

Source§

fn as_raw_mut_Matx_TOp( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl Matx_TOpTraitConst for BoxedRefMut<'_, Matx_TOp>

Source§

fn as_raw_Matx_TOp(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl MaxUnpoolLayerTrait for BoxedRefMut<'_, MaxUnpoolLayer>

Source§

fn as_raw_mut_MaxUnpoolLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_pool_kernel(&mut self, val: Size)

Source§

fn set_pool_pad(&mut self, val: Size)

Source§

fn set_pool_stride(&mut self, val: Size)

Source§

impl MaxUnpoolLayerTraitConst for BoxedRefMut<'_, MaxUnpoolLayer>

Source§

fn as_raw_MaxUnpoolLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn pool_kernel(&self) -> Size

Source§

fn pool_pad(&self) -> Size

Source§

fn pool_stride(&self) -> Size

Source§

impl MediaFrameTrait for BoxedRefMut<'_, MediaFrame>

Source§

fn as_raw_mut_MediaFrame( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl MediaFrameTraitConst for BoxedRefMut<'_, MediaFrame>

Source§

fn as_raw_MediaFrame(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn desc(&self) -> Result<GFrameDesc>

Returns a media frame descriptor – the information about the media format, dimensions, etc. Read more
Source§

fn blob_params(&self) -> Result<any>

@private – exclude from the OpenCV documentation for now.
Source§

impl MediaFrame_IAdapterTrait for BoxedRefMut<'_, MediaFrame_IAdapter>

Source§

fn as_raw_mut_MediaFrame_IAdapter( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl MediaFrame_IAdapterTraitConst for BoxedRefMut<'_, MediaFrame_IAdapter>

Source§

fn as_raw_MediaFrame_IAdapter( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn meta(&self) -> Result<GFrameDesc>

Source§

fn blob_params(&self) -> Result<any>

Source§

impl MediaFrame_ViewTrait for BoxedRefMut<'_, MediaFrame_View>

Source§

fn as_raw_mut_MediaFrame_View( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl MediaFrame_ViewTraitConst for BoxedRefMut<'_, MediaFrame_View>

Source§

fn as_raw_MediaFrame_View( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl MercatorWarperTrait for BoxedRefMut<'_, MercatorWarper>

Source§

fn as_raw_mut_MercatorWarper( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl MercatorWarperTraitConst for BoxedRefMut<'_, MercatorWarper>

Source§

fn as_raw_MercatorWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn create(&self, scale: f32) -> Result<Ptr<Detail_RotationWarper>>

Source§

impl MergeDebevecTrait for BoxedRefMut<'_, MergeDebevec>

Source§

fn as_raw_mut_MergeDebevec( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn process_with_response( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, times: &impl ToInputArray, response: &impl ToInputArray, ) -> Result<()>

Source§

fn process( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, times: &impl ToInputArray, ) -> Result<()>

Source§

impl MergeDebevecTraitConst for BoxedRefMut<'_, MergeDebevec>

Source§

fn as_raw_MergeDebevec(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl MergeExposuresTrait for BoxedRefMut<'_, MergeDebevec>

Source§

fn as_raw_mut_MergeExposures( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn process( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, times: &impl ToInputArray, response: &impl ToInputArray, ) -> Result<()>

Merges images. Read more
Source§

impl MergeExposuresTrait for BoxedRefMut<'_, MergeExposures>

Source§

fn as_raw_mut_MergeExposures( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn process( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, times: &impl ToInputArray, response: &impl ToInputArray, ) -> Result<()>

Merges images. Read more
Source§

impl MergeExposuresTrait for BoxedRefMut<'_, MergeMertens>

Source§

fn as_raw_mut_MergeExposures( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn process( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, times: &impl ToInputArray, response: &impl ToInputArray, ) -> Result<()>

Merges images. Read more
Source§

impl MergeExposuresTrait for BoxedRefMut<'_, MergeRobertson>

Source§

fn as_raw_mut_MergeExposures( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn process( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, times: &impl ToInputArray, response: &impl ToInputArray, ) -> Result<()>

Merges images. Read more
Source§

impl MergeExposuresTraitConst for BoxedRefMut<'_, MergeDebevec>

Source§

fn as_raw_MergeExposures( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl MergeExposuresTraitConst for BoxedRefMut<'_, MergeExposures>

Source§

fn as_raw_MergeExposures( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl MergeExposuresTraitConst for BoxedRefMut<'_, MergeMertens>

Source§

fn as_raw_MergeExposures( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl MergeExposuresTraitConst for BoxedRefMut<'_, MergeRobertson>

Source§

fn as_raw_MergeExposures( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl MergeMertensTrait for BoxedRefMut<'_, MergeMertens>

Source§

fn as_raw_mut_MergeMertens( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn process_with_response( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, times: &impl ToInputArray, response: &impl ToInputArray, ) -> Result<()>

Source§

fn process( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, ) -> Result<()>

Short version of process, that doesn’t take extra arguments. Read more
Source§

fn set_contrast_weight(&mut self, contrast_weiht: f32) -> Result<()>

Source§

fn set_saturation_weight(&mut self, saturation_weight: f32) -> Result<()>

Source§

fn set_exposure_weight(&mut self, exposure_weight: f32) -> Result<()>

Source§

impl MergeMertensTraitConst for BoxedRefMut<'_, MergeMertens>

Source§

fn as_raw_MergeMertens(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_contrast_weight(&self) -> Result<f32>

Source§

fn get_saturation_weight(&self) -> Result<f32>

Source§

fn get_exposure_weight(&self) -> Result<f32>

Source§

impl MergeRobertsonTrait for BoxedRefMut<'_, MergeRobertson>

Source§

fn as_raw_mut_MergeRobertson( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn process_with_response( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, times: &impl ToInputArray, response: &impl ToInputArray, ) -> Result<()>

Source§

fn process( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, times: &impl ToInputArray, ) -> Result<()>

Source§

impl MergeRobertsonTraitConst for BoxedRefMut<'_, MergeRobertson>

Source§

fn as_raw_MergeRobertson( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl MeshTrait for BoxedRefMut<'_, Mesh>

Source§

fn as_raw_mut_Mesh( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_cloud(&mut self, val: Mat)

point coordinates of type CV_32FC3 or CV_64FC3 with only 1 row
Source§

fn set_colors(&mut self, val: Mat)

point color of type CV_8UC3 or CV_8UC4 with only 1 row
Source§

fn set_normals(&mut self, val: Mat)

point normals of type CV_32FC3, CV_32FC4, CV_64FC3 or CV_64FC4 with only 1 row
Source§

fn set_polygons(&mut self, val: Mat)

CV_32SC1 with only 1 row
Source§

fn set_texture(&mut self, val: Mat)

Source§

fn set_tcoords(&mut self, val: Mat)

CV_32FC2 or CV_64FC2 with only 1 row
Source§

impl MeshTraitConst for BoxedRefMut<'_, Mesh>

Source§

fn as_raw_Mesh(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn cloud(&self) -> Mat

point coordinates of type CV_32FC3 or CV_64FC3 with only 1 row
Source§

fn colors(&self) -> Mat

point color of type CV_8UC3 or CV_8UC4 with only 1 row
Source§

fn normals(&self) -> Mat

point normals of type CV_32FC3, CV_32FC4, CV_64FC3 or CV_64FC4 with only 1 row
Source§

fn polygons(&self) -> Mat

CV_32SC1 with only 1 row
Source§

fn texture(&self) -> Mat

Source§

fn tcoords(&self) -> Mat

CV_32FC2 or CV_64FC2 with only 1 row
Source§

impl MinProblemSolverTrait for BoxedRefMut<'_, ConjGradSolver>

Source§

fn as_raw_mut_MinProblemSolver( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_function(&mut self, f: &Ptr<MinProblemSolver_Function>) -> Result<()>

Setter for the optimized function. Read more
Source§

fn set_term_criteria(&mut self, termcrit: TermCriteria) -> Result<()>

Set terminal criteria for solver. Read more
Source§

fn minimize(&mut self, x: &mut impl ToInputOutputArray) -> Result<f64>

actually runs the algorithm and performs the minimization. Read more
Source§

impl MinProblemSolverTrait for BoxedRefMut<'_, DownhillSolver>

Source§

fn as_raw_mut_MinProblemSolver( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_function(&mut self, f: &Ptr<MinProblemSolver_Function>) -> Result<()>

Setter for the optimized function. Read more
Source§

fn set_term_criteria(&mut self, termcrit: TermCriteria) -> Result<()>

Set terminal criteria for solver. Read more
Source§

fn minimize(&mut self, x: &mut impl ToInputOutputArray) -> Result<f64>

actually runs the algorithm and performs the minimization. Read more
Source§

impl MinProblemSolverTrait for BoxedRefMut<'_, MinProblemSolver>

Source§

fn as_raw_mut_MinProblemSolver( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_function(&mut self, f: &Ptr<MinProblemSolver_Function>) -> Result<()>

Setter for the optimized function. Read more
Source§

fn set_term_criteria(&mut self, termcrit: TermCriteria) -> Result<()>

Set terminal criteria for solver. Read more
Source§

fn minimize(&mut self, x: &mut impl ToInputOutputArray) -> Result<f64>

actually runs the algorithm and performs the minimization. Read more
Source§

impl MinProblemSolverTraitConst for BoxedRefMut<'_, ConjGradSolver>

Source§

fn as_raw_MinProblemSolver( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_function(&self) -> Result<Ptr<MinProblemSolver_Function>>

Getter for the optimized function. Read more
Source§

fn get_term_criteria(&self) -> Result<TermCriteria>

Getter for the previously set terminal criteria for this algorithm. Read more
Source§

impl MinProblemSolverTraitConst for BoxedRefMut<'_, DownhillSolver>

Source§

fn as_raw_MinProblemSolver( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_function(&self) -> Result<Ptr<MinProblemSolver_Function>>

Getter for the optimized function. Read more
Source§

fn get_term_criteria(&self) -> Result<TermCriteria>

Getter for the previously set terminal criteria for this algorithm. Read more
Source§

impl MinProblemSolverTraitConst for BoxedRefMut<'_, MinProblemSolver>

Source§

fn as_raw_MinProblemSolver( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_function(&self) -> Result<Ptr<MinProblemSolver_Function>>

Getter for the optimized function. Read more
Source§

fn get_term_criteria(&self) -> Result<TermCriteria>

Getter for the previously set terminal criteria for this algorithm. Read more
Source§

impl MinProblemSolver_FunctionTrait for BoxedRefMut<'_, MinProblemSolver_Function>

Source§

fn as_raw_mut_MinProblemSolver_Function( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn get_gradient(&mut self, x: &f64, grad: &mut f64) -> Result<()>

Source§

impl MinProblemSolver_FunctionTraitConst for BoxedRefMut<'_, MinProblemSolver_Function>

Source§

fn as_raw_MinProblemSolver_Function( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_dims(&self) -> Result<i32>

Source§

fn get_gradient_eps(&self) -> Result<f64>

Source§

fn calc(&self, x: &f64) -> Result<f64>

Source§

impl MishLayerTrait for BoxedRefMut<'_, MishLayer>

Source§

fn as_raw_mut_MishLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl MishLayerTraitConst for BoxedRefMut<'_, MishLayer>

Source§

fn as_raw_MishLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl ModelTrait for BoxedRefMut<'_, ClassificationModel>

Source§

fn as_raw_mut_Model( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set(&mut self, unnamed: &impl ModelTraitConst)

Source§

fn set_1(&mut self, unnamed: Model)

Source§

fn set_input_size(&mut self, size: Size) -> Result<Model>

Set input size for frame. Read more
Source§

fn set_input_size_1(&mut self, width: i32, height: i32) -> Result<Model>

Set input size for frame. Read more
Source§

fn set_input_mean(&mut self, mean: Scalar) -> Result<Model>

Set mean value for frame. Read more
Source§

fn set_input_scale(&mut self, scale: Scalar) -> Result<Model>

Set scalefactor value for frame. Read more
Source§

fn set_input_crop(&mut self, crop: bool) -> Result<Model>

Set flag crop for frame. Read more
Source§

fn set_input_swap_rb(&mut self, swap_rb: bool) -> Result<Model>

Set flag swapRB for frame. Read more
Source§

fn set_output_names(&mut self, out_names: &Vector<String>) -> Result<Model>

Set output names for frame. Read more
Source§

fn set_input_params( &mut self, scale: f64, size: Size, mean: Scalar, swap_rb: bool, crop: bool, ) -> Result<()>

Set preprocessing parameters for frame. Read more
Source§

fn set_input_params_def(&mut self) -> Result<()>

Set preprocessing parameters for frame. Read more
Source§

fn set_preferable_backend(&mut self, backend_id: Backend) -> Result<Model>

See also Read more
Source§

fn set_preferable_target(&mut self, target_id: Target) -> Result<Model>

See also Read more
Source§

fn enable_winograd(&mut self, use_winograd: bool) -> Result<Model>

See also Read more
Source§

fn get_network__1(&mut self) -> Result<Net>

Source§

impl ModelTrait for BoxedRefMut<'_, DetectionModel>

Source§

fn as_raw_mut_Model( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set(&mut self, unnamed: &impl ModelTraitConst)

Source§

fn set_1(&mut self, unnamed: Model)

Source§

fn set_input_size(&mut self, size: Size) -> Result<Model>

Set input size for frame. Read more
Source§

fn set_input_size_1(&mut self, width: i32, height: i32) -> Result<Model>

Set input size for frame. Read more
Source§

fn set_input_mean(&mut self, mean: Scalar) -> Result<Model>

Set mean value for frame. Read more
Source§

fn set_input_scale(&mut self, scale: Scalar) -> Result<Model>

Set scalefactor value for frame. Read more
Source§

fn set_input_crop(&mut self, crop: bool) -> Result<Model>

Set flag crop for frame. Read more
Source§

fn set_input_swap_rb(&mut self, swap_rb: bool) -> Result<Model>

Set flag swapRB for frame. Read more
Source§

fn set_output_names(&mut self, out_names: &Vector<String>) -> Result<Model>

Set output names for frame. Read more
Source§

fn set_input_params( &mut self, scale: f64, size: Size, mean: Scalar, swap_rb: bool, crop: bool, ) -> Result<()>

Set preprocessing parameters for frame. Read more
Source§

fn set_input_params_def(&mut self) -> Result<()>

Set preprocessing parameters for frame. Read more
Source§

fn set_preferable_backend(&mut self, backend_id: Backend) -> Result<Model>

See also Read more
Source§

fn set_preferable_target(&mut self, target_id: Target) -> Result<Model>

See also Read more
Source§

fn enable_winograd(&mut self, use_winograd: bool) -> Result<Model>

See also Read more
Source§

fn get_network__1(&mut self) -> Result<Net>

Source§

impl ModelTrait for BoxedRefMut<'_, KeypointsModel>

Source§

fn as_raw_mut_Model( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set(&mut self, unnamed: &impl ModelTraitConst)

Source§

fn set_1(&mut self, unnamed: Model)

Source§

fn set_input_size(&mut self, size: Size) -> Result<Model>

Set input size for frame. Read more
Source§

fn set_input_size_1(&mut self, width: i32, height: i32) -> Result<Model>

Set input size for frame. Read more
Source§

fn set_input_mean(&mut self, mean: Scalar) -> Result<Model>

Set mean value for frame. Read more
Source§

fn set_input_scale(&mut self, scale: Scalar) -> Result<Model>

Set scalefactor value for frame. Read more
Source§

fn set_input_crop(&mut self, crop: bool) -> Result<Model>

Set flag crop for frame. Read more
Source§

fn set_input_swap_rb(&mut self, swap_rb: bool) -> Result<Model>

Set flag swapRB for frame. Read more
Source§

fn set_output_names(&mut self, out_names: &Vector<String>) -> Result<Model>

Set output names for frame. Read more
Source§

fn set_input_params( &mut self, scale: f64, size: Size, mean: Scalar, swap_rb: bool, crop: bool, ) -> Result<()>

Set preprocessing parameters for frame. Read more
Source§

fn set_input_params_def(&mut self) -> Result<()>

Set preprocessing parameters for frame. Read more
Source§

fn set_preferable_backend(&mut self, backend_id: Backend) -> Result<Model>

See also Read more
Source§

fn set_preferable_target(&mut self, target_id: Target) -> Result<Model>

See also Read more
Source§

fn enable_winograd(&mut self, use_winograd: bool) -> Result<Model>

See also Read more
Source§

fn get_network__1(&mut self) -> Result<Net>

Source§

impl ModelTrait for BoxedRefMut<'_, Model>

Source§

fn as_raw_mut_Model( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set(&mut self, unnamed: &impl ModelTraitConst)

Source§

fn set_1(&mut self, unnamed: Model)

Source§

fn set_input_size(&mut self, size: Size) -> Result<Model>

Set input size for frame. Read more
Source§

fn set_input_size_1(&mut self, width: i32, height: i32) -> Result<Model>

Set input size for frame. Read more
Source§

fn set_input_mean(&mut self, mean: Scalar) -> Result<Model>

Set mean value for frame. Read more
Source§

fn set_input_scale(&mut self, scale: Scalar) -> Result<Model>

Set scalefactor value for frame. Read more
Source§

fn set_input_crop(&mut self, crop: bool) -> Result<Model>

Set flag crop for frame. Read more
Source§

fn set_input_swap_rb(&mut self, swap_rb: bool) -> Result<Model>

Set flag swapRB for frame. Read more
Source§

fn set_output_names(&mut self, out_names: &Vector<String>) -> Result<Model>

Set output names for frame. Read more
Source§

fn set_input_params( &mut self, scale: f64, size: Size, mean: Scalar, swap_rb: bool, crop: bool, ) -> Result<()>

Set preprocessing parameters for frame. Read more
Source§

fn set_input_params_def(&mut self) -> Result<()>

Set preprocessing parameters for frame. Read more
Source§

fn set_preferable_backend(&mut self, backend_id: Backend) -> Result<Model>

See also Read more
Source§

fn set_preferable_target(&mut self, target_id: Target) -> Result<Model>

See also Read more
Source§

fn enable_winograd(&mut self, use_winograd: bool) -> Result<Model>

See also Read more
Source§

fn get_network__1(&mut self) -> Result<Net>

Source§

impl ModelTrait for BoxedRefMut<'_, SegmentationModel>

Source§

fn as_raw_mut_Model( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set(&mut self, unnamed: &impl ModelTraitConst)

Source§

fn set_1(&mut self, unnamed: Model)

Source§

fn set_input_size(&mut self, size: Size) -> Result<Model>

Set input size for frame. Read more
Source§

fn set_input_size_1(&mut self, width: i32, height: i32) -> Result<Model>

Set input size for frame. Read more
Source§

fn set_input_mean(&mut self, mean: Scalar) -> Result<Model>

Set mean value for frame. Read more
Source§

fn set_input_scale(&mut self, scale: Scalar) -> Result<Model>

Set scalefactor value for frame. Read more
Source§

fn set_input_crop(&mut self, crop: bool) -> Result<Model>

Set flag crop for frame. Read more
Source§

fn set_input_swap_rb(&mut self, swap_rb: bool) -> Result<Model>

Set flag swapRB for frame. Read more
Source§

fn set_output_names(&mut self, out_names: &Vector<String>) -> Result<Model>

Set output names for frame. Read more
Source§

fn set_input_params( &mut self, scale: f64, size: Size, mean: Scalar, swap_rb: bool, crop: bool, ) -> Result<()>

Set preprocessing parameters for frame. Read more
Source§

fn set_input_params_def(&mut self) -> Result<()>

Set preprocessing parameters for frame. Read more
Source§

fn set_preferable_backend(&mut self, backend_id: Backend) -> Result<Model>

See also Read more
Source§

fn set_preferable_target(&mut self, target_id: Target) -> Result<Model>

See also Read more
Source§

fn enable_winograd(&mut self, use_winograd: bool) -> Result<Model>

See also Read more
Source§

fn get_network__1(&mut self) -> Result<Net>

Source§

impl ModelTrait for BoxedRefMut<'_, TextDetectionModel>

Source§

fn as_raw_mut_Model( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set(&mut self, unnamed: &impl ModelTraitConst)

Source§

fn set_1(&mut self, unnamed: Model)

Source§

fn set_input_size(&mut self, size: Size) -> Result<Model>

Set input size for frame. Read more
Source§

fn set_input_size_1(&mut self, width: i32, height: i32) -> Result<Model>

Set input size for frame. Read more
Source§

fn set_input_mean(&mut self, mean: Scalar) -> Result<Model>

Set mean value for frame. Read more
Source§

fn set_input_scale(&mut self, scale: Scalar) -> Result<Model>

Set scalefactor value for frame. Read more
Source§

fn set_input_crop(&mut self, crop: bool) -> Result<Model>

Set flag crop for frame. Read more
Source§

fn set_input_swap_rb(&mut self, swap_rb: bool) -> Result<Model>

Set flag swapRB for frame. Read more
Source§

fn set_output_names(&mut self, out_names: &Vector<String>) -> Result<Model>

Set output names for frame. Read more
Source§

fn set_input_params( &mut self, scale: f64, size: Size, mean: Scalar, swap_rb: bool, crop: bool, ) -> Result<()>

Set preprocessing parameters for frame. Read more
Source§

fn set_input_params_def(&mut self) -> Result<()>

Set preprocessing parameters for frame. Read more
Source§

fn set_preferable_backend(&mut self, backend_id: Backend) -> Result<Model>

See also Read more
Source§

fn set_preferable_target(&mut self, target_id: Target) -> Result<Model>

See also Read more
Source§

fn enable_winograd(&mut self, use_winograd: bool) -> Result<Model>

See also Read more
Source§

fn get_network__1(&mut self) -> Result<Net>

Source§

impl ModelTrait for BoxedRefMut<'_, TextDetectionModel_DB>

Source§

fn as_raw_mut_Model( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set(&mut self, unnamed: &impl ModelTraitConst)

Source§

fn set_1(&mut self, unnamed: Model)

Source§

fn set_input_size(&mut self, size: Size) -> Result<Model>

Set input size for frame. Read more
Source§

fn set_input_size_1(&mut self, width: i32, height: i32) -> Result<Model>

Set input size for frame. Read more
Source§

fn set_input_mean(&mut self, mean: Scalar) -> Result<Model>

Set mean value for frame. Read more
Source§

fn set_input_scale(&mut self, scale: Scalar) -> Result<Model>

Set scalefactor value for frame. Read more
Source§

fn set_input_crop(&mut self, crop: bool) -> Result<Model>

Set flag crop for frame. Read more
Source§

fn set_input_swap_rb(&mut self, swap_rb: bool) -> Result<Model>

Set flag swapRB for frame. Read more
Source§

fn set_output_names(&mut self, out_names: &Vector<String>) -> Result<Model>

Set output names for frame. Read more
Source§

fn set_input_params( &mut self, scale: f64, size: Size, mean: Scalar, swap_rb: bool, crop: bool, ) -> Result<()>

Set preprocessing parameters for frame. Read more
Source§

fn set_input_params_def(&mut self) -> Result<()>

Set preprocessing parameters for frame. Read more
Source§

fn set_preferable_backend(&mut self, backend_id: Backend) -> Result<Model>

See also Read more
Source§

fn set_preferable_target(&mut self, target_id: Target) -> Result<Model>

See also Read more
Source§

fn enable_winograd(&mut self, use_winograd: bool) -> Result<Model>

See also Read more
Source§

fn get_network__1(&mut self) -> Result<Net>

Source§

impl ModelTrait for BoxedRefMut<'_, TextDetectionModel_EAST>

Source§

fn as_raw_mut_Model( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set(&mut self, unnamed: &impl ModelTraitConst)

Source§

fn set_1(&mut self, unnamed: Model)

Source§

fn set_input_size(&mut self, size: Size) -> Result<Model>

Set input size for frame. Read more
Source§

fn set_input_size_1(&mut self, width: i32, height: i32) -> Result<Model>

Set input size for frame. Read more
Source§

fn set_input_mean(&mut self, mean: Scalar) -> Result<Model>

Set mean value for frame. Read more
Source§

fn set_input_scale(&mut self, scale: Scalar) -> Result<Model>

Set scalefactor value for frame. Read more
Source§

fn set_input_crop(&mut self, crop: bool) -> Result<Model>

Set flag crop for frame. Read more
Source§

fn set_input_swap_rb(&mut self, swap_rb: bool) -> Result<Model>

Set flag swapRB for frame. Read more
Source§

fn set_output_names(&mut self, out_names: &Vector<String>) -> Result<Model>

Set output names for frame. Read more
Source§

fn set_input_params( &mut self, scale: f64, size: Size, mean: Scalar, swap_rb: bool, crop: bool, ) -> Result<()>

Set preprocessing parameters for frame. Read more
Source§

fn set_input_params_def(&mut self) -> Result<()>

Set preprocessing parameters for frame. Read more
Source§

fn set_preferable_backend(&mut self, backend_id: Backend) -> Result<Model>

See also Read more
Source§

fn set_preferable_target(&mut self, target_id: Target) -> Result<Model>

See also Read more
Source§

fn enable_winograd(&mut self, use_winograd: bool) -> Result<Model>

See also Read more
Source§

fn get_network__1(&mut self) -> Result<Net>

Source§

impl ModelTrait for BoxedRefMut<'_, TextRecognitionModel>

Source§

fn as_raw_mut_Model( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set(&mut self, unnamed: &impl ModelTraitConst)

Source§

fn set_1(&mut self, unnamed: Model)

Source§

fn set_input_size(&mut self, size: Size) -> Result<Model>

Set input size for frame. Read more
Source§

fn set_input_size_1(&mut self, width: i32, height: i32) -> Result<Model>

Set input size for frame. Read more
Source§

fn set_input_mean(&mut self, mean: Scalar) -> Result<Model>

Set mean value for frame. Read more
Source§

fn set_input_scale(&mut self, scale: Scalar) -> Result<Model>

Set scalefactor value for frame. Read more
Source§

fn set_input_crop(&mut self, crop: bool) -> Result<Model>

Set flag crop for frame. Read more
Source§

fn set_input_swap_rb(&mut self, swap_rb: bool) -> Result<Model>

Set flag swapRB for frame. Read more
Source§

fn set_output_names(&mut self, out_names: &Vector<String>) -> Result<Model>

Set output names for frame. Read more
Source§

fn set_input_params( &mut self, scale: f64, size: Size, mean: Scalar, swap_rb: bool, crop: bool, ) -> Result<()>

Set preprocessing parameters for frame. Read more
Source§

fn set_input_params_def(&mut self) -> Result<()>

Set preprocessing parameters for frame. Read more
Source§

fn set_preferable_backend(&mut self, backend_id: Backend) -> Result<Model>

See also Read more
Source§

fn set_preferable_target(&mut self, target_id: Target) -> Result<Model>

See also Read more
Source§

fn enable_winograd(&mut self, use_winograd: bool) -> Result<Model>

See also Read more
Source§

fn get_network__1(&mut self) -> Result<Net>

Source§

impl ModelTraitConst for BoxedRefMut<'_, ClassificationModel>

Source§

fn as_raw_Model(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn predict( &self, frame: &impl ToInputArray, outs: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input frame, create input blob, run net and return the output @p blobs. Read more
Source§

fn get_network_(&self) -> Result<Net>

Source§

impl ModelTraitConst for BoxedRefMut<'_, DetectionModel>

Source§

fn as_raw_Model(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn predict( &self, frame: &impl ToInputArray, outs: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input frame, create input blob, run net and return the output @p blobs. Read more
Source§

fn get_network_(&self) -> Result<Net>

Source§

impl ModelTraitConst for BoxedRefMut<'_, KeypointsModel>

Source§

fn as_raw_Model(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn predict( &self, frame: &impl ToInputArray, outs: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input frame, create input blob, run net and return the output @p blobs. Read more
Source§

fn get_network_(&self) -> Result<Net>

Source§

impl ModelTraitConst for BoxedRefMut<'_, Model>

Source§

fn as_raw_Model(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn predict( &self, frame: &impl ToInputArray, outs: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input frame, create input blob, run net and return the output @p blobs. Read more
Source§

fn get_network_(&self) -> Result<Net>

Source§

impl ModelTraitConst for BoxedRefMut<'_, SegmentationModel>

Source§

fn as_raw_Model(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn predict( &self, frame: &impl ToInputArray, outs: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input frame, create input blob, run net and return the output @p blobs. Read more
Source§

fn get_network_(&self) -> Result<Net>

Source§

impl ModelTraitConst for BoxedRefMut<'_, TextDetectionModel>

Source§

fn as_raw_Model(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn predict( &self, frame: &impl ToInputArray, outs: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input frame, create input blob, run net and return the output @p blobs. Read more
Source§

fn get_network_(&self) -> Result<Net>

Source§

impl ModelTraitConst for BoxedRefMut<'_, TextDetectionModel_DB>

Source§

fn as_raw_Model(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn predict( &self, frame: &impl ToInputArray, outs: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input frame, create input blob, run net and return the output @p blobs. Read more
Source§

fn get_network_(&self) -> Result<Net>

Source§

impl ModelTraitConst for BoxedRefMut<'_, TextDetectionModel_EAST>

Source§

fn as_raw_Model(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn predict( &self, frame: &impl ToInputArray, outs: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input frame, create input blob, run net and return the output @p blobs. Read more
Source§

fn get_network_(&self) -> Result<Net>

Source§

impl ModelTraitConst for BoxedRefMut<'_, TextRecognitionModel>

Source§

fn as_raw_Model(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn predict( &self, frame: &impl ToInputArray, outs: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input frame, create input blob, run net and return the output @p blobs. Read more
Source§

fn get_network_(&self) -> Result<Net>

Source§

impl<Mat: Boxed> ModifyInplace for BoxedRefMut<'_, Mat>

Source§

unsafe fn modify_inplace<Res>( &mut self, f: impl FnOnce(&Self, &mut Self) -> 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 MoreAccurateMotionWobbleSuppressorBaseTrait for BoxedRefMut<'_, MoreAccurateMotionWobbleSuppressor>

Source§

fn as_raw_mut_MoreAccurateMotionWobbleSuppressorBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_period(&mut self, val: i32) -> Result<()>

Source§

impl MoreAccurateMotionWobbleSuppressorBaseTrait for BoxedRefMut<'_, MoreAccurateMotionWobbleSuppressorBase>

Source§

fn as_raw_mut_MoreAccurateMotionWobbleSuppressorBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_period(&mut self, val: i32) -> Result<()>

Source§

impl MoreAccurateMotionWobbleSuppressorBaseTrait for BoxedRefMut<'_, MoreAccurateMotionWobbleSuppressorGpu>

Source§

fn as_raw_mut_MoreAccurateMotionWobbleSuppressorBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_period(&mut self, val: i32) -> Result<()>

Source§

impl MoreAccurateMotionWobbleSuppressorBaseTraitConst for BoxedRefMut<'_, MoreAccurateMotionWobbleSuppressor>

Source§

fn as_raw_MoreAccurateMotionWobbleSuppressorBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn period(&self) -> Result<i32>

Source§

impl MoreAccurateMotionWobbleSuppressorBaseTraitConst for BoxedRefMut<'_, MoreAccurateMotionWobbleSuppressorBase>

Source§

fn as_raw_MoreAccurateMotionWobbleSuppressorBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn period(&self) -> Result<i32>

Source§

impl MoreAccurateMotionWobbleSuppressorBaseTraitConst for BoxedRefMut<'_, MoreAccurateMotionWobbleSuppressorGpu>

Source§

fn as_raw_MoreAccurateMotionWobbleSuppressorBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn period(&self) -> Result<i32>

Source§

impl MoreAccurateMotionWobbleSuppressorGpuTrait for BoxedRefMut<'_, MoreAccurateMotionWobbleSuppressorGpu>

Source§

fn as_raw_mut_MoreAccurateMotionWobbleSuppressorGpu( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn suppress( &mut self, idx: i32, frame: &impl GpuMatTraitConst, result: &mut impl GpuMatTrait, ) -> Result<()>

Source§

fn suppress_1( &mut self, idx: i32, frame: &impl MatTraitConst, result: &mut impl MatTrait, ) -> Result<()>

Source§

impl MoreAccurateMotionWobbleSuppressorGpuTraitConst for BoxedRefMut<'_, MoreAccurateMotionWobbleSuppressorGpu>

Source§

fn as_raw_MoreAccurateMotionWobbleSuppressorGpu( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl MoreAccurateMotionWobbleSuppressorTrait for BoxedRefMut<'_, MoreAccurateMotionWobbleSuppressor>

Source§

fn as_raw_mut_MoreAccurateMotionWobbleSuppressor( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn suppress( &mut self, idx: i32, frame: &impl MatTraitConst, result: &mut impl MatTrait, ) -> Result<()>

Source§

impl MoreAccurateMotionWobbleSuppressorTraitConst for BoxedRefMut<'_, MoreAccurateMotionWobbleSuppressor>

Source§

fn as_raw_MoreAccurateMotionWobbleSuppressor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl MotionEstimatorBaseTrait for BoxedRefMut<'_, MotionEstimatorBase>

Source§

fn as_raw_mut_MotionEstimatorBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_motion_model(&mut self, val: MotionModel) -> Result<()>

Sets motion model. Read more
Source§

fn estimate( &mut self, points0: &impl ToInputArray, points1: &impl ToInputArray, ok: &mut bool, ) -> Result<Mat>

Estimates global motion between two 2D point clouds. Read more
Source§

fn estimate_def( &mut self, points0: &impl ToInputArray, points1: &impl ToInputArray, ) -> Result<Mat>

Estimates global motion between two 2D point clouds. Read more
Source§

impl MotionEstimatorBaseTrait for BoxedRefMut<'_, MotionEstimatorL1>

Source§

fn as_raw_mut_MotionEstimatorBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_motion_model(&mut self, val: MotionModel) -> Result<()>

Sets motion model. Read more
Source§

fn estimate( &mut self, points0: &impl ToInputArray, points1: &impl ToInputArray, ok: &mut bool, ) -> Result<Mat>

Estimates global motion between two 2D point clouds. Read more
Source§

fn estimate_def( &mut self, points0: &impl ToInputArray, points1: &impl ToInputArray, ) -> Result<Mat>

Estimates global motion between two 2D point clouds. Read more
Source§

impl MotionEstimatorBaseTrait for BoxedRefMut<'_, MotionEstimatorRansacL2>

Source§

fn as_raw_mut_MotionEstimatorBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_motion_model(&mut self, val: MotionModel) -> Result<()>

Sets motion model. Read more
Source§

fn estimate( &mut self, points0: &impl ToInputArray, points1: &impl ToInputArray, ok: &mut bool, ) -> Result<Mat>

Estimates global motion between two 2D point clouds. Read more
Source§

fn estimate_def( &mut self, points0: &impl ToInputArray, points1: &impl ToInputArray, ) -> Result<Mat>

Estimates global motion between two 2D point clouds. Read more
Source§

impl MotionEstimatorBaseTraitConst for BoxedRefMut<'_, MotionEstimatorBase>

Source§

fn as_raw_MotionEstimatorBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn motion_model(&self) -> Result<MotionModel>

Returns Read more
Source§

impl MotionEstimatorBaseTraitConst for BoxedRefMut<'_, MotionEstimatorL1>

Source§

fn as_raw_MotionEstimatorBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn motion_model(&self) -> Result<MotionModel>

Returns Read more
Source§

impl MotionEstimatorBaseTraitConst for BoxedRefMut<'_, MotionEstimatorRansacL2>

Source§

fn as_raw_MotionEstimatorBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn motion_model(&self) -> Result<MotionModel>

Returns Read more
Source§

impl MotionEstimatorL1Trait for BoxedRefMut<'_, MotionEstimatorL1>

Source§

fn as_raw_mut_MotionEstimatorL1( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn estimate( &mut self, points0: &impl ToInputArray, points1: &impl ToInputArray, ok: &mut bool, ) -> Result<Mat>

C++ default parameters Read more
Source§

fn estimate_def( &mut self, points0: &impl ToInputArray, points1: &impl ToInputArray, ) -> Result<Mat>

Source§

impl MotionEstimatorL1TraitConst for BoxedRefMut<'_, MotionEstimatorL1>

Source§

fn as_raw_MotionEstimatorL1( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl MotionEstimatorRansacL2Trait for BoxedRefMut<'_, MotionEstimatorRansacL2>

Source§

fn as_raw_mut_MotionEstimatorRansacL2( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_ransac_params(&mut self, val: &impl RansacParamsTraitConst) -> Result<()>

Source§

fn set_min_inlier_ratio(&mut self, val: f32) -> Result<()>

Source§

fn estimate( &mut self, points0: &impl ToInputArray, points1: &impl ToInputArray, ok: &mut bool, ) -> Result<Mat>

C++ default parameters Read more
Source§

fn estimate_def( &mut self, points0: &impl ToInputArray, points1: &impl ToInputArray, ) -> Result<Mat>

Source§

impl MotionEstimatorRansacL2TraitConst for BoxedRefMut<'_, MotionEstimatorRansacL2>

Source§

fn as_raw_MotionEstimatorRansacL2( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn ransac_params(&self) -> Result<RansacParams>

Source§

fn min_inlier_ratio(&self) -> Result<f32>

Source§

impl MotionFilterBaseTrait for BoxedRefMut<'_, GaussianMotionFilter>

Source§

fn as_raw_mut_MotionFilterBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn stabilize( &mut self, idx: i32, motions: &Vector<Mat>, range: &impl RangeTraitConst, ) -> Result<Mat>

Source§

fn stabilize_1( &mut self, size: i32, motions: &Vector<Mat>, range: &impl RangeTraitConst, stabilization_motions: &mut impl MatTrait, ) -> Result<()>

Source§

impl MotionFilterBaseTrait for BoxedRefMut<'_, MotionFilterBase>

Source§

fn as_raw_mut_MotionFilterBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn stabilize( &mut self, idx: i32, motions: &Vector<Mat>, range: &impl RangeTraitConst, ) -> Result<Mat>

Source§

fn stabilize_1( &mut self, size: i32, motions: &Vector<Mat>, range: &impl RangeTraitConst, stabilization_motions: &mut impl MatTrait, ) -> Result<()>

Source§

impl MotionFilterBaseTraitConst for BoxedRefMut<'_, GaussianMotionFilter>

Source§

fn as_raw_MotionFilterBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl MotionFilterBaseTraitConst for BoxedRefMut<'_, MotionFilterBase>

Source§

fn as_raw_MotionFilterBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl MotionInpainterTrait for BoxedRefMut<'_, MotionInpainter>

Source§

fn as_raw_mut_MotionInpainter( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_opt_flow_estimator( &mut self, val: Ptr<IDenseOptFlowEstimator>, ) -> Result<()>

Source§

fn set_flow_error_threshold(&mut self, val: f32) -> Result<()>

Source§

fn set_dist_threshold(&mut self, val: f32) -> Result<()>

Source§

fn set_border_mode(&mut self, val: i32) -> Result<()>

Source§

fn inpaint( &mut self, idx: i32, frame: &mut impl MatTrait, mask: &mut impl MatTrait, ) -> Result<()>

Source§

impl MotionInpainterTraitConst for BoxedRefMut<'_, MotionInpainter>

Source§

fn as_raw_MotionInpainter( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn opt_flow_estimator(&self) -> Result<Ptr<IDenseOptFlowEstimator>>

Source§

fn flow_error_threshold(&self) -> Result<f32>

Source§

fn dist_thresh(&self) -> Result<f32>

Source§

fn border_mode(&self) -> Result<i32>

Source§

impl MotionSaliencyBinWangApr2014Trait for BoxedRefMut<'_, MotionSaliencyBinWangApr2014>

Source§

fn as_raw_mut_MotionSaliencyBinWangApr2014( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn compute_saliency( &mut self, image: &impl ToInputArray, saliency_map: &mut impl ToOutputArray, ) -> Result<bool>

Source§

fn set_imagesize(&mut self, w: i32, h: i32) -> Result<()>

This is a utility function that allows to set the correct size (taken from the input image) in the corresponding variables that will be used to size the data structures of the algorithm. Read more
Source§

fn init(&mut self) -> Result<bool>

This function allows the correct initialization of all data structures that will be used by the algorithm.
Source§

fn set_image_width(&mut self, val: i32) -> Result<()>

Source§

fn set_image_height(&mut self, val: i32) -> Result<()>

Source§

impl MotionSaliencyBinWangApr2014TraitConst for BoxedRefMut<'_, MotionSaliencyBinWangApr2014>

Source§

fn as_raw_MotionSaliencyBinWangApr2014( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_image_width(&self) -> Result<i32>

Source§

fn get_image_height(&self) -> Result<i32>

Source§

impl MotionSaliencyTrait for BoxedRefMut<'_, MotionSaliency>

Source§

fn as_raw_mut_MotionSaliency( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl MotionSaliencyTrait for BoxedRefMut<'_, MotionSaliencyBinWangApr2014>

Source§

fn as_raw_mut_MotionSaliency( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl MotionSaliencyTraitConst for BoxedRefMut<'_, MotionSaliency>

Source§

fn as_raw_MotionSaliency( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl MotionSaliencyTraitConst for BoxedRefMut<'_, MotionSaliencyBinWangApr2014>

Source§

fn as_raw_MotionSaliency( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl MotionStabilizationPipelineTrait for BoxedRefMut<'_, MotionStabilizationPipeline>

Source§

fn as_raw_mut_MotionStabilizationPipeline( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn push_back(&mut self, stabilizer: Ptr<IMotionStabilizer>) -> Result<()>

Source§

fn stabilize( &mut self, size: i32, motions: &Vector<Mat>, range: &impl RangeTraitConst, stabilization_motions: &mut impl MatTrait, ) -> Result<()>

Source§

impl MotionStabilizationPipelineTraitConst for BoxedRefMut<'_, MotionStabilizationPipeline>

Source§

fn as_raw_MotionStabilizationPipeline( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn empty(&self) -> Result<bool>

Source§

impl MouseEventTrait for BoxedRefMut<'_, MouseEvent>

Source§

fn as_raw_mut_MouseEvent( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_type(&mut self, val: MouseEvent_Type)

Source§

fn set_button(&mut self, val: MouseEvent_MouseButton)

Source§

fn set_pointer(&mut self, val: Point)

Source§

fn set_modifiers(&mut self, val: i32)

Source§

impl MouseEventTraitConst for BoxedRefMut<'_, MouseEvent>

Source§

fn as_raw_MouseEvent(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn typ(&self) -> MouseEvent_Type

Source§

fn button(&self) -> MouseEvent_MouseButton

Source§

fn pointer(&self) -> Point

Source§

fn modifiers(&self) -> i32

Source§

impl MultiCameraCalibrationTrait for BoxedRefMut<'_, MultiCameraCalibration>

Source§

fn as_raw_mut_MultiCameraCalibration( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn load_images(&mut self) -> Result<()>

Source§

fn initialize(&mut self) -> Result<()>

Source§

fn optimize_extrinsics(&mut self) -> Result<f64>

Source§

fn run(&mut self) -> Result<f64>

Source§

fn write_parameters(&mut self, filename: &str) -> Result<()>

Source§

impl MultiCameraCalibrationTraitConst for BoxedRefMut<'_, MultiCameraCalibration>

Source§

fn as_raw_MultiCameraCalibration( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl MultiCameraCalibration_edgeTrait for BoxedRefMut<'_, MultiCameraCalibration_edge>

Source§

fn as_raw_mut_MultiCameraCalibration_edge( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_camera_vertex(&mut self, val: i32)

Source§

fn set_photo_vertex(&mut self, val: i32)

Source§

fn set_photo_index(&mut self, val: i32)

Source§

fn set_transform(&mut self, val: Mat)

Source§

impl MultiCameraCalibration_edgeTraitConst for BoxedRefMut<'_, MultiCameraCalibration_edge>

Source§

fn as_raw_MultiCameraCalibration_edge( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn camera_vertex(&self) -> i32

Source§

fn photo_vertex(&self) -> i32

Source§

fn photo_index(&self) -> i32

Source§

fn transform(&self) -> Mat

Source§

impl MultiCameraCalibration_vertexTrait for BoxedRefMut<'_, MultiCameraCalibration_vertex>

Source§

fn as_raw_mut_MultiCameraCalibration_vertex( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_pose(&mut self, val: Mat)

Source§

fn set_timestamp(&mut self, val: i32)

Source§

impl MultiCameraCalibration_vertexTraitConst for BoxedRefMut<'_, MultiCameraCalibration_vertex>

Source§

fn as_raw_MultiCameraCalibration_vertex( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn pose(&self) -> Mat

Source§

fn timestamp(&self) -> i32

Source§

impl NaryEltwiseLayerTrait for BoxedRefMut<'_, NaryEltwiseLayer>

Source§

fn as_raw_mut_NaryEltwiseLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl NaryEltwiseLayerTraitConst for BoxedRefMut<'_, NaryEltwiseLayer>

Source§

fn as_raw_NaryEltwiseLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl NetTrait for BoxedRefMut<'_, Net>

Source§

fn as_raw_mut_Net( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn dump(&mut self) -> Result<String>

Dump net to String Read more
Source§

fn dump_to_file(&mut self, path: &str) -> Result<()>

Dump net structure, hyperparameters, backend, target and fusion to dot file Read more
Source§

fn dump_to_pbtxt(&mut self, path: &str) -> Result<()>

Dump net structure, hyperparameters, backend, target and fusion to pbtxt file Read more
Source§

fn add_layer_type( &mut self, name: &str, typ: &str, dtype: &i32, params: &mut impl LayerParamsTrait, ) -> Result<i32>

Adds new layer to the net. Read more
Source§

fn add_layer( &mut self, name: &str, typ: &str, params: &mut impl LayerParamsTrait, ) -> Result<i32>

Adds new layer to the net. Read more
Source§

fn add_layer_to_prev_type( &mut self, name: &str, typ: &str, dtype: &i32, params: &mut impl LayerParamsTrait, ) -> Result<i32>

Adds new layer and connects its first input to the first output of previously added layer. Read more
Source§

fn add_layer_to_prev( &mut self, name: &str, typ: &str, params: &mut impl LayerParamsTrait, ) -> Result<i32>

Adds new layer and connects its first input to the first output of previously added layer. Read more
Source§

fn connect_first_second(&mut self, out_pin: &str, inp_pin: &str) -> Result<()>

Connects output of the first layer to input of the second layer. Read more
Source§

fn connect( &mut self, out_layer_id: i32, out_num: i32, inp_layer_id: i32, inp_num: i32, ) -> Result<()>

Connects #@p outNum output of the first layer to #@p inNum input of the second layer. Read more
Source§

fn register_output( &mut self, output_name: &str, layer_id: i32, output_port: i32, ) -> Result<i32>

Registers network output with name Read more
Source§

fn set_inputs_names(&mut self, input_blob_names: &Vector<String>) -> Result<()>

Sets outputs names of the network input pseudo layer. Read more
Source§

fn set_input_shape(&mut self, input_name: &str, shape: &MatShape) -> Result<()>

Specify shape of network input.
Source§

fn forward_single(&mut self, output_name: &str) -> Result<Mat>

Runs forward pass to compute output of layer with name @p outputName. Read more
Source§

fn forward_single_def(&mut self) -> Result<Mat>

Runs forward pass to compute output of layer with name @p outputName. Read more
Source§

fn forward_async(&mut self, output_name: &str) -> Result<AsyncArray>

Runs forward pass to compute output of layer with name @p outputName. Read more
Source§

fn forward_async_def(&mut self) -> Result<AsyncArray>

Runs forward pass to compute output of layer with name @p outputName. Read more
Source§

fn forward_layer( &mut self, output_blobs: &mut impl ToOutputArray, output_name: &str, ) -> Result<()>

Runs forward pass to compute output of layer with name @p outputName. Read more
Source§

fn forward_layer_def( &mut self, output_blobs: &mut impl ToOutputArray, ) -> Result<()>

Runs forward pass to compute output of layer with name @p outputName. Read more
Source§

fn forward( &mut self, output_blobs: &mut impl ToOutputArray, out_blob_names: &Vector<String>, ) -> Result<()>

Runs forward pass to compute outputs of layers listed in @p outBlobNames. Read more
Source§

fn forward_and_retrieve( &mut self, output_blobs: &mut Vector<Vector<Mat>>, out_blob_names: &Vector<String>, ) -> Result<()>

Runs forward pass to compute outputs of layers listed in @p outBlobNames. Read more
Source§

fn quantize( &mut self, calib_data: &impl ToInputArray, inputs_dtype: i32, outputs_dtype: i32, per_channel: bool, ) -> Result<Net>

Returns a quantized Net from a floating-point Net. Read more
Source§

fn quantize_def( &mut self, calib_data: &impl ToInputArray, inputs_dtype: i32, outputs_dtype: i32, ) -> Result<Net>

Returns a quantized Net from a floating-point Net. Read more
Source§

fn set_halide_scheduler(&mut self, scheduler: &str) -> Result<()>

Compile Halide layers. Read more
Source§

fn set_preferable_backend(&mut self, backend_id: i32) -> Result<()>

Ask network to use specific computation backend where it supported. Read more
Source§

fn set_preferable_target(&mut self, target_id: i32) -> Result<()>

Ask network to make computations on specific target device. Read more
Source§

fn set_input( &mut self, blob: &impl ToInputArray, name: &str, scalefactor: f64, mean: Scalar, ) -> Result<()>

Sets the new input value for the network Read more
Source§

fn set_input_def(&mut self, blob: &impl ToInputArray) -> Result<()>

Sets the new input value for the network Read more
Source§

fn set_param( &mut self, layer: i32, num_param: i32, blob: &impl MatTraitConst, ) -> Result<()>

Sets the new value for the learned param of the layer. Read more
Source§

fn set_param_1( &mut self, layer_name: &str, num_param: i32, blob: &impl MatTraitConst, ) -> Result<()>

Source§

fn enable_fusion(&mut self, fusion: bool) -> Result<()>

Enables or disables layer fusion in the network. Read more
Source§

fn enable_winograd(&mut self, use_winograd: bool) -> Result<()>

Enables or disables the Winograd compute branch. The Winograd compute branch can speed up 3x3 Convolution at a small loss of accuracy. Read more
Source§

fn get_perf_profile(&mut self, timings: &mut Vector<f64>) -> Result<i64>

Returns overall time for inference and timings (in ticks) for layers. Read more
Source§

impl NetTraitConst for BoxedRefMut<'_, Net>

Source§

fn as_raw_Net(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn empty(&self) -> Result<bool>

Returns true if there are no layers in the network.
Source§

fn get_layer_id(&self, layer: &str) -> Result<i32>

Converts string name of the layer to the integer identifier. Read more
Source§

fn get_layer_names(&self) -> Result<Vector<String>>

Source§

fn get_layer(&self, layer_id: i32) -> Result<Ptr<Layer>>

Returns pointer to layer with specified id or name which the network use.
Source§

fn get_layer_1(&self, layer_name: &str) -> Result<Ptr<Layer>>

👎Deprecated: Use int getLayerId(const String &layer)
Returns pointer to layer with specified id or name which the network use. Read more
Source§

fn get_layer_2(&self, layer_id: &impl DictValueTraitConst) -> Result<Ptr<Layer>>

👎Deprecated: to be removed
Returns pointer to layer with specified id or name which the network use. Read more
Source§

fn get_layer_inputs(&self, layer_id: i32) -> Result<Vector<Ptr<Layer>>>

Returns pointers to input layers of specific layer.
Source§

fn get_input_details( &self, scales: &mut Vector<f32>, zeropoints: &mut Vector<i32>, ) -> Result<()>

Returns input scale and zeropoint for a quantized Net. Read more
Source§

fn get_output_details( &self, scales: &mut Vector<f32>, zeropoints: &mut Vector<i32>, ) -> Result<()>

Returns output scale and zeropoint for a quantized Net. Read more
Source§

fn get_param(&self, layer: i32, num_param: i32) -> Result<Mat>

Returns parameter blob of the layer. Read more
Source§

fn get_param_def(&self, layer: i32) -> Result<Mat>

Returns parameter blob of the layer. Read more
Source§

fn get_param_1(&self, layer_name: &str, num_param: i32) -> Result<Mat>

C++ default parameters Read more
Source§

fn get_param_def_1(&self, layer_name: &str) -> Result<Mat>

Source§

fn get_unconnected_out_layers(&self) -> Result<Vector<i32>>

Returns indexes of layers with unconnected outputs. Read more
Source§

fn get_unconnected_out_layers_names(&self) -> Result<Vector<String>>

Returns names of layers with unconnected outputs. Read more
Source§

fn get_layers_shapes( &self, net_input_shapes: &Vector<MatShape>, layers_ids: &mut Vector<i32>, in_layers_shapes: &mut Vector<Vector<MatShape>>, out_layers_shapes: &mut Vector<Vector<MatShape>>, ) -> Result<()>

Returns input and output shapes for all layers in loaded model; preliminary inferencing isn’t necessary. Read more
Source§

fn get_layers_shapes_1( &self, net_input_shape: &MatShape, layers_ids: &mut Vector<i32>, in_layers_shapes: &mut Vector<Vector<MatShape>>, out_layers_shapes: &mut Vector<Vector<MatShape>>, ) -> Result<()>

Returns input and output shapes for all layers in loaded model; preliminary inferencing isn’t necessary. Read more
Source§

fn get_layer_shapes( &self, net_input_shape: &MatShape, layer_id: i32, in_layer_shapes: &mut Vector<MatShape>, out_layer_shapes: &mut Vector<MatShape>, ) -> Result<()>

Returns input and output shapes for layer with specified id in loaded model; preliminary inferencing isn’t necessary. Read more
Source§

fn get_layer_shapes_1( &self, net_input_shapes: &Vector<MatShape>, layer_id: i32, in_layer_shapes: &mut Vector<MatShape>, out_layer_shapes: &mut Vector<MatShape>, ) -> Result<()>

Returns input and output shapes for layer with specified id in loaded model; preliminary inferencing isn’t necessary. Read more
Source§

fn get_flops(&self, net_input_shapes: &Vector<MatShape>) -> Result<i64>

Computes FLOP for whole loaded model with specified input shapes. Read more
Source§

fn get_flops_1(&self, net_input_shape: &MatShape) -> Result<i64>

Computes FLOP for whole loaded model with specified input shapes. Read more
Source§

fn get_flops_2( &self, layer_id: i32, net_input_shapes: &Vector<MatShape>, ) -> Result<i64>

Computes FLOP for whole loaded model with specified input shapes. Read more
Source§

fn get_flops_3(&self, layer_id: i32, net_input_shape: &MatShape) -> Result<i64>

Computes FLOP for whole loaded model with specified input shapes. Read more
Source§

fn get_layer_types(&self, layers_types: &mut Vector<String>) -> Result<()>

Returns list of types for layer used in model. Read more
Source§

fn get_layers_count(&self, layer_type: &str) -> Result<i32>

Returns count of layers of specified type. Read more
Source§

fn get_memory_consumption( &self, net_input_shapes: &Vector<MatShape>, weights: &mut size_t, blobs: &mut size_t, ) -> Result<()>

Computes bytes number which are required to store all weights and intermediate blobs for model. Read more
Source§

fn get_memory_consumption_1( &self, net_input_shape: &MatShape, weights: &mut size_t, blobs: &mut size_t, ) -> Result<()>

Computes bytes number which are required to store all weights and intermediate blobs for model. Read more
Source§

fn get_memory_consumption_for_layer( &self, layer_id: i32, net_input_shapes: &Vector<MatShape>, weights: &mut size_t, blobs: &mut size_t, ) -> Result<()>

Computes bytes number which are required to store all weights and intermediate blobs for model. Read more
Source§

fn get_memory_consumption_2( &self, layer_id: i32, net_input_shape: &MatShape, weights: &mut size_t, blobs: &mut size_t, ) -> Result<()>

Computes bytes number which are required to store all weights and intermediate blobs for model. Read more
Source§

fn get_memory_consumption_for_layers( &self, net_input_shapes: &Vector<MatShape>, layer_ids: &mut Vector<i32>, weights: &mut Vector<size_t>, blobs: &mut Vector<size_t>, ) -> Result<()>

Computes bytes number which are required to store all weights and intermediate blobs for each layer. Read more
Source§

fn get_memory_consumption_3( &self, net_input_shape: &MatShape, layer_ids: &mut Vector<i32>, weights: &mut Vector<size_t>, blobs: &mut Vector<size_t>, ) -> Result<()>

Computes bytes number which are required to store all weights and intermediate blobs for each layer. Read more
Source§

impl NodeDataTrait for BoxedRefMut<'_, NodeData>

Source§

fn as_raw_mut_NodeData( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

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

Source§

fn set_m_instr_type(&mut self, val: TYPE)

Source§

fn set_m_impl_type(&mut self, val: IMPL)

Source§

fn set_m_line_num(&mut self, val: i32)

Source§

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

Source§

unsafe fn set_m_ret_address(&mut self, val: *const c_void)

Source§

fn set_m_always_expand(&mut self, val: bool)

Source§

fn set_m_fun_error(&mut self, val: bool)

Source§

fn set_m_counter(&mut self, val: i32)

Source§

fn set_m_ticks_total(&mut self, val: u64)

Source§

fn set_m_threads(&mut self, val: i32)

Source§

fn set(&mut self, unnamed: &impl NodeDataTraitConst) -> Result<()>

Source§

impl NodeDataTraitConst for BoxedRefMut<'_, NodeData>

Source§

fn as_raw_NodeData(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn m_fun_name(&self) -> String

Source§

fn m_instr_type(&self) -> TYPE

Source§

fn m_impl_type(&self) -> IMPL

Source§

fn m_file_name(&self) -> String

Source§

fn m_line_num(&self) -> i32

Source§

fn m_always_expand(&self) -> bool

Source§

fn m_fun_error(&self) -> bool

Source§

fn m_counter(&self) -> i32

Source§

fn m_ticks_total(&self) -> u64

Source§

fn m_threads(&self) -> i32

Source§

fn get_total_ms(&self) -> Result<f64>

Source§

fn get_mean_ms(&self) -> Result<f64>

Source§

impl NormHistogramCostExtractorTrait for BoxedRefMut<'_, NormHistogramCostExtractor>

Source§

fn as_raw_mut_NormHistogramCostExtractor( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_norm_flag(&mut self, flag: i32) -> Result<()>

Source§

impl NormHistogramCostExtractorTraitConst for BoxedRefMut<'_, NormHistogramCostExtractor>

Source§

fn as_raw_NormHistogramCostExtractor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_norm_flag(&self) -> Result<i32>

Source§

impl NormalBayesClassifierTrait for BoxedRefMut<'_, NormalBayesClassifier>

Source§

fn as_raw_mut_NormalBayesClassifier( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl NormalBayesClassifierTraitConst for BoxedRefMut<'_, NormalBayesClassifier>

Source§

fn as_raw_NormalBayesClassifier( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn predict_prob( &self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, output_probs: &mut impl ToOutputArray, flags: i32, ) -> Result<f32>

Predicts the response for sample(s). Read more
Source§

fn predict_prob_def( &self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, output_probs: &mut impl ToOutputArray, ) -> Result<f32>

Predicts the response for sample(s). Read more
Source§

impl NormalizeBBoxLayerTrait for BoxedRefMut<'_, NormalizeBBoxLayer>

Source§

fn as_raw_mut_NormalizeBBoxLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_pnorm(&mut self, val: f32)

Source§

fn set_epsilon(&mut self, val: f32)

Source§

fn set_across_spatial(&mut self, val: bool)

Source§

impl NormalizeBBoxLayerTraitConst for BoxedRefMut<'_, NormalizeBBoxLayer>

Source§

fn as_raw_NormalizeBBoxLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn pnorm(&self) -> f32

Source§

fn epsilon(&self) -> f32

Source§

fn across_spatial(&self) -> bool

Source§

impl NotLayerTrait for BoxedRefMut<'_, NotLayer>

Source§

fn as_raw_mut_NotLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl NotLayerTraitConst for BoxedRefMut<'_, NotLayer>

Source§

fn as_raw_NotLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl NullDeblurerTrait for BoxedRefMut<'_, NullDeblurer>

Source§

fn as_raw_mut_NullDeblurer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn deblur( &mut self, unnamed: i32, unnamed_1: &mut impl MatTrait, unnamed_2: &impl RangeTraitConst, ) -> Result<()>

Source§

impl NullDeblurerTraitConst for BoxedRefMut<'_, NullDeblurer>

Source§

fn as_raw_NullDeblurer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl NullFrameSourceTrait for BoxedRefMut<'_, NullFrameSource>

Source§

fn as_raw_mut_NullFrameSource( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn reset(&mut self) -> Result<()>

Source§

fn next_frame(&mut self) -> Result<Mat>

Source§

impl NullFrameSourceTraitConst for BoxedRefMut<'_, NullFrameSource>

Source§

fn as_raw_NullFrameSource( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl NullInpainterTrait for BoxedRefMut<'_, NullInpainter>

Source§

fn as_raw_mut_NullInpainter( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn inpaint( &mut self, unnamed: i32, unnamed_1: &mut impl MatTrait, unnamed_2: &mut impl MatTrait, ) -> Result<()>

Source§

impl NullInpainterTraitConst for BoxedRefMut<'_, NullInpainter>

Source§

fn as_raw_NullInpainter( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl NullLogTrait for BoxedRefMut<'_, NullLog>

Source§

fn as_raw_mut_NullLog( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn print(&mut self, unnamed: &str) -> Result<()>

Source§

impl NullLogTraitConst for BoxedRefMut<'_, NullLog>

Source§

fn as_raw_NullLog(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl NullOutlierRejectorTrait for BoxedRefMut<'_, NullOutlierRejector>

Source§

fn as_raw_mut_NullOutlierRejector( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn process( &mut self, frame_size: Size, points0: &impl ToInputArray, points1: &impl ToInputArray, mask: &mut impl ToOutputArray, ) -> Result<()>

Source§

impl NullOutlierRejectorTraitConst for BoxedRefMut<'_, NullOutlierRejector>

Source§

fn as_raw_NullOutlierRejector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl NullWobbleSuppressorTrait for BoxedRefMut<'_, NullWobbleSuppressor>

Source§

fn as_raw_mut_NullWobbleSuppressor( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn suppress( &mut self, idx: i32, frame: &impl MatTraitConst, result: &mut impl MatTrait, ) -> Result<()>

Source§

impl NullWobbleSuppressorTraitConst for BoxedRefMut<'_, NullWobbleSuppressor>

Source§

fn as_raw_NullWobbleSuppressor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl OCRBeamSearchDecoderTrait for BoxedRefMut<'_, OCRBeamSearchDecoder>

Source§

fn as_raw_mut_OCRBeamSearchDecoder( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn run_multiple( &mut self, image: &mut impl MatTrait, output_text: &mut String, component_rects: &mut Vector<Rect>, component_texts: &mut Vector<String>, component_confidences: &mut Vector<f32>, component_level: i32, ) -> Result<()>

Recognize text using Beam Search. Read more
Source§

fn run_multiple_def( &mut self, image: &mut impl MatTrait, output_text: &mut String, ) -> Result<()>

Recognize text using Beam Search. Read more
Source§

fn run_multiple_mask( &mut self, image: &mut impl MatTrait, mask: &mut impl MatTrait, output_text: &mut String, component_rects: &mut Vector<Rect>, component_texts: &mut Vector<String>, component_confidences: &mut Vector<f32>, component_level: i32, ) -> Result<()>

C++ default parameters Read more
Source§

fn run_multiple_mask_def( &mut self, image: &mut impl MatTrait, mask: &mut impl MatTrait, output_text: &mut String, ) -> Result<()>

Source§

fn run( &mut self, image: &impl ToInputArray, min_confidence: i32, component_level: i32, ) -> Result<String>

C++ default parameters Read more
Source§

fn run_def( &mut self, image: &impl ToInputArray, min_confidence: i32, ) -> Result<String>

Source§

fn run_mask( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, min_confidence: i32, component_level: i32, ) -> Result<String>

C++ default parameters Read more
Source§

fn run_mask_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, min_confidence: i32, ) -> Result<String>

Source§

impl OCRBeamSearchDecoderTraitConst for BoxedRefMut<'_, OCRBeamSearchDecoder>

Source§

fn as_raw_OCRBeamSearchDecoder( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl OCRBeamSearchDecoder_ClassifierCallbackTrait for BoxedRefMut<'_, OCRBeamSearchDecoder_ClassifierCallback>

Source§

fn as_raw_mut_OCRBeamSearchDecoder_ClassifierCallback( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn eval( &mut self, image: &impl ToInputArray, recognition_probabilities: &mut Vector<Vector<f64>>, oversegmentation: &mut Vector<i32>, ) -> Result<()>

The character classifier must return a (ranked list of) class(es) id(’s) Read more
Source§

fn get_window_size(&mut self) -> Result<i32>

Source§

fn get_step_size(&mut self) -> Result<i32>

Source§

impl OCRBeamSearchDecoder_ClassifierCallbackTraitConst for BoxedRefMut<'_, OCRBeamSearchDecoder_ClassifierCallback>

Source§

fn as_raw_OCRBeamSearchDecoder_ClassifierCallback( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl OCRHMMDecoderTrait for BoxedRefMut<'_, OCRHMMDecoder>

Source§

fn as_raw_mut_OCRHMMDecoder( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn run_multiple( &mut self, image: &mut impl MatTrait, output_text: &mut String, component_rects: &mut Vector<Rect>, component_texts: &mut Vector<String>, component_confidences: &mut Vector<f32>, component_level: i32, ) -> Result<()>

Recognize text using HMM. Read more
Source§

fn run_multiple_def( &mut self, image: &mut impl MatTrait, output_text: &mut String, ) -> Result<()>

Recognize text using HMM. Read more
Source§

fn run_multiple_mask( &mut self, image: &mut impl MatTrait, mask: &mut impl MatTrait, output_text: &mut String, component_rects: &mut Vector<Rect>, component_texts: &mut Vector<String>, component_confidences: &mut Vector<f32>, component_level: i32, ) -> Result<()>

Recognize text using HMM. Read more
Source§

fn run_multiple_mask_def( &mut self, image: &mut impl MatTrait, mask: &mut impl MatTrait, output_text: &mut String, ) -> Result<()>

Recognize text using HMM. Read more
Source§

fn run( &mut self, image: &impl ToInputArray, min_confidence: i32, component_level: i32, ) -> Result<String>

C++ default parameters Read more
Source§

fn run_def( &mut self, image: &impl ToInputArray, min_confidence: i32, ) -> Result<String>

Source§

fn run_mask( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, min_confidence: i32, component_level: i32, ) -> Result<String>

C++ default parameters Read more
Source§

fn run_mask_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, min_confidence: i32, ) -> Result<String>

Source§

impl OCRHMMDecoderTraitConst for BoxedRefMut<'_, OCRHMMDecoder>

Source§

fn as_raw_OCRHMMDecoder( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl OCRHMMDecoder_ClassifierCallbackTrait for BoxedRefMut<'_, OCRHMMDecoder_ClassifierCallback>

Source§

fn as_raw_mut_OCRHMMDecoder_ClassifierCallback( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn eval( &mut self, image: &impl ToInputArray, out_class: &mut Vector<i32>, out_confidence: &mut Vector<f64>, ) -> Result<()>

The character classifier must return a (ranked list of) class(es) id(’s) Read more
Source§

impl OCRHMMDecoder_ClassifierCallbackTraitConst for BoxedRefMut<'_, OCRHMMDecoder_ClassifierCallback>

Source§

fn as_raw_OCRHMMDecoder_ClassifierCallback( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl OCRHolisticWordRecognizerTrait for BoxedRefMut<'_, OCRHolisticWordRecognizer>

Source§

fn as_raw_mut_OCRHolisticWordRecognizer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn run( &mut self, image: &mut impl MatTrait, output_text: &mut String, component_rects: &mut Vector<Rect>, component_texts: &mut Vector<String>, component_confidences: &mut Vector<f32>, component_level: i32, ) -> Result<()>

C++ default parameters Read more
Source§

fn run_def( &mut self, image: &mut impl MatTrait, output_text: &mut String, ) -> Result<()>

Source§

fn run_mask( &mut self, image: &mut impl MatTrait, mask: &mut impl MatTrait, output_text: &mut String, component_rects: &mut Vector<Rect>, component_texts: &mut Vector<String>, component_confidences: &mut Vector<f32>, component_level: i32, ) -> Result<()>

Recognize text using a segmentation based word-spotting/classifier cnn. Read more
Source§

fn run_mask_def( &mut self, image: &mut impl MatTrait, mask: &mut impl MatTrait, output_text: &mut String, ) -> Result<()>

Recognize text using a segmentation based word-spotting/classifier cnn. Read more
Source§

impl OCRHolisticWordRecognizerTraitConst for BoxedRefMut<'_, OCRHolisticWordRecognizer>

Source§

fn as_raw_OCRHolisticWordRecognizer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl OCRTesseractTrait for BoxedRefMut<'_, OCRTesseract>

Source§

fn as_raw_mut_OCRTesseract( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn run_multiple( &mut self, image: &mut impl MatTrait, output_text: &mut String, component_rects: &mut Vector<Rect>, component_texts: &mut Vector<String>, component_confidences: &mut Vector<f32>, component_level: i32, ) -> Result<()>

Recognize text using the tesseract-ocr API. Read more
Source§

fn run_multiple_def( &mut self, image: &mut impl MatTrait, output_text: &mut String, ) -> Result<()>

Recognize text using the tesseract-ocr API. Read more
Source§

fn run_multiple_mask( &mut self, image: &mut impl MatTrait, mask: &mut impl MatTrait, output_text: &mut String, component_rects: &mut Vector<Rect>, component_texts: &mut Vector<String>, component_confidences: &mut Vector<f32>, component_level: i32, ) -> Result<()>

C++ default parameters Read more
Source§

fn run_multiple_mask_def( &mut self, image: &mut impl MatTrait, mask: &mut impl MatTrait, output_text: &mut String, ) -> Result<()>

Source§

fn run( &mut self, image: &impl ToInputArray, min_confidence: i32, component_level: i32, ) -> Result<String>

C++ default parameters Read more
Source§

fn run_def( &mut self, image: &impl ToInputArray, min_confidence: i32, ) -> Result<String>

Source§

fn run_mask( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, min_confidence: i32, component_level: i32, ) -> Result<String>

C++ default parameters Read more
Source§

fn run_mask_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, min_confidence: i32, ) -> Result<String>

Source§

fn set_white_list(&mut self, char_whitelist: &str) -> Result<()>

Source§

impl OCRTesseractTraitConst for BoxedRefMut<'_, OCRTesseract>

Source§

fn as_raw_OCRTesseract(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl ORBTrait for BoxedRefMut<'_, ORB>

Source§

fn as_raw_mut_ORB( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_max_features(&mut self, max_features: i32) -> Result<()>

Source§

fn set_scale_factor(&mut self, scale_factor: f64) -> Result<()>

Source§

fn set_n_levels(&mut self, nlevels: i32) -> Result<()>

Source§

fn set_edge_threshold(&mut self, edge_threshold: i32) -> Result<()>

Source§

fn set_first_level(&mut self, first_level: i32) -> Result<()>

Source§

fn set_wta_k(&mut self, wta_k: i32) -> Result<()>

Source§

fn set_score_type(&mut self, score_type: ORB_ScoreType) -> Result<()>

Source§

fn set_patch_size(&mut self, patch_size: i32) -> Result<()>

Source§

fn set_fast_threshold(&mut self, fast_threshold: i32) -> Result<()>

Source§

impl ORBTraitConst for BoxedRefMut<'_, ORB>

Source§

impl ObjectnessBINGTrait for BoxedRefMut<'_, ObjectnessBING>

Source§

fn as_raw_mut_ObjectnessBING( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn compute_saliency( &mut self, image: &impl ToInputArray, saliency_map: &mut impl ToOutputArray, ) -> Result<bool>

Source§

fn read(&mut self) -> Result<()>

Source§

fn getobjectness_values(&mut self) -> Result<Vector<f32>>

Return the list of the rectangles’ objectness value, Read more
Source§

fn set_training_path(&mut self, training_path: &str) -> Result<()>

This is a utility function that allows to set the correct path from which the algorithm will load the trained model. Read more
Source§

fn set_bb_res_dir(&mut self, results_dir: &str) -> Result<()>

This is a utility function that allows to set an arbitrary path in which the algorithm will save the optional results Read more
Source§

fn set_base(&mut self, val: f64) -> Result<()>

Source§

fn set_nss(&mut self, val: i32) -> Result<()>

Source§

fn set_w(&mut self, val: i32) -> Result<()>

Source§

impl ObjectnessBINGTraitConst for BoxedRefMut<'_, ObjectnessBING>

Source§

fn as_raw_ObjectnessBING( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self) -> Result<()>

Source§

fn get_base(&self) -> Result<f64>

Source§

fn get_nss(&self) -> Result<i32>

Source§

fn get_w(&self) -> Result<i32>

Source§

impl ObjectnessTrait for BoxedRefMut<'_, Objectness>

Source§

fn as_raw_mut_Objectness( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ObjectnessTrait for BoxedRefMut<'_, ObjectnessBING>

Source§

fn as_raw_mut_Objectness( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ObjectnessTraitConst for BoxedRefMut<'_, Objectness>

Source§

fn as_raw_Objectness(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl ObjectnessTraitConst for BoxedRefMut<'_, ObjectnessBING>

Source§

fn as_raw_Objectness(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl OdometryFrameTrait for BoxedRefMut<'_, OdometryFrame>

Source§

fn as_raw_mut_OdometryFrame( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_pyramid_image(&mut self, val: Vector<Mat>)

Source§

fn set_pyramid_depth(&mut self, val: Vector<Mat>)

Source§

fn set_pyramid_mask(&mut self, val: Vector<Mat>)

Source§

fn set_pyramid_cloud(&mut self, val: Vector<Mat>)

Source§

fn set_pyramid_d_i_dx(&mut self, val: Vector<Mat>)

Source§

fn set_pyramid_d_i_dy(&mut self, val: Vector<Mat>)

Source§

fn set_pyramid_textured_mask(&mut self, val: Vector<Mat>)

Source§

fn set_pyramid_normals(&mut self, val: Vector<Mat>)

Source§

fn set_pyramid_normals_mask(&mut self, val: Vector<Mat>)

Source§

fn release(&mut self) -> Result<()>

Source§

fn release_pyramids(&mut self) -> Result<()>

Source§

impl OdometryFrameTraitConst for BoxedRefMut<'_, OdometryFrame>

Source§

impl OdometryTrait for BoxedRefMut<'_, FastICPOdometry>

Source§

fn as_raw_mut_Odometry( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_camera_matrix(&mut self, val: &impl MatTraitConst) -> Result<()>

See also Read more
Source§

fn set_transform_type(&mut self, val: i32) -> Result<()>

See also Read more
Source§

impl OdometryTrait for BoxedRefMut<'_, ICPOdometry>

Source§

fn as_raw_mut_Odometry( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_camera_matrix(&mut self, val: &impl MatTraitConst) -> Result<()>

See also Read more
Source§

fn set_transform_type(&mut self, val: i32) -> Result<()>

See also Read more
Source§

impl OdometryTrait for BoxedRefMut<'_, Odometry>

Source§

fn as_raw_mut_Odometry( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_camera_matrix(&mut self, val: &impl MatTraitConst) -> Result<()>

See also Read more
Source§

fn set_transform_type(&mut self, val: i32) -> Result<()>

See also Read more
Source§

impl OdometryTrait for BoxedRefMut<'_, RgbdICPOdometry>

Source§

fn as_raw_mut_Odometry( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_camera_matrix(&mut self, val: &impl MatTraitConst) -> Result<()>

See also Read more
Source§

fn set_transform_type(&mut self, val: i32) -> Result<()>

See also Read more
Source§

impl OdometryTrait for BoxedRefMut<'_, RgbdOdometry>

Source§

fn as_raw_mut_Odometry( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_camera_matrix(&mut self, val: &impl MatTraitConst) -> Result<()>

See also Read more
Source§

fn set_transform_type(&mut self, val: i32) -> Result<()>

See also Read more
Source§

impl OdometryTraitConst for BoxedRefMut<'_, FastICPOdometry>

Source§

fn as_raw_Odometry(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn compute( &self, src_image: &impl MatTraitConst, src_depth: &impl MatTraitConst, src_mask: &impl MatTraitConst, dst_image: &impl MatTraitConst, dst_depth: &impl MatTraitConst, dst_mask: &impl MatTraitConst, rt: &mut impl ToOutputArray, init_rt: &impl MatTraitConst, ) -> Result<bool>

Method to compute a transformation from the source frame to the destination one. Some odometry algorithms do not used some data of frames (eg. ICP does not use images). In such case corresponding arguments can be set as empty Mat. The method returns true if all internal computations were possible (e.g. there were enough correspondences, system of equations has a solution, etc) and resulting transformation satisfies some test if it’s provided by the Odometry inheritor implementation (e.g. thresholds for maximum translation and rotation). Read more
Source§

fn compute_def( &self, src_image: &impl MatTraitConst, src_depth: &impl MatTraitConst, src_mask: &impl MatTraitConst, dst_image: &impl MatTraitConst, dst_depth: &impl MatTraitConst, dst_mask: &impl MatTraitConst, rt: &mut impl ToOutputArray, ) -> Result<bool>

Method to compute a transformation from the source frame to the destination one. Some odometry algorithms do not used some data of frames (eg. ICP does not use images). In such case corresponding arguments can be set as empty Mat. The method returns true if all internal computations were possible (e.g. there were enough correspondences, system of equations has a solution, etc) and resulting transformation satisfies some test if it’s provided by the Odometry inheritor implementation (e.g. thresholds for maximum translation and rotation). Read more
Source§

fn compute2( &self, src_frame: &mut Ptr<OdometryFrame>, dst_frame: &mut Ptr<OdometryFrame>, rt: &mut impl ToOutputArray, init_rt: &impl MatTraitConst, ) -> Result<bool>

One more method to compute a transformation from the source frame to the destination one. It is designed to save on computing the frame data (image pyramids, normals, etc.). Read more
Source§

fn compute2_def( &self, src_frame: &mut Ptr<OdometryFrame>, dst_frame: &mut Ptr<OdometryFrame>, rt: &mut impl ToOutputArray, ) -> Result<bool>

One more method to compute a transformation from the source frame to the destination one. It is designed to save on computing the frame data (image pyramids, normals, etc.). Read more
Source§

fn prepare_frame_cache( &self, frame: &mut Ptr<OdometryFrame>, cache_type: i32, ) -> Result<Size>

Prepare a cache for the frame. The function checks the precomputed/passed data (throws the error if this data does not satisfy) and computes all remaining cache data needed for the frame. Returned size is a resolution of the prepared frame. Read more
Source§

fn get_camera_matrix(&self) -> Result<Mat>

See also Read more
Source§

fn get_transform_type(&self) -> Result<i32>

See also Read more
Source§

impl OdometryTraitConst for BoxedRefMut<'_, ICPOdometry>

Source§

fn as_raw_Odometry(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn compute( &self, src_image: &impl MatTraitConst, src_depth: &impl MatTraitConst, src_mask: &impl MatTraitConst, dst_image: &impl MatTraitConst, dst_depth: &impl MatTraitConst, dst_mask: &impl MatTraitConst, rt: &mut impl ToOutputArray, init_rt: &impl MatTraitConst, ) -> Result<bool>

Method to compute a transformation from the source frame to the destination one. Some odometry algorithms do not used some data of frames (eg. ICP does not use images). In such case corresponding arguments can be set as empty Mat. The method returns true if all internal computations were possible (e.g. there were enough correspondences, system of equations has a solution, etc) and resulting transformation satisfies some test if it’s provided by the Odometry inheritor implementation (e.g. thresholds for maximum translation and rotation). Read more
Source§

fn compute_def( &self, src_image: &impl MatTraitConst, src_depth: &impl MatTraitConst, src_mask: &impl MatTraitConst, dst_image: &impl MatTraitConst, dst_depth: &impl MatTraitConst, dst_mask: &impl MatTraitConst, rt: &mut impl ToOutputArray, ) -> Result<bool>

Method to compute a transformation from the source frame to the destination one. Some odometry algorithms do not used some data of frames (eg. ICP does not use images). In such case corresponding arguments can be set as empty Mat. The method returns true if all internal computations were possible (e.g. there were enough correspondences, system of equations has a solution, etc) and resulting transformation satisfies some test if it’s provided by the Odometry inheritor implementation (e.g. thresholds for maximum translation and rotation). Read more
Source§

fn compute2( &self, src_frame: &mut Ptr<OdometryFrame>, dst_frame: &mut Ptr<OdometryFrame>, rt: &mut impl ToOutputArray, init_rt: &impl MatTraitConst, ) -> Result<bool>

One more method to compute a transformation from the source frame to the destination one. It is designed to save on computing the frame data (image pyramids, normals, etc.). Read more
Source§

fn compute2_def( &self, src_frame: &mut Ptr<OdometryFrame>, dst_frame: &mut Ptr<OdometryFrame>, rt: &mut impl ToOutputArray, ) -> Result<bool>

One more method to compute a transformation from the source frame to the destination one. It is designed to save on computing the frame data (image pyramids, normals, etc.). Read more
Source§

fn prepare_frame_cache( &self, frame: &mut Ptr<OdometryFrame>, cache_type: i32, ) -> Result<Size>

Prepare a cache for the frame. The function checks the precomputed/passed data (throws the error if this data does not satisfy) and computes all remaining cache data needed for the frame. Returned size is a resolution of the prepared frame. Read more
Source§

fn get_camera_matrix(&self) -> Result<Mat>

See also Read more
Source§

fn get_transform_type(&self) -> Result<i32>

See also Read more
Source§

impl OdometryTraitConst for BoxedRefMut<'_, Odometry>

Source§

fn as_raw_Odometry(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn compute( &self, src_image: &impl MatTraitConst, src_depth: &impl MatTraitConst, src_mask: &impl MatTraitConst, dst_image: &impl MatTraitConst, dst_depth: &impl MatTraitConst, dst_mask: &impl MatTraitConst, rt: &mut impl ToOutputArray, init_rt: &impl MatTraitConst, ) -> Result<bool>

Method to compute a transformation from the source frame to the destination one. Some odometry algorithms do not used some data of frames (eg. ICP does not use images). In such case corresponding arguments can be set as empty Mat. The method returns true if all internal computations were possible (e.g. there were enough correspondences, system of equations has a solution, etc) and resulting transformation satisfies some test if it’s provided by the Odometry inheritor implementation (e.g. thresholds for maximum translation and rotation). Read more
Source§

fn compute_def( &self, src_image: &impl MatTraitConst, src_depth: &impl MatTraitConst, src_mask: &impl MatTraitConst, dst_image: &impl MatTraitConst, dst_depth: &impl MatTraitConst, dst_mask: &impl MatTraitConst, rt: &mut impl ToOutputArray, ) -> Result<bool>

Method to compute a transformation from the source frame to the destination one. Some odometry algorithms do not used some data of frames (eg. ICP does not use images). In such case corresponding arguments can be set as empty Mat. The method returns true if all internal computations were possible (e.g. there were enough correspondences, system of equations has a solution, etc) and resulting transformation satisfies some test if it’s provided by the Odometry inheritor implementation (e.g. thresholds for maximum translation and rotation). Read more
Source§

fn compute2( &self, src_frame: &mut Ptr<OdometryFrame>, dst_frame: &mut Ptr<OdometryFrame>, rt: &mut impl ToOutputArray, init_rt: &impl MatTraitConst, ) -> Result<bool>

One more method to compute a transformation from the source frame to the destination one. It is designed to save on computing the frame data (image pyramids, normals, etc.). Read more
Source§

fn compute2_def( &self, src_frame: &mut Ptr<OdometryFrame>, dst_frame: &mut Ptr<OdometryFrame>, rt: &mut impl ToOutputArray, ) -> Result<bool>

One more method to compute a transformation from the source frame to the destination one. It is designed to save on computing the frame data (image pyramids, normals, etc.). Read more
Source§

fn prepare_frame_cache( &self, frame: &mut Ptr<OdometryFrame>, cache_type: i32, ) -> Result<Size>

Prepare a cache for the frame. The function checks the precomputed/passed data (throws the error if this data does not satisfy) and computes all remaining cache data needed for the frame. Returned size is a resolution of the prepared frame. Read more
Source§

fn get_camera_matrix(&self) -> Result<Mat>

See also Read more
Source§

fn get_transform_type(&self) -> Result<i32>

See also Read more
Source§

impl OdometryTraitConst for BoxedRefMut<'_, RgbdICPOdometry>

Source§

fn as_raw_Odometry(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn compute( &self, src_image: &impl MatTraitConst, src_depth: &impl MatTraitConst, src_mask: &impl MatTraitConst, dst_image: &impl MatTraitConst, dst_depth: &impl MatTraitConst, dst_mask: &impl MatTraitConst, rt: &mut impl ToOutputArray, init_rt: &impl MatTraitConst, ) -> Result<bool>

Method to compute a transformation from the source frame to the destination one. Some odometry algorithms do not used some data of frames (eg. ICP does not use images). In such case corresponding arguments can be set as empty Mat. The method returns true if all internal computations were possible (e.g. there were enough correspondences, system of equations has a solution, etc) and resulting transformation satisfies some test if it’s provided by the Odometry inheritor implementation (e.g. thresholds for maximum translation and rotation). Read more
Source§

fn compute_def( &self, src_image: &impl MatTraitConst, src_depth: &impl MatTraitConst, src_mask: &impl MatTraitConst, dst_image: &impl MatTraitConst, dst_depth: &impl MatTraitConst, dst_mask: &impl MatTraitConst, rt: &mut impl ToOutputArray, ) -> Result<bool>

Method to compute a transformation from the source frame to the destination one. Some odometry algorithms do not used some data of frames (eg. ICP does not use images). In such case corresponding arguments can be set as empty Mat. The method returns true if all internal computations were possible (e.g. there were enough correspondences, system of equations has a solution, etc) and resulting transformation satisfies some test if it’s provided by the Odometry inheritor implementation (e.g. thresholds for maximum translation and rotation). Read more
Source§

fn compute2( &self, src_frame: &mut Ptr<OdometryFrame>, dst_frame: &mut Ptr<OdometryFrame>, rt: &mut impl ToOutputArray, init_rt: &impl MatTraitConst, ) -> Result<bool>

One more method to compute a transformation from the source frame to the destination one. It is designed to save on computing the frame data (image pyramids, normals, etc.). Read more
Source§

fn compute2_def( &self, src_frame: &mut Ptr<OdometryFrame>, dst_frame: &mut Ptr<OdometryFrame>, rt: &mut impl ToOutputArray, ) -> Result<bool>

One more method to compute a transformation from the source frame to the destination one. It is designed to save on computing the frame data (image pyramids, normals, etc.). Read more
Source§

fn prepare_frame_cache( &self, frame: &mut Ptr<OdometryFrame>, cache_type: i32, ) -> Result<Size>

Prepare a cache for the frame. The function checks the precomputed/passed data (throws the error if this data does not satisfy) and computes all remaining cache data needed for the frame. Returned size is a resolution of the prepared frame. Read more
Source§

fn get_camera_matrix(&self) -> Result<Mat>

See also Read more
Source§

fn get_transform_type(&self) -> Result<i32>

See also Read more
Source§

impl OdometryTraitConst for BoxedRefMut<'_, RgbdOdometry>

Source§

fn as_raw_Odometry(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn compute( &self, src_image: &impl MatTraitConst, src_depth: &impl MatTraitConst, src_mask: &impl MatTraitConst, dst_image: &impl MatTraitConst, dst_depth: &impl MatTraitConst, dst_mask: &impl MatTraitConst, rt: &mut impl ToOutputArray, init_rt: &impl MatTraitConst, ) -> Result<bool>

Method to compute a transformation from the source frame to the destination one. Some odometry algorithms do not used some data of frames (eg. ICP does not use images). In such case corresponding arguments can be set as empty Mat. The method returns true if all internal computations were possible (e.g. there were enough correspondences, system of equations has a solution, etc) and resulting transformation satisfies some test if it’s provided by the Odometry inheritor implementation (e.g. thresholds for maximum translation and rotation). Read more
Source§

fn compute_def( &self, src_image: &impl MatTraitConst, src_depth: &impl MatTraitConst, src_mask: &impl MatTraitConst, dst_image: &impl MatTraitConst, dst_depth: &impl MatTraitConst, dst_mask: &impl MatTraitConst, rt: &mut impl ToOutputArray, ) -> Result<bool>

Method to compute a transformation from the source frame to the destination one. Some odometry algorithms do not used some data of frames (eg. ICP does not use images). In such case corresponding arguments can be set as empty Mat. The method returns true if all internal computations were possible (e.g. there were enough correspondences, system of equations has a solution, etc) and resulting transformation satisfies some test if it’s provided by the Odometry inheritor implementation (e.g. thresholds for maximum translation and rotation). Read more
Source§

fn compute2( &self, src_frame: &mut Ptr<OdometryFrame>, dst_frame: &mut Ptr<OdometryFrame>, rt: &mut impl ToOutputArray, init_rt: &impl MatTraitConst, ) -> Result<bool>

One more method to compute a transformation from the source frame to the destination one. It is designed to save on computing the frame data (image pyramids, normals, etc.). Read more
Source§

fn compute2_def( &self, src_frame: &mut Ptr<OdometryFrame>, dst_frame: &mut Ptr<OdometryFrame>, rt: &mut impl ToOutputArray, ) -> Result<bool>

One more method to compute a transformation from the source frame to the destination one. It is designed to save on computing the frame data (image pyramids, normals, etc.). Read more
Source§

fn prepare_frame_cache( &self, frame: &mut Ptr<OdometryFrame>, cache_type: i32, ) -> Result<Size>

Prepare a cache for the frame. The function checks the precomputed/passed data (throws the error if this data does not satisfy) and computes all remaining cache data needed for the frame. Returned size is a resolution of the prepared frame. Read more
Source§

fn get_camera_matrix(&self) -> Result<Mat>

See also Read more
Source§

fn get_transform_type(&self) -> Result<i32>

See also Read more
Source§

impl OnePassStabilizerTrait for BoxedRefMut<'_, OnePassStabilizer>

Source§

fn as_raw_mut_OnePassStabilizer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_motion_filter(&mut self, val: Ptr<MotionFilterBase>) -> Result<()>

Source§

fn reset(&mut self) -> Result<()>

Source§

fn next_frame(&mut self) -> Result<Mat>

Source§

impl OnePassStabilizerTraitConst for BoxedRefMut<'_, OnePassStabilizer>

Source§

fn as_raw_OnePassStabilizer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn motion_filter(&self) -> Result<Ptr<MotionFilterBase>>

Source§

impl OpenCLExecutionContextTrait for BoxedRefMut<'_, OpenCLExecutionContext>

Source§

fn as_raw_mut_OpenCLExecutionContext( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set(&mut self, unnamed: &impl OpenCLExecutionContextTraitConst)

Source§

fn set_1(&mut self, unnamed: OpenCLExecutionContext)

Source§

fn set_use_opencl(&mut self, flag: bool) -> Result<()>

Source§

fn release(&mut self) -> Result<()>

Source§

impl OpenCLExecutionContextTraitConst for BoxedRefMut<'_, OpenCLExecutionContext>

Source§

fn as_raw_OpenCLExecutionContext( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_context(&self) -> Result<Context>

Get associated ocl::Context
Source§

fn get_device(&self) -> Result<Device>

Get the single default associated ocl::Device
Source§

fn get_queue(&self) -> Result<Queue>

Get the single ocl::Queue that is associated with the ocl::Context and the single default ocl::Device
Source§

fn use_opencl(&self) -> Result<bool>

Source§

fn bind(&self) -> Result<()>

Bind this OpenCL execution context to current thread. Read more
Source§

fn clone_with_new_queue( &self, q: &impl QueueTraitConst, ) -> Result<OpenCLExecutionContext>

Creates new execution context with same OpenCV context and device Read more
Source§

fn clone_with_new_queue_1(&self) -> Result<OpenCLExecutionContext>

Creates new execution context with same OpenCV context and device Read more
Source§

fn empty(&self) -> Result<bool>

Source§

impl OpticalFlowPCAFlowTrait for BoxedRefMut<'_, OpticalFlowPCAFlow>

Source§

fn as_raw_mut_OpticalFlowPCAFlow( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn calc( &mut self, i0: &impl ToInputArray, i1: &impl ToInputArray, flow: &mut impl ToInputOutputArray, ) -> Result<()>

Source§

fn collect_garbage(&mut self) -> Result<()>

Source§

impl OpticalFlowPCAFlowTraitConst for BoxedRefMut<'_, OpticalFlowPCAFlow>

Source§

fn as_raw_OpticalFlowPCAFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl OriginalClassNameTrait for BoxedRefMut<'_, OriginalClassName>

Source§

fn as_raw_mut_OriginalClassName( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl OriginalClassNameTraitConst for BoxedRefMut<'_, OriginalClassName>

Source§

fn as_raw_OriginalClassName( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_int_param(&self) -> Result<i32>

Source§

fn get_float_param(&self) -> Result<f32>

Source§

impl PCAPriorTrait for BoxedRefMut<'_, PCAPrior>

Source§

fn as_raw_mut_PCAPrior( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl PCAPriorTraitConst for BoxedRefMut<'_, PCAPrior>

Source§

fn as_raw_PCAPrior(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_padding(&self) -> Result<i32>

Source§

fn get_basis_size(&self) -> Result<i32>

Source§

fn fill_constraints( &self, a1: &mut f32, a2: &mut f32, b1: &mut f32, b2: &mut f32, ) -> Result<()>

Source§

impl PCATrait for BoxedRefMut<'_, PCA>

Source§

fn as_raw_mut_PCA( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_eigenvectors(&mut self, val: Mat)

eigenvectors of the covariation matrix
Source§

fn set_eigenvalues(&mut self, val: Mat)

eigenvalues of the covariation matrix
Source§

fn set_mean(&mut self, val: Mat)

mean value subtracted before the projection and added after the back projection
Source§

fn apply( &mut self, data: &impl ToInputArray, mean: &impl ToInputArray, flags: i32, max_components: i32, ) -> Result<PCA>

performs %PCA Read more
Source§

fn apply_def( &mut self, data: &impl ToInputArray, mean: &impl ToInputArray, flags: i32, ) -> Result<PCA>

performs %PCA Read more
Source§

fn apply_1( &mut self, data: &impl ToInputArray, mean: &impl ToInputArray, flags: i32, retained_variance: f64, ) -> Result<PCA>

performs %PCA Read more
Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

load PCA objects Read more
Source§

impl PCATraitConst for BoxedRefMut<'_, PCA>

Source§

fn as_raw_PCA(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn eigenvectors(&self) -> Mat

eigenvectors of the covariation matrix
Source§

fn eigenvalues(&self) -> Mat

eigenvalues of the covariation matrix
Source§

fn mean(&self) -> Mat

mean value subtracted before the projection and added after the back projection
Source§

fn project(&self, vec: &impl ToInputArray) -> Result<Mat>

Projects vector(s) to the principal component subspace. Read more
Source§

fn project_to( &self, vec: &impl ToInputArray, result: &mut impl ToOutputArray, ) -> Result<()>

Projects vector(s) to the principal component subspace. Read more
Source§

fn back_project(&self, vec: &impl ToInputArray) -> Result<Mat>

Reconstructs vectors from their PC projections. Read more
Source§

fn back_project_to( &self, vec: &impl ToInputArray, result: &mut impl ToOutputArray, ) -> Result<()>

Reconstructs vectors from their PC projections. Read more
Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

write PCA objects Read more
Source§

impl PCTSignaturesSQFDTrait for BoxedRefMut<'_, PCTSignaturesSQFD>

Source§

fn as_raw_mut_PCTSignaturesSQFD( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl PCTSignaturesSQFDTraitConst for BoxedRefMut<'_, PCTSignaturesSQFD>

Source§

fn as_raw_PCTSignaturesSQFD( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn compute_quadratic_form_distance( &self, _signature0: &impl ToInputArray, _signature1: &impl ToInputArray, ) -> Result<f32>

Computes Signature Quadratic Form Distance of two signatures. Read more
Source§

fn compute_quadratic_form_distances( &self, source_signature: &impl MatTraitConst, image_signatures: &Vector<Mat>, distances: &mut Vector<f32>, ) -> Result<()>

Computes Signature Quadratic Form Distance between the reference signature and each of the other image signatures. Read more
Source§

impl PCTSignaturesTrait for BoxedRefMut<'_, PCTSignatures>

Source§

fn as_raw_mut_PCTSignatures( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_grayscale_bits(&mut self, grayscale_bits: i32) -> Result<()>

Color resolution of the greyscale bitmap represented in allocated bits (i.e., value 4 means that 16 shades of grey are used). The greyscale bitmap is used for computing contrast and entropy values.
Source§

fn set_window_radius(&mut self, radius: i32) -> Result<()>

Size of the texture sampling window used to compute contrast and entropy (center of the window is always in the pixel selected by x,y coordinates of the corresponding feature sample).
Source§

fn set_weight_x(&mut self, weight: f32) -> Result<()>

Weights (multiplicative constants) that linearly stretch individual axes of the feature space (x,y = position; L,a,b = color in CIE Lab space; c = contrast. e = entropy)
Source§

fn set_weight_y(&mut self, weight: f32) -> Result<()>

Weights (multiplicative constants) that linearly stretch individual axes of the feature space (x,y = position; L,a,b = color in CIE Lab space; c = contrast. e = entropy)
Source§

fn set_weight_l(&mut self, weight: f32) -> Result<()>

Weights (multiplicative constants) that linearly stretch individual axes of the feature space (x,y = position; L,a,b = color in CIE Lab space; c = contrast. e = entropy)
Source§

fn set_weight_a(&mut self, weight: f32) -> Result<()>

Weights (multiplicative constants) that linearly stretch individual axes of the feature space (x,y = position; L,a,b = color in CIE Lab space; c = contrast. e = entropy)
Source§

fn set_weight_b(&mut self, weight: f32) -> Result<()>

Weights (multiplicative constants) that linearly stretch individual axes of the feature space (x,y = position; L,a,b = color in CIE Lab space; c = contrast. e = entropy)
Source§

fn set_weight_contrast(&mut self, weight: f32) -> Result<()>

Weights (multiplicative constants) that linearly stretch individual axes of the feature space (x,y = position; L,a,b = color in CIE Lab space; c = contrast. e = entropy)
Source§

fn set_weight_entropy(&mut self, weight: f32) -> Result<()>

Weights (multiplicative constants) that linearly stretch individual axes of the feature space (x,y = position; L,a,b = color in CIE Lab space; c = contrast. e = entropy)
Source§

fn set_weight(&mut self, idx: i32, value: f32) -> Result<()>

Weights (multiplicative constants) that linearly stretch individual axes of the feature space. Read more
Source§

fn set_weights(&mut self, weights: &Vector<f32>) -> Result<()>

Weights (multiplicative constants) that linearly stretch individual axes of the feature space. Read more
Source§

fn set_translation(&mut self, idx: i32, value: f32) -> Result<()>

Translations of the individual axes of the feature space. Read more
Source§

fn set_translations(&mut self, translations: &Vector<f32>) -> Result<()>

Translations of the individual axes of the feature space. Read more
Source§

fn set_sampling_points( &mut self, sampling_points: Vector<Point2f>, ) -> Result<()>

Sets sampling points used to sample the input image. Read more
Source§

fn set_init_seed_indexes( &mut self, init_seed_indexes: Vector<i32>, ) -> Result<()>

Initial seed indexes for the k-means algorithm.
Source§

fn set_iteration_count(&mut self, iteration_count: i32) -> Result<()>

Number of iterations of the k-means clustering. We use fixed number of iterations, since the modified clustering is pruning clusters (not iteratively refining k clusters).
Source§

fn set_max_clusters_count(&mut self, max_clusters_count: i32) -> Result<()>

Maximal number of generated clusters. If the number is exceeded, the clusters are sorted by their weights and the smallest clusters are cropped.
Source§

fn set_cluster_min_size(&mut self, cluster_min_size: i32) -> Result<()>

This parameter multiplied by the index of iteration gives lower limit for cluster size. Clusters containing fewer points than specified by the limit have their centroid dismissed and points are reassigned.
Source§

fn set_joining_distance(&mut self, joining_distance: f32) -> Result<()>

Threshold euclidean distance between two centroids. If two cluster centers are closer than this distance, one of the centroid is dismissed and points are reassigned.
Source§

fn set_drop_threshold(&mut self, drop_threshold: f32) -> Result<()>

Remove centroids in k-means whose weight is lesser or equal to given threshold.
Source§

fn set_distance_function(&mut self, distance_function: i32) -> Result<()>

Distance function selector used for measuring distance between two points in k-means. Available: L0_25, L0_5, L1, L2, L2SQUARED, L5, L_INFINITY.
Source§

impl PCTSignaturesTraitConst for BoxedRefMut<'_, PCTSignatures>

Source§

fn as_raw_PCTSignatures( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn compute_signature( &self, image: &impl ToInputArray, signature: &mut impl ToOutputArray, ) -> Result<()>

Computes signature of given image. Read more
Source§

fn compute_signatures( &self, images: &Vector<Mat>, signatures: &mut Vector<Mat>, ) -> Result<()>

Computes signatures for multiple images in parallel. Read more
Source§

fn get_sample_count(&self) -> Result<i32>

Number of initial samples taken from the image.
Source§

fn get_grayscale_bits(&self) -> Result<i32>

Color resolution of the greyscale bitmap represented in allocated bits (i.e., value 4 means that 16 shades of grey are used). The greyscale bitmap is used for computing contrast and entropy values.
Source§

fn get_window_radius(&self) -> Result<i32>

Size of the texture sampling window used to compute contrast and entropy (center of the window is always in the pixel selected by x,y coordinates of the corresponding feature sample).
Source§

fn get_weight_x(&self) -> Result<f32>

Weights (multiplicative constants) that linearly stretch individual axes of the feature space (x,y = position; L,a,b = color in CIE Lab space; c = contrast. e = entropy)
Source§

fn get_weight_y(&self) -> Result<f32>

Weights (multiplicative constants) that linearly stretch individual axes of the feature space (x,y = position; L,a,b = color in CIE Lab space; c = contrast. e = entropy)
Source§

fn get_weight_l(&self) -> Result<f32>

Weights (multiplicative constants) that linearly stretch individual axes of the feature space (x,y = position; L,a,b = color in CIE Lab space; c = contrast. e = entropy)
Source§

fn get_weight_a(&self) -> Result<f32>

Weights (multiplicative constants) that linearly stretch individual axes of the feature space (x,y = position; L,a,b = color in CIE Lab space; c = contrast. e = entropy)
Source§

fn get_weight_b(&self) -> Result<f32>

Weights (multiplicative constants) that linearly stretch individual axes of the feature space (x,y = position; L,a,b = color in CIE Lab space; c = contrast. e = entropy)
Source§

fn get_weight_contrast(&self) -> Result<f32>

Weights (multiplicative constants) that linearly stretch individual axes of the feature space (x,y = position; L,a,b = color in CIE Lab space; c = contrast. e = entropy)
Source§

fn get_weight_entropy(&self) -> Result<f32>

Weights (multiplicative constants) that linearly stretch individual axes of the feature space (x,y = position; L,a,b = color in CIE Lab space; c = contrast. e = entropy)
Source§

fn get_sampling_points(&self) -> Result<Vector<Point2f>>

Initial samples taken from the image. These sampled features become the input for clustering.
Source§

fn get_init_seed_indexes(&self) -> Result<Vector<i32>>

** clusterizer *** Read more
Source§

fn get_init_seed_count(&self) -> Result<i32>

Number of initial seeds (initial number of clusters) for the k-means algorithm.
Source§

fn get_iteration_count(&self) -> Result<i32>

Number of iterations of the k-means clustering. We use fixed number of iterations, since the modified clustering is pruning clusters (not iteratively refining k clusters).
Source§

fn get_max_clusters_count(&self) -> Result<i32>

Maximal number of generated clusters. If the number is exceeded, the clusters are sorted by their weights and the smallest clusters are cropped.
Source§

fn get_cluster_min_size(&self) -> Result<i32>

This parameter multiplied by the index of iteration gives lower limit for cluster size. Clusters containing fewer points than specified by the limit have their centroid dismissed and points are reassigned.
Source§

fn get_joining_distance(&self) -> Result<f32>

Threshold euclidean distance between two centroids. If two cluster centers are closer than this distance, one of the centroid is dismissed and points are reassigned.
Source§

fn get_drop_threshold(&self) -> Result<f32>

Remove centroids in k-means whose weight is lesser or equal to given threshold.
Source§

fn get_distance_function(&self) -> Result<i32>

Distance function selector used for measuring distance between two points in k-means.
Source§

impl PHashTrait for BoxedRefMut<'_, PHash>

Source§

fn as_raw_mut_PHash( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl PHashTraitConst for BoxedRefMut<'_, PHash>

Source§

fn as_raw_PHash(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl PPF3DDetectorTrait for BoxedRefMut<'_, PPF3DDetector>

Source§

fn as_raw_mut_PPF3DDetector( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_search_params( &mut self, position_threshold: f64, rotation_threshold: f64, use_weighted_clustering: bool, ) -> Result<()>

Set the parameters for the search Read more
Source§

fn set_search_params_def(&mut self) -> Result<()>

Set the parameters for the search Read more
Source§

fn train_model(&mut self, model: &impl MatTraitConst) -> Result<()>

\brief Trains a new model. Read more
Source§

fn match_( &mut self, scene: &impl MatTraitConst, results: &mut Vector<Pose3DPtr>, relative_scene_sample_step: f64, relative_scene_distance: f64, ) -> Result<()>

\brief Matches a trained model across a provided scene. Read more
Source§

fn match__def( &mut self, scene: &impl MatTraitConst, results: &mut Vector<Pose3DPtr>, ) -> Result<()>

\brief Matches a trained model across a provided scene. Read more
Source§

impl PPF3DDetectorTraitConst for BoxedRefMut<'_, PPF3DDetector>

Source§

fn as_raw_PPF3DDetector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl PaddingLayerTrait for BoxedRefMut<'_, PaddingLayer>

Source§

fn as_raw_mut_PaddingLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl PaddingLayerTraitConst for BoxedRefMut<'_, PaddingLayer>

Source§

fn as_raw_PaddingLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl PaniniPortraitWarperTrait for BoxedRefMut<'_, PaniniPortraitWarper>

Source§

fn as_raw_mut_PaniniPortraitWarper( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl PaniniPortraitWarperTraitConst for BoxedRefMut<'_, PaniniPortraitWarper>

Source§

fn as_raw_PaniniPortraitWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn create(&self, scale: f32) -> Result<Ptr<Detail_RotationWarper>>

Source§

impl PaniniWarperTrait for BoxedRefMut<'_, PaniniWarper>

Source§

fn as_raw_mut_PaniniWarper( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl PaniniWarperTraitConst for BoxedRefMut<'_, PaniniWarper>

Source§

fn as_raw_PaniniWarper(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn create(&self, scale: f32) -> Result<Ptr<Detail_RotationWarper>>

Source§

impl ParallelLoopBodyTrait for BoxedRefMut<'_, ParallelLoopBody>

Source§

fn as_raw_mut_ParallelLoopBody( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ParallelLoopBodyTraitConst for BoxedRefMut<'_, ParallelLoopBody>

Source§

fn as_raw_ParallelLoopBody( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn apply(&self, range: &impl RangeTraitConst) -> Result<()>

Source§

impl ParamGridTrait for BoxedRefMut<'_, ParamGrid>

Source§

fn as_raw_mut_ParamGrid( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_min_val(&mut self, val: f64)

Minimum value of the statmodel parameter. Default value is 0.
Source§

fn set_max_val(&mut self, val: f64)

Maximum value of the statmodel parameter. Default value is 0.
Source§

fn set_log_step(&mut self, val: f64)

Logarithmic step for iterating the statmodel parameter. Read more
Source§

impl ParamGridTraitConst for BoxedRefMut<'_, ParamGrid>

Source§

fn as_raw_ParamGrid(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn min_val(&self) -> f64

Minimum value of the statmodel parameter. Default value is 0.
Source§

fn max_val(&self) -> f64

Maximum value of the statmodel parameter. Default value is 0.
Source§

fn log_step(&self) -> f64

Logarithmic step for iterating the statmodel parameter. Read more
Source§

impl ParamsTrait for BoxedRefMut<'_, Params>

Source§

fn as_raw_mut_Params( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_frame_size(&mut self, val: Size)

frame size in pixels
Source§

fn set_intr(&mut self, val: Matx33f)

camera intrinsics
Source§

fn set_rgb_intr(&mut self, val: Matx33f)

rgb camera intrinsics
Source§

fn set_depth_factor(&mut self, val: f32)

pre-scale per 1 meter for input values Typical values are: * 5000 per 1 meter for the 16-bit PNG files of TUM database * 1000 per 1 meter for Kinect 2 device * 1 per 1 meter for the 32-bit float images in the ROS bag files
Source§

fn set_bilateral_sigma_depth(&mut self, val: f32)

Depth sigma in meters for bilateral smooth
Source§

fn set_bilateral_sigma_spatial(&mut self, val: f32)

Spatial sigma in pixels for bilateral smooth
Source§

fn set_bilateral_kernel_size(&mut self, val: i32)

Kernel size in pixels for bilateral smooth
Source§

fn set_pyramid_levels(&mut self, val: i32)

Number of pyramid levels for ICP
Source§

fn set_tsdf_min_camera_movement(&mut self, val: f32)

Minimal camera movement in meters Integrate new depth frame only if camera movement exceeds this value.
Source§

fn set_light_pose(&mut self, val: Vec3f)

light pose for rendering in meters
Source§

fn set_icp_dist_thresh(&mut self, val: f32)

distance theshold for ICP in meters
Source§

fn set_icp_angle_thresh(&mut self, val: f32)

angle threshold for ICP in radians
Source§

fn set_icp_iterations(&mut self, val: Vector<i32>)

number of ICP iterations for each pyramid level
Source§

fn set_truncate_threshold(&mut self, val: f32)

Threshold for depth truncation in meters All depth values beyond this threshold will be set to zero
Source§

fn set_volume_params(&mut self, val: Kinfu_VolumeParams)

Volume parameters
Source§

impl ParamsTraitConst for BoxedRefMut<'_, Params>

Source§

fn as_raw_Params(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn frame_size(&self) -> Size

frame size in pixels
Source§

fn intr(&self) -> Matx33f

camera intrinsics
Source§

fn rgb_intr(&self) -> Matx33f

rgb camera intrinsics
Source§

fn depth_factor(&self) -> f32

pre-scale per 1 meter for input values Typical values are: * 5000 per 1 meter for the 16-bit PNG files of TUM database * 1000 per 1 meter for Kinect 2 device * 1 per 1 meter for the 32-bit float images in the ROS bag files
Source§

fn bilateral_sigma_depth(&self) -> f32

Depth sigma in meters for bilateral smooth
Source§

fn bilateral_sigma_spatial(&self) -> f32

Spatial sigma in pixels for bilateral smooth
Source§

fn bilateral_kernel_size(&self) -> i32

Kernel size in pixels for bilateral smooth
Source§

fn pyramid_levels(&self) -> i32

Number of pyramid levels for ICP
Source§

fn tsdf_min_camera_movement(&self) -> f32

Minimal camera movement in meters Integrate new depth frame only if camera movement exceeds this value.
Source§

fn light_pose(&self) -> Vec3f

light pose for rendering in meters
Source§

fn icp_dist_thresh(&self) -> f32

distance theshold for ICP in meters
Source§

fn icp_angle_thresh(&self) -> f32

angle threshold for ICP in radians
Source§

fn icp_iterations(&self) -> Vector<i32>

number of ICP iterations for each pyramid level
Source§

fn truncate_threshold(&self) -> f32

Threshold for depth truncation in meters All depth values beyond this threshold will be set to zero
Source§

fn volume_params(&self) -> Kinfu_VolumeParams

Volume parameters
Source§

impl PermuteLayerTrait for BoxedRefMut<'_, PermuteLayer>

Source§

fn as_raw_mut_PermuteLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl PermuteLayerTraitConst for BoxedRefMut<'_, PermuteLayer>

Source§

fn as_raw_PermuteLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl PhaseUnwrappingTrait for BoxedRefMut<'_, HistogramPhaseUnwrapping>

Source§

fn as_raw_mut_PhaseUnwrapping( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn unwrap_phase_map( &mut self, wrapped_phase_map: &impl ToInputArray, unwrapped_phase_map: &mut impl ToOutputArray, shadow_mask: &impl ToInputArray, ) -> Result<()>

Unwraps a 2D phase map. Read more
Source§

fn unwrap_phase_map_def( &mut self, wrapped_phase_map: &impl ToInputArray, unwrapped_phase_map: &mut impl ToOutputArray, ) -> Result<()>

Unwraps a 2D phase map. Read more
Source§

impl PhaseUnwrappingTrait for BoxedRefMut<'_, PhaseUnwrapping>

Source§

fn as_raw_mut_PhaseUnwrapping( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn unwrap_phase_map( &mut self, wrapped_phase_map: &impl ToInputArray, unwrapped_phase_map: &mut impl ToOutputArray, shadow_mask: &impl ToInputArray, ) -> Result<()>

Unwraps a 2D phase map. Read more
Source§

fn unwrap_phase_map_def( &mut self, wrapped_phase_map: &impl ToInputArray, unwrapped_phase_map: &mut impl ToOutputArray, ) -> Result<()>

Unwraps a 2D phase map. Read more
Source§

impl PhaseUnwrappingTraitConst for BoxedRefMut<'_, HistogramPhaseUnwrapping>

Source§

fn as_raw_PhaseUnwrapping( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl PhaseUnwrappingTraitConst for BoxedRefMut<'_, PhaseUnwrapping>

Source§

fn as_raw_PhaseUnwrapping( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl PlaneWarperGpuTrait for BoxedRefMut<'_, PlaneWarperGpu>

Source§

fn as_raw_mut_PlaneWarperGpu( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl PlaneWarperGpuTraitConst for BoxedRefMut<'_, PlaneWarperGpu>

Source§

fn as_raw_PlaneWarperGpu( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn create(&self, scale: f32) -> Result<Ptr<Detail_RotationWarper>>

Source§

impl PlaneWarperTrait for BoxedRefMut<'_, PlaneWarper>

Source§

fn as_raw_mut_PlaneWarper( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl PlaneWarperTraitConst for BoxedRefMut<'_, PlaneWarper>

Source§

fn as_raw_PlaneWarper(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn create(&self, scale: f32) -> Result<Ptr<Detail_RotationWarper>>

Source§

impl PlatformInfoTrait for BoxedRefMut<'_, PlatformInfo>

Source§

fn as_raw_mut_PlatformInfo( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set(&mut self, i: &impl PlatformInfoTraitConst) -> Result<()>

Source§

fn set_1(&mut self, i: PlatformInfo)

Source§

impl PlatformInfoTraitConst for BoxedRefMut<'_, PlatformInfo>

Source§

fn as_raw_PlatformInfo(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn name(&self) -> Result<String>

Source§

fn vendor(&self) -> Result<String>

Source§

fn version(&self) -> Result<String>

See CL_PLATFORM_VERSION
Source§

fn version_major(&self) -> Result<i32>

Source§

fn version_minor(&self) -> Result<i32>

Source§

fn device_number(&self) -> Result<i32>

Source§

fn get_device(&self, device: &mut impl DeviceTrait, d: i32) -> Result<()>

Source§

fn empty(&self) -> Result<bool>

Source§

impl PlatformTrait for BoxedRefMut<'_, Platform>

Source§

fn as_raw_mut_Platform( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set(&mut self, p: &impl PlatformTraitConst) -> Result<()>

Source§

fn set_1(&mut self, p: Platform)

Source§

impl PlatformTraitConst for BoxedRefMut<'_, Platform>

Source§

fn as_raw_Platform(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn ptr(&self) -> Result<*mut c_void>

Source§

fn empty(&self) -> Result<bool>

Source§

impl Plot2dTrait for BoxedRefMut<'_, Plot2d>

Source§

fn as_raw_mut_Plot2d( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_min_x(&mut self, _plot_min_x: f64) -> Result<()>

Source§

fn set_min_y(&mut self, _plot_min_y: f64) -> Result<()>

Source§

fn set_max_x(&mut self, _plot_max_x: f64) -> Result<()>

Source§

fn set_max_y(&mut self, _plot_max_y: f64) -> Result<()>

Source§

fn set_plot_line_width(&mut self, _plot_line_width: i32) -> Result<()>

Source§

fn set_need_plot_line(&mut self, _need_plot_line: bool) -> Result<()>

Switches data visualization mode Read more
Source§

fn set_plot_line_color(&mut self, _plot_line_color: Scalar) -> Result<()>

Source§

fn set_plot_background_color( &mut self, _plot_background_color: Scalar, ) -> Result<()>

Source§

fn set_plot_axis_color(&mut self, _plot_axis_color: Scalar) -> Result<()>

Source§

fn set_plot_grid_color(&mut self, _plot_grid_color: Scalar) -> Result<()>

Source§

fn set_plot_text_color(&mut self, _plot_text_color: Scalar) -> Result<()>

Source§

fn set_plot_size( &mut self, _plot_size_width: i32, _plot_size_height: i32, ) -> Result<()>

Source§

fn set_show_grid(&mut self, need_show_grid: bool) -> Result<()>

Source§

fn set_show_text(&mut self, need_show_text: bool) -> Result<()>

Source§

fn set_grid_lines_number(&mut self, grid_lines_number: i32) -> Result<()>

Source§

fn set_invert_orientation(&mut self, _invert_orientation: bool) -> Result<()>

Source§

fn set_point_idx_to_print(&mut self, point_idx: i32) -> Result<()>

Sets the index of a point which coordinates will be printed on the top left corner of the plot (if ShowText flag is true). Read more
Source§

fn render(&mut self, _plot_result: &mut impl ToOutputArray) -> Result<()>

Source§

impl Plot2dTraitConst for BoxedRefMut<'_, Plot2d>

Source§

fn as_raw_Plot2d(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl PolyTrait for BoxedRefMut<'_, Poly>

Source§

fn as_raw_mut_Poly( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_points(&mut self, val: Vector<Point>)

Points to connect
Source§

fn set_color(&mut self, val: Scalar)

The line color
Source§

fn set_thick(&mut self, val: i32)

The thickness of line
Source§

fn set_lt(&mut self, val: i32)

The Type of the line. See #LineTypes
Source§

fn set_shift(&mut self, val: i32)

The number of fractional bits in the point coordinate
Source§

impl PolyTraitConst for BoxedRefMut<'_, Poly>

Source§

fn as_raw_Poly(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn points(&self) -> Vector<Point>

Points to connect
Source§

fn color(&self) -> Scalar

The line color
Source§

fn thick(&self) -> i32

The thickness of line
Source§

fn lt(&self) -> i32

The Type of the line. See #LineTypes
Source§

fn shift(&self) -> i32

The number of fractional bits in the point coordinate
Source§

impl PoolingLayerInt8Trait for BoxedRefMut<'_, PoolingLayerInt8>

Source§

fn as_raw_mut_PoolingLayerInt8( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_input_zp(&mut self, val: i32)

Source§

fn set_output_zp(&mut self, val: i32)

Source§

fn set_input_sc(&mut self, val: f32)

Source§

fn set_output_sc(&mut self, val: f32)

Source§

impl PoolingLayerInt8TraitConst for BoxedRefMut<'_, PoolingLayerInt8>

Source§

fn as_raw_PoolingLayerInt8( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn input_zp(&self) -> i32

Source§

fn output_zp(&self) -> i32

Source§

fn input_sc(&self) -> f32

Source§

fn output_sc(&self) -> f32

Source§

impl PoolingLayerTrait for BoxedRefMut<'_, PoolingLayer>

Source§

fn as_raw_mut_PoolingLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_type(&mut self, val: i32)

Source§

fn set_kernel_size(&mut self, val: Vector<size_t>)

Source§

fn set_strides(&mut self, val: Vector<size_t>)

Source§

fn set_pads_begin(&mut self, val: Vector<size_t>)

Source§

fn set_pads_end(&mut self, val: Vector<size_t>)

Source§

fn set_global_pooling(&mut self, val: bool)

Flag is true if at least one of the axes is global pooled.
Source§

fn set_is_global_pooling(&mut self, val: Vector<bool>)

Source§

fn set_compute_max_idx(&mut self, val: bool)

Source§

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

Source§

fn set_ceil_mode(&mut self, val: bool)

Source§

fn set_ave_pool_padded_area(&mut self, val: bool)

Source§

fn set_pooled_size(&mut self, val: Size)

Source§

fn set_spatial_scale(&mut self, val: f32)

Source§

fn set_ps_roi_out_channels(&mut self, val: i32)

Source§

impl PoolingLayerTrait for BoxedRefMut<'_, PoolingLayerInt8>

Source§

fn as_raw_mut_PoolingLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_type(&mut self, val: i32)

Source§

fn set_kernel_size(&mut self, val: Vector<size_t>)

Source§

fn set_strides(&mut self, val: Vector<size_t>)

Source§

fn set_pads_begin(&mut self, val: Vector<size_t>)

Source§

fn set_pads_end(&mut self, val: Vector<size_t>)

Source§

fn set_global_pooling(&mut self, val: bool)

Flag is true if at least one of the axes is global pooled.
Source§

fn set_is_global_pooling(&mut self, val: Vector<bool>)

Source§

fn set_compute_max_idx(&mut self, val: bool)

Source§

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

Source§

fn set_ceil_mode(&mut self, val: bool)

Source§

fn set_ave_pool_padded_area(&mut self, val: bool)

Source§

fn set_pooled_size(&mut self, val: Size)

Source§

fn set_spatial_scale(&mut self, val: f32)

Source§

fn set_ps_roi_out_channels(&mut self, val: i32)

Source§

impl PoolingLayerTraitConst for BoxedRefMut<'_, PoolingLayer>

Source§

fn as_raw_PoolingLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn typ(&self) -> i32

Source§

fn kernel_size(&self) -> Vector<size_t>

Source§

fn strides(&self) -> Vector<size_t>

Source§

fn pads_begin(&self) -> Vector<size_t>

Source§

fn pads_end(&self) -> Vector<size_t>

Source§

fn global_pooling(&self) -> bool

Flag is true if at least one of the axes is global pooled.
Source§

fn is_global_pooling(&self) -> Vector<bool>

Source§

fn compute_max_idx(&self) -> bool

Source§

fn pad_mode(&self) -> String

Source§

fn ceil_mode(&self) -> bool

Source§

fn ave_pool_padded_area(&self) -> bool

Source§

fn pooled_size(&self) -> Size

Source§

fn spatial_scale(&self) -> f32

Source§

fn ps_roi_out_channels(&self) -> i32

Source§

impl PoolingLayerTraitConst for BoxedRefMut<'_, PoolingLayerInt8>

Source§

fn as_raw_PoolingLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn typ(&self) -> i32

Source§

fn kernel_size(&self) -> Vector<size_t>

Source§

fn strides(&self) -> Vector<size_t>

Source§

fn pads_begin(&self) -> Vector<size_t>

Source§

fn pads_end(&self) -> Vector<size_t>

Source§

fn global_pooling(&self) -> bool

Flag is true if at least one of the axes is global pooled.
Source§

fn is_global_pooling(&self) -> Vector<bool>

Source§

fn compute_max_idx(&self) -> bool

Source§

fn pad_mode(&self) -> String

Source§

fn ceil_mode(&self) -> bool

Source§

fn ave_pool_padded_area(&self) -> bool

Source§

fn pooled_size(&self) -> Size

Source§

fn spatial_scale(&self) -> f32

Source§

fn ps_roi_out_channels(&self) -> i32

Source§

impl Pose3DTrait for BoxedRefMut<'_, Pose3D>

Source§

fn as_raw_mut_Pose3D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_alpha(&mut self, val: f64)

Source§

fn set_residual(&mut self, val: f64)

Source§

fn set_model_index(&mut self, val: size_t)

Source§

fn set_num_votes(&mut self, val: size_t)

Source§

fn set_pose(&mut self, val: Matx44d)

Source§

fn set_angle(&mut self, val: f64)

Source§

fn set_t(&mut self, val: Vec3d)

Source§

fn set_q(&mut self, val: Vec4d)

Source§

fn update_pose(&mut self, new_pose: &mut Matx44d) -> Result<()>

\brief Updates the pose with the new one \param [in] NewPose New pose to overwrite
Source§

fn update_pose_1( &mut self, new_r: &mut Matx33d, new_t: &mut Vec3d, ) -> Result<()>

\brief Updates the pose with the new one
Source§

fn update_pose_quat(&mut self, q: &mut Vec4d, new_t: &mut Vec3d) -> Result<()>

\brief Updates the pose with the new one, but this time using quaternions to represent rotation
Source§

fn append_pose(&mut self, incremental_pose: &mut Matx44d) -> Result<()>

\brief Left multiplies the existing pose in order to update the transformation \param [in] IncrementalPose New pose to apply
Source§

fn print_pose(&mut self) -> Result<()>

Source§

fn clone(&mut self) -> Result<Pose3DPtr>

Source§

fn write_pose(&mut self, file_name: &str) -> Result<i32>

Source§

fn read_pose(&mut self, file_name: &str) -> Result<i32>

Source§

impl Pose3DTraitConst for BoxedRefMut<'_, Pose3D>

Source§

fn as_raw_Pose3D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn alpha(&self) -> f64

Source§

fn residual(&self) -> f64

Source§

fn model_index(&self) -> size_t

Source§

fn num_votes(&self) -> size_t

Source§

fn pose(&self) -> Matx44d

Source§

fn angle(&self) -> f64

Source§

fn t(&self) -> Vec3d

Source§

fn q(&self) -> Vec4d

Source§

impl PoseCluster3DTrait for BoxedRefMut<'_, PoseCluster3D>

Source§

fn as_raw_mut_PoseCluster3D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_pose_list(&mut self, val: Vector<Pose3DPtr>)

Source§

fn set_num_votes(&mut self, val: size_t)

Source§

fn set_id(&mut self, val: i32)

Source§

fn add_pose(&mut self, new_pose: Pose3DPtr) -> Result<()>

\brief Adds a new pose to the cluster. The pose should be “close” to the mean poses in order to preserve the consistency \param [in] newPose Pose to add to the cluster
Source§

fn write_pose_cluster(&mut self, file_name: &str) -> Result<i32>

Source§

fn read_pose_cluster(&mut self, file_name: &str) -> Result<i32>

Source§

impl PoseCluster3DTraitConst for BoxedRefMut<'_, PoseCluster3D>

Source§

fn as_raw_PoseCluster3D( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn pose_list(&self) -> Vector<Pose3DPtr>

Source§

fn num_votes(&self) -> size_t

Source§

fn id(&self) -> i32

Source§

impl PowerLayerTrait for BoxedRefMut<'_, PowerLayer>

Source§

fn as_raw_mut_PowerLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_power(&mut self, val: f32)

Source§

fn set_scale(&mut self, val: f32)

Source§

fn set_shift(&mut self, val: f32)

Source§

impl PowerLayerTraitConst for BoxedRefMut<'_, PowerLayer>

Source§

fn as_raw_PowerLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn power(&self) -> f32

Source§

fn scale(&self) -> f32

Source§

fn shift(&self) -> f32

Source§

impl PredictCollectorTrait for BoxedRefMut<'_, PredictCollector>

Source§

fn as_raw_mut_PredictCollector( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn init(&mut self, size: size_t) -> Result<()>

Interface method called by face recognizer before results processing Read more
Source§

fn collect(&mut self, label: i32, dist: f64) -> Result<bool>

Interface method called by face recognizer for each result Read more
Source§

impl PredictCollectorTrait for BoxedRefMut<'_, StandardCollector>

Source§

fn as_raw_mut_PredictCollector( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn init(&mut self, size: size_t) -> Result<()>

Interface method called by face recognizer before results processing Read more
Source§

fn collect(&mut self, label: i32, dist: f64) -> Result<bool>

Interface method called by face recognizer for each result Read more
Source§

impl PredictCollectorTraitConst for BoxedRefMut<'_, PredictCollector>

Source§

fn as_raw_PredictCollector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl PredictCollectorTraitConst for BoxedRefMut<'_, StandardCollector>

Source§

fn as_raw_PredictCollector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl PriorBoxLayerTrait for BoxedRefMut<'_, PriorBoxLayer>

Source§

fn as_raw_mut_PriorBoxLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl PriorBoxLayerTraitConst for BoxedRefMut<'_, PriorBoxLayer>

Source§

fn as_raw_PriorBoxLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl ProgramSourceTrait for BoxedRefMut<'_, ProgramSource>

Source§

fn as_raw_mut_ProgramSource( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set(&mut self, prog: &impl ProgramSourceTraitConst) -> Result<()>

Source§

fn set_1(&mut self, prog: ProgramSource)

Source§

impl ProgramSourceTraitConst for BoxedRefMut<'_, ProgramSource>

Source§

fn as_raw_ProgramSource( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn source(&self) -> Result<String>

Source§

fn hash(&self) -> Result<ProgramSource_hash_t>

Source§

fn empty(&self) -> Result<bool>

Source§

impl ProgramTrait for BoxedRefMut<'_, Program>

Source§

fn as_raw_mut_Program( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set(&mut self, prog: &impl ProgramTraitConst) -> Result<()>

Source§

fn set_1(&mut self, prog: Program)

Source§

fn create( &mut self, src: &impl ProgramSourceTraitConst, buildflags: &str, errmsg: &mut String, ) -> Result<bool>

Source§

fn read(&mut self, buf: &str, buildflags: &str) -> Result<bool>

Source§

impl ProgramTraitConst for BoxedRefMut<'_, Program>

Source§

fn as_raw_Program(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn ptr(&self) -> Result<*mut c_void>

Source§

fn get_binary(&self, binary: &mut Vector<c_char>) -> Result<()>

Query device-specific program binary. Read more
Source§

fn empty(&self) -> Result<bool>

Source§

fn write(&self, buf: &mut String) -> Result<bool>

Source§

fn source(&self) -> Result<ProgramSource>

Source§

fn get_prefix(&self) -> Result<String>

Source§

impl ProposalLayerTrait for BoxedRefMut<'_, ProposalLayer>

Source§

fn as_raw_mut_ProposalLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ProposalLayerTraitConst for BoxedRefMut<'_, ProposalLayer>

Source§

fn as_raw_ProposalLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl PyRotationWarperTrait for BoxedRefMut<'_, PyRotationWarper>

Source§

fn as_raw_mut_PyRotationWarper( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn warp_point( &mut self, pt: Point2f, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Point2f>

Projects the image point. Read more
Source§

fn warp_point_backward( &mut self, pt: Point2f, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Point2f>

Source§

fn build_maps( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, xmap: &mut impl ToOutputArray, ymap: &mut impl ToOutputArray, ) -> Result<Rect>

Builds the projection maps according to the given camera data. Read more
Source§

fn warp( &mut self, src: &impl ToInputArray, k: &impl ToInputArray, r: &impl ToInputArray, interp_mode: i32, border_mode: i32, dst: &mut impl ToOutputArray, ) -> Result<Point>

Projects the image. Read more
Source§

fn warp_backward( &mut self, src: &impl ToInputArray, k: &impl ToInputArray, r: &impl ToInputArray, interp_mode: i32, border_mode: i32, dst_size: Size, dst: &mut impl ToOutputArray, ) -> Result<()>

Projects the image backward. Read more
Source§

fn warp_roi( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, ) -> Result<Rect>

Parameters Read more
Source§

fn set_scale(&mut self, unnamed: f32) -> Result<()>

Source§

impl PyRotationWarperTraitConst for BoxedRefMut<'_, PyRotationWarper>

Source§

fn as_raw_PyRotationWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_scale(&self) -> Result<f32>

Source§

impl PyrLkOptFlowEstimatorBaseTrait for BoxedRefMut<'_, DensePyrLkOptFlowEstimatorGpu>

Source§

fn as_raw_mut_PyrLkOptFlowEstimatorBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_win_size(&mut self, val: Size) -> Result<()>

Source§

fn set_max_level(&mut self, val: i32) -> Result<()>

Source§

impl PyrLkOptFlowEstimatorBaseTrait for BoxedRefMut<'_, PyrLkOptFlowEstimatorBase>

Source§

fn as_raw_mut_PyrLkOptFlowEstimatorBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_win_size(&mut self, val: Size) -> Result<()>

Source§

fn set_max_level(&mut self, val: i32) -> Result<()>

Source§

impl PyrLkOptFlowEstimatorBaseTrait for BoxedRefMut<'_, SparsePyrLkOptFlowEstimator>

Source§

fn as_raw_mut_PyrLkOptFlowEstimatorBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_win_size(&mut self, val: Size) -> Result<()>

Source§

fn set_max_level(&mut self, val: i32) -> Result<()>

Source§

impl PyrLkOptFlowEstimatorBaseTrait for BoxedRefMut<'_, SparsePyrLkOptFlowEstimatorGpu>

Source§

fn as_raw_mut_PyrLkOptFlowEstimatorBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_win_size(&mut self, val: Size) -> Result<()>

Source§

fn set_max_level(&mut self, val: i32) -> Result<()>

Source§

impl PyrLkOptFlowEstimatorBaseTraitConst for BoxedRefMut<'_, DensePyrLkOptFlowEstimatorGpu>

Source§

fn as_raw_PyrLkOptFlowEstimatorBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn win_size(&self) -> Result<Size>

Source§

fn max_level(&self) -> Result<i32>

Source§

impl PyrLkOptFlowEstimatorBaseTraitConst for BoxedRefMut<'_, PyrLkOptFlowEstimatorBase>

Source§

fn as_raw_PyrLkOptFlowEstimatorBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn win_size(&self) -> Result<Size>

Source§

fn max_level(&self) -> Result<i32>

Source§

impl PyrLkOptFlowEstimatorBaseTraitConst for BoxedRefMut<'_, SparsePyrLkOptFlowEstimator>

Source§

fn as_raw_PyrLkOptFlowEstimatorBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn win_size(&self) -> Result<Size>

Source§

fn max_level(&self) -> Result<i32>

Source§

impl PyrLkOptFlowEstimatorBaseTraitConst for BoxedRefMut<'_, SparsePyrLkOptFlowEstimatorGpu>

Source§

fn as_raw_PyrLkOptFlowEstimatorBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn win_size(&self) -> Result<Size>

Source§

fn max_level(&self) -> Result<i32>

Source§

impl QRCodeDetectorArucoTrait for BoxedRefMut<'_, QRCodeDetectorAruco>

Source§

fn as_raw_mut_QRCodeDetectorAruco( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_detector_parameters( &mut self, params: QRCodeDetectorAruco_Params, ) -> Result<QRCodeDetectorAruco>

Detector parameters setter. See cv::QRCodeDetectorAruco::Params
Source§

fn set_aruco_parameters( &mut self, params: &impl DetectorParametersTraitConst, ) -> Result<()>

Aruco detector parameters are used to search for the finder patterns.
Source§

impl QRCodeDetectorArucoTraitConst for BoxedRefMut<'_, QRCodeDetectorAruco>

Source§

fn as_raw_QRCodeDetectorAruco( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_detector_parameters(&self) -> Result<QRCodeDetectorAruco_Params>

Detector parameters getter. See cv::QRCodeDetectorAruco::Params
Source§

fn get_aruco_parameters(&self) -> Result<DetectorParameters>

Aruco detector parameters are used to search for the finder patterns.
Source§

impl QRCodeDetectorTrait for BoxedRefMut<'_, QRCodeDetector>

Source§

fn as_raw_mut_QRCodeDetector( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_eps_x(&mut self, eps_x: f64) -> Result<QRCodeDetector>

sets the epsilon used during the horizontal scan of QR code stop marker detection. Read more
Source§

fn set_eps_y(&mut self, eps_y: f64) -> Result<QRCodeDetector>

sets the epsilon used during the vertical scan of QR code stop marker detection. Read more
Source§

fn set_use_alignment_markers( &mut self, use_alignment_markers: bool, ) -> Result<QRCodeDetector>

use markers to improve the position of the corners of the QR code Read more
Source§

fn decode_curved( &mut self, img: &impl ToInputArray, points: &impl ToInputArray, straight_qrcode: &mut impl ToOutputArray, ) -> Result<Vec<u8>>

Decodes QR code on a curved surface in image once it’s found by the detect() method. Read more
Source§

fn decode_curved_def( &mut self, img: &impl ToInputArray, points: &impl ToInputArray, ) -> Result<Vec<u8>>

Decodes QR code on a curved surface in image once it’s found by the detect() method. Read more
Source§

fn detect_and_decode_curved( &mut self, img: &impl ToInputArray, points: &mut impl ToOutputArray, straight_qrcode: &mut impl ToOutputArray, ) -> Result<Vec<u8>>

Both detects and decodes QR code on a curved surface Read more
Source§

fn detect_and_decode_curved_def( &mut self, img: &impl ToInputArray, ) -> Result<Vec<u8>>

Both detects and decodes QR code on a curved surface Read more
Source§

fn get_encoding(&mut self, code_idx: i32) -> Result<QRCodeEncoder_ECIEncodings>

Returns a kind of encoding for the decoded info from the latest [decode] or [detectAndDecode] call Read more
Source§

fn get_encoding_def(&mut self) -> Result<QRCodeEncoder_ECIEncodings>

Returns a kind of encoding for the decoded info from the latest [decode] or [detectAndDecode] call Read more
Source§

impl QRCodeDetectorTraitConst for BoxedRefMut<'_, QRCodeDetector>

Source§

fn as_raw_QRCodeDetector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl QRCodeEncoderTrait for BoxedRefMut<'_, QRCodeEncoder>

Source§

fn as_raw_mut_QRCodeEncoder( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn encode( &mut self, encoded_info: &str, qrcode: &mut impl ToOutputArray, ) -> Result<()>

Generates QR code from input string. Read more
Source§

fn encode_structured_append( &mut self, encoded_info: &str, qrcodes: &mut impl ToOutputArray, ) -> Result<()>

Generates QR code from input string in Structured Append mode. The encoded message is splitting over a number of QR codes. Read more
Source§

impl QRCodeEncoderTraitConst for BoxedRefMut<'_, QRCodeEncoder>

Source§

fn as_raw_QRCodeEncoder( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl QtFontTrait for BoxedRefMut<'_, QtFont>

Source§

fn as_raw_mut_QtFont( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_color(&mut self, val: Scalar)

Color of the font. Scalar(blue_component, green_component, red_component[, alpha_component])
Source§

fn set_font_face(&mut self, val: i32)

See cv::QtFontStyles
Source§

fn set_hscale(&mut self, val: f32)

Source§

fn set_vscale(&mut self, val: f32)

Source§

fn set_shear(&mut self, val: f32)

slope coefficient: 0 - normal, >0 - italic
Source§

fn set_thickness(&mut self, val: i32)

See cv::QtFontWeights
Source§

fn set_dx(&mut self, val: f32)

horizontal interval between letters
Source§

fn set_line_type(&mut self, val: i32)

PointSize
Source§

impl QtFontTraitConst for BoxedRefMut<'_, QtFont>

Source§

fn as_raw_QtFont(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn name_font(&self) -> String

Name of the font
Source§

fn color(&self) -> Scalar

Color of the font. Scalar(blue_component, green_component, red_component[, alpha_component])
Source§

fn font_face(&self) -> i32

See cv::QtFontStyles
Source§

fn ascii(&self) -> *const i32

font data and metrics
Source§

fn greek(&self) -> *const i32

Source§

fn cyrillic(&self) -> *const i32

Source§

fn hscale(&self) -> f32

Source§

fn vscale(&self) -> f32

Source§

fn shear(&self) -> f32

slope coefficient: 0 - normal, >0 - italic
Source§

fn thickness(&self) -> i32

See cv::QtFontWeights
Source§

fn dx(&self) -> f32

horizontal interval between letters
Source§

fn line_type(&self) -> i32

PointSize
Source§

impl QualityBRISQUETrait for BoxedRefMut<'_, QualityBRISQUE>

Source§

fn as_raw_mut_QualityBRISQUE( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn compute(&mut self, img: &impl ToInputArray) -> Result<Scalar>

Computes BRISQUE quality score for input image Read more
Source§

impl QualityBRISQUETraitConst for BoxedRefMut<'_, QualityBRISQUE>

Source§

fn as_raw_QualityBRISQUE( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl QualityBaseTrait for BoxedRefMut<'_, QualityBRISQUE>

Source§

fn as_raw_mut_QualityBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn compute(&mut self, img: &impl ToInputArray) -> Result<Scalar>

Compute quality score per channel with the per-channel score in each element of the resulting cv::Scalar. See specific algorithm for interpreting result scores Read more
Source§

fn clear(&mut self) -> Result<()>

Implements Algorithm::clear()
Source§

impl QualityBaseTrait for BoxedRefMut<'_, QualityBase>

Source§

fn as_raw_mut_QualityBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn compute(&mut self, img: &impl ToInputArray) -> Result<Scalar>

Compute quality score per channel with the per-channel score in each element of the resulting cv::Scalar. See specific algorithm for interpreting result scores Read more
Source§

fn clear(&mut self) -> Result<()>

Implements Algorithm::clear()
Source§

impl QualityBaseTrait for BoxedRefMut<'_, QualityGMSD>

Source§

fn as_raw_mut_QualityBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn compute(&mut self, img: &impl ToInputArray) -> Result<Scalar>

Compute quality score per channel with the per-channel score in each element of the resulting cv::Scalar. See specific algorithm for interpreting result scores Read more
Source§

fn clear(&mut self) -> Result<()>

Implements Algorithm::clear()
Source§

impl QualityBaseTrait for BoxedRefMut<'_, QualityMSE>

Source§

fn as_raw_mut_QualityBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn compute(&mut self, img: &impl ToInputArray) -> Result<Scalar>

Compute quality score per channel with the per-channel score in each element of the resulting cv::Scalar. See specific algorithm for interpreting result scores Read more
Source§

fn clear(&mut self) -> Result<()>

Implements Algorithm::clear()
Source§

impl QualityBaseTrait for BoxedRefMut<'_, QualityPSNR>

Source§

fn as_raw_mut_QualityBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn compute(&mut self, img: &impl ToInputArray) -> Result<Scalar>

Compute quality score per channel with the per-channel score in each element of the resulting cv::Scalar. See specific algorithm for interpreting result scores Read more
Source§

fn clear(&mut self) -> Result<()>

Implements Algorithm::clear()
Source§

impl QualityBaseTrait for BoxedRefMut<'_, QualitySSIM>

Source§

fn as_raw_mut_QualityBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn compute(&mut self, img: &impl ToInputArray) -> Result<Scalar>

Compute quality score per channel with the per-channel score in each element of the resulting cv::Scalar. See specific algorithm for interpreting result scores Read more
Source§

fn clear(&mut self) -> Result<()>

Implements Algorithm::clear()
Source§

impl QualityBaseTraitConst for BoxedRefMut<'_, QualityBRISQUE>

Source§

fn as_raw_QualityBase(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_quality_map(&self, dst: &mut impl ToOutputArray) -> Result<()>

Returns output quality map that was generated during computation, if supported by the algorithm
Source§

fn empty(&self) -> Result<bool>

Implements Algorithm::empty()
Source§

impl QualityBaseTraitConst for BoxedRefMut<'_, QualityBase>

Source§

fn as_raw_QualityBase(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_quality_map(&self, dst: &mut impl ToOutputArray) -> Result<()>

Returns output quality map that was generated during computation, if supported by the algorithm
Source§

fn empty(&self) -> Result<bool>

Implements Algorithm::empty()
Source§

impl QualityBaseTraitConst for BoxedRefMut<'_, QualityGMSD>

Source§

fn as_raw_QualityBase(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_quality_map(&self, dst: &mut impl ToOutputArray) -> Result<()>

Returns output quality map that was generated during computation, if supported by the algorithm
Source§

fn empty(&self) -> Result<bool>

Implements Algorithm::empty()
Source§

impl QualityBaseTraitConst for BoxedRefMut<'_, QualityMSE>

Source§

fn as_raw_QualityBase(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_quality_map(&self, dst: &mut impl ToOutputArray) -> Result<()>

Returns output quality map that was generated during computation, if supported by the algorithm
Source§

fn empty(&self) -> Result<bool>

Implements Algorithm::empty()
Source§

impl QualityBaseTraitConst for BoxedRefMut<'_, QualityPSNR>

Source§

fn as_raw_QualityBase(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_quality_map(&self, dst: &mut impl ToOutputArray) -> Result<()>

Returns output quality map that was generated during computation, if supported by the algorithm
Source§

fn empty(&self) -> Result<bool>

Implements Algorithm::empty()
Source§

impl QualityBaseTraitConst for BoxedRefMut<'_, QualitySSIM>

Source§

fn as_raw_QualityBase(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_quality_map(&self, dst: &mut impl ToOutputArray) -> Result<()>

Returns output quality map that was generated during computation, if supported by the algorithm
Source§

fn empty(&self) -> Result<bool>

Implements Algorithm::empty()
Source§

impl QualityGMSDTrait for BoxedRefMut<'_, QualityGMSD>

Source§

fn as_raw_mut_QualityGMSD( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn compute(&mut self, cmp: &impl ToInputArray) -> Result<Scalar>

Compute GMSD Read more
Source§

fn clear(&mut self) -> Result<()>

Implements Algorithm::clear()
Source§

impl QualityGMSDTraitConst for BoxedRefMut<'_, QualityGMSD>

Source§

fn as_raw_QualityGMSD(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn empty(&self) -> Result<bool>

Implements Algorithm::empty()
Source§

impl QualityMSETrait for BoxedRefMut<'_, QualityMSE>

Source§

fn as_raw_mut_QualityMSE( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn compute(&mut self, cmp_imgs: &impl ToInputArray) -> Result<Scalar>

Computes MSE for reference images supplied in class constructor and provided comparison images Read more
Source§

fn clear(&mut self) -> Result<()>

Implements Algorithm::clear()
Source§

impl QualityMSETraitConst for BoxedRefMut<'_, QualityMSE>

Source§

fn as_raw_QualityMSE(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn empty(&self) -> Result<bool>

Implements Algorithm::empty()
Source§

impl QualityPSNRTrait for BoxedRefMut<'_, QualityPSNR>

Source§

fn as_raw_mut_QualityPSNR( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn compute(&mut self, cmp: &impl ToInputArray) -> Result<Scalar>

Compute the PSNR Read more
Source§

fn clear(&mut self) -> Result<()>

Implements Algorithm::clear()
Source§

fn set_max_pixel_value(&mut self, val: f64) -> Result<()>

sets the maximum pixel value used for PSNR computation Read more
Source§

impl QualityPSNRTraitConst for BoxedRefMut<'_, QualityPSNR>

Source§

fn as_raw_QualityPSNR(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn empty(&self) -> Result<bool>

Implements Algorithm::empty()
Source§

fn get_max_pixel_value(&self) -> Result<f64>

return the maximum pixel value used for PSNR computation
Source§

impl QualitySSIMTrait for BoxedRefMut<'_, QualitySSIM>

Source§

fn as_raw_mut_QualitySSIM( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn compute(&mut self, cmp: &impl ToInputArray) -> Result<Scalar>

Computes SSIM Read more
Source§

fn clear(&mut self) -> Result<()>

Implements Algorithm::clear()
Source§

impl QualitySSIMTraitConst for BoxedRefMut<'_, QualitySSIM>

Source§

fn as_raw_QualitySSIM(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn empty(&self) -> Result<bool>

Implements Algorithm::empty()
Source§

impl QuantizeLayerTrait for BoxedRefMut<'_, QuantizeLayer>

Source§

fn as_raw_mut_QuantizeLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_scales(&mut self, val: Vector<f32>)

Source§

fn set_zeropoints(&mut self, val: Vector<i32>)

Source§

impl QuantizeLayerTraitConst for BoxedRefMut<'_, QuantizeLayer>

Source§

fn as_raw_QuantizeLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn scales(&self) -> Vector<f32>

Source§

fn zeropoints(&self) -> Vector<i32>

Source§

impl QuasiDenseStereoTrait for BoxedRefMut<'_, QuasiDenseStereo>

Source§

fn as_raw_mut_QuasiDenseStereo( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_param(&mut self, val: PropagationParameters)

Source§

fn load_parameters(&mut self, filepath: &str) -> Result<i32>

Load a file containing the configuration parameters of the class. Read more
Source§

fn save_parameters(&mut self, filepath: &str) -> Result<i32>

Save a file containing all the configuration parameters the class is currently set to. Read more
Source§

fn get_sparse_matches( &mut self, s_matches: &mut Vector<MatchQuasiDense>, ) -> Result<()>

Get The sparse corresponding points. Read more
Source§

fn get_dense_matches( &mut self, dense_matches: &mut Vector<MatchQuasiDense>, ) -> Result<()>

Get The dense corresponding points. Read more
Source§

fn process( &mut self, img_left: &impl MatTraitConst, img_right: &impl MatTraitConst, ) -> Result<()>

Main process of the algorithm. This method computes the sparse seeds and then densifies them. Read more
Source§

fn get_match(&mut self, x: i32, y: i32) -> Result<Point2f>

Specify pixel coordinates in the left image and get its corresponding location in the right image. Read more
Source§

fn get_disparity(&mut self) -> Result<Mat>

Compute and return the disparity map based on the correspondences found in the “process” method. Read more
Source§

impl QuasiDenseStereoTraitConst for BoxedRefMut<'_, QuasiDenseStereo>

Source§

fn as_raw_QuasiDenseStereo( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn param(&self) -> PropagationParameters

Source§

impl QueueTrait for BoxedRefMut<'_, Queue>

Source§

fn as_raw_mut_Queue( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set(&mut self, q: &impl QueueTraitConst) -> Result<()>

Source§

fn set_1(&mut self, q: Queue)

Source§

fn create( &mut self, c: &impl ContextTraitConst, d: &impl DeviceTraitConst, ) -> Result<bool>

C++ default parameters Read more
Source§

fn create_def(&mut self) -> Result<bool>

Source§

fn finish(&mut self) -> Result<()>

Source§

impl QueueTraitConst for BoxedRefMut<'_, Queue>

Source§

fn as_raw_Queue(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn ptr(&self) -> Result<*mut c_void>

Source§

fn get_profiling_queue(&self) -> Result<Queue>

Returns OpenCL command queue with enable profiling mode support
Source§

fn empty(&self) -> Result<bool>

Source§

impl RFFeatureGetterTrait for BoxedRefMut<'_, RFFeatureGetter>

Source§

fn as_raw_mut_RFFeatureGetter( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl RFFeatureGetterTraitConst for BoxedRefMut<'_, RFFeatureGetter>

Source§

fn as_raw_RFFeatureGetter( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_features( &self, src: &impl MatTraitConst, features: &mut impl MatTrait, gnrm_rad: i32, gsmth_rad: i32, shrink: i32, out_num: i32, grad_num: i32, ) -> Result<()>

Source§

impl RICInterpolatorTrait for BoxedRefMut<'_, RICInterpolator>

Source§

fn as_raw_mut_RICInterpolator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_k(&mut self, k: i32) -> Result<()>

K is a number of nearest-neighbor matches considered, when fitting a locally affine model for a superpixel segment. However, lower values would make the interpolation noticeably faster. The original implementation of Hu2017 uses 32. Read more
Source§

fn set_k_def(&mut self) -> Result<()>

K is a number of nearest-neighbor matches considered, when fitting a locally affine model for a superpixel segment. However, lower values would make the interpolation noticeably faster. The original implementation of Hu2017 uses 32. Read more
Source§

fn set_cost_map(&mut self, cost_map: &impl MatTraitConst) -> Result<()>

Interface to provide a more elaborated cost map, i.e. edge map, for the edge-aware term. This implementation is based on a rather simple gradient-based edge map estimation. To used more complex edge map estimator (e.g. StructuredEdgeDetection that has been used in the original publication) that may lead to improved accuracies, the internal edge map estimation can be bypassed here. Read more
Source§

fn set_superpixel_size(&mut self, sp_size: i32) -> Result<()>

Get the internal cost, i.e. edge map, used for estimating the edge-aware term. Read more
Source§

fn set_superpixel_size_def(&mut self) -> Result<()>

Get the internal cost, i.e. edge map, used for estimating the edge-aware term. Read more
Source§

fn set_superpixel_nn_cnt(&mut self, sp_nn: i32) -> Result<()>

Parameter defines the number of nearest-neighbor matches for each superpixel considered, when fitting a locally affine model. Read more
Source§

fn set_superpixel_nn_cnt_def(&mut self) -> Result<()>

Parameter defines the number of nearest-neighbor matches for each superpixel considered, when fitting a locally affine model. Read more
Source§

fn set_superpixel_ruler(&mut self, ruler: f32) -> Result<()>

Parameter to tune enforcement of superpixel smoothness factor used for oversegmentation. Read more
Source§

fn set_superpixel_ruler_def(&mut self) -> Result<()>

Parameter to tune enforcement of superpixel smoothness factor used for oversegmentation. Read more
Source§

fn set_superpixel_mode(&mut self, mode: i32) -> Result<()>

Parameter to choose superpixel algorithm variant to use: Read more
Source§

fn set_superpixel_mode_def(&mut self) -> Result<()>

Parameter to choose superpixel algorithm variant to use: Read more
Source§

fn set_alpha(&mut self, alpha: f32) -> Result<()>

Alpha is a parameter defining a global weight for transforming geodesic distance into weight. Read more
Source§

fn set_alpha_def(&mut self) -> Result<()>

Alpha is a parameter defining a global weight for transforming geodesic distance into weight. Read more
Source§

fn set_model_iter(&mut self, model_iter: i32) -> Result<()>

Parameter defining the number of iterations for piece-wise affine model estimation. Read more
Source§

fn set_model_iter_def(&mut self) -> Result<()>

Parameter defining the number of iterations for piece-wise affine model estimation. Read more
Source§

fn set_refine_models(&mut self, refine_modles: bool) -> Result<()>

Parameter to choose wether additional refinement of the piece-wise affine models is employed. Read more
Source§

fn set_refine_models_def(&mut self) -> Result<()>

Parameter to choose wether additional refinement of the piece-wise affine models is employed. Read more
Source§

fn set_max_flow(&mut self, max_flow: f32) -> Result<()>

MaxFlow is a threshold to validate the predictions using a certain piece-wise affine model. If the prediction exceeds the treshold the translational model will be applied instead. Read more
Source§

fn set_max_flow_def(&mut self) -> Result<()>

MaxFlow is a threshold to validate the predictions using a certain piece-wise affine model. If the prediction exceeds the treshold the translational model will be applied instead. Read more
Source§

fn set_use_variational_refinement( &mut self, use_variational_refinement: bool, ) -> Result<()>

Parameter to choose wether the VariationalRefinement post-processing is employed. Read more
Source§

fn set_use_variational_refinement_def(&mut self) -> Result<()>

Parameter to choose wether the VariationalRefinement post-processing is employed. Read more
Source§

fn set_use_global_smoother_filter(&mut self, use_fgs: bool) -> Result<()>

Sets whether the fastGlobalSmootherFilter() post-processing is employed. Read more
Source§

fn set_use_global_smoother_filter_def(&mut self) -> Result<()>

Sets whether the fastGlobalSmootherFilter() post-processing is employed. Read more
Source§

fn set_fgs_lambda(&mut self, lambda: f32) -> Result<()>

Sets the respective fastGlobalSmootherFilter() parameter. Read more
Source§

fn set_fgs_lambda_def(&mut self) -> Result<()>

Sets the respective fastGlobalSmootherFilter() parameter. Read more
Source§

fn set_fgs_sigma(&mut self, sigma: f32) -> Result<()>

Sets the respective fastGlobalSmootherFilter() parameter. Read more
Source§

fn set_fgs_sigma_def(&mut self) -> Result<()>

Sets the respective fastGlobalSmootherFilter() parameter. Read more
Source§

impl RICInterpolatorTraitConst for BoxedRefMut<'_, RICInterpolator>

Source§

fn as_raw_RICInterpolator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_k(&self) -> Result<i32>

K is a number of nearest-neighbor matches considered, when fitting a locally affine model for a superpixel segment. However, lower values would make the interpolation noticeably faster. The original implementation of Hu2017 uses 32. Read more
Source§

fn get_superpixel_size(&self) -> Result<i32>

Get the internal cost, i.e. edge map, used for estimating the edge-aware term. Read more
Source§

fn get_superpixel_nn_cnt(&self) -> Result<i32>

Parameter defines the number of nearest-neighbor matches for each superpixel considered, when fitting a locally affine model. Read more
Source§

fn get_superpixel_ruler(&self) -> Result<f32>

Parameter to tune enforcement of superpixel smoothness factor used for oversegmentation. Read more
Source§

fn get_superpixel_mode(&self) -> Result<i32>

Parameter to choose superpixel algorithm variant to use: Read more
Source§

fn get_alpha(&self) -> Result<f32>

Alpha is a parameter defining a global weight for transforming geodesic distance into weight. Read more
Source§

fn get_model_iter(&self) -> Result<i32>

Parameter defining the number of iterations for piece-wise affine model estimation. Read more
Source§

fn get_refine_models(&self) -> Result<bool>

Parameter to choose wether additional refinement of the piece-wise affine models is employed. Read more
Source§

fn get_max_flow(&self) -> Result<f32>

MaxFlow is a threshold to validate the predictions using a certain piece-wise affine model. If the prediction exceeds the treshold the translational model will be applied instead. Read more
Source§

fn get_use_variational_refinement(&self) -> Result<bool>

Parameter to choose wether the VariationalRefinement post-processing is employed. Read more
Source§

fn get_use_global_smoother_filter(&self) -> Result<bool>

Sets whether the fastGlobalSmootherFilter() post-processing is employed. Read more
Source§

fn get_fgs_lambda(&self) -> Result<f32>

Sets the respective fastGlobalSmootherFilter() parameter. Read more
Source§

fn get_fgs_sigma(&self) -> Result<f32>

Sets the respective fastGlobalSmootherFilter() parameter. Read more
Source§

impl RLOFOpticalFlowParameterTrait for BoxedRefMut<'_, RLOFOpticalFlowParameter>

Source§

fn as_raw_mut_RLOFOpticalFlowParameter( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_solver_type(&mut self, val: SolverType)

Source§

fn set_support_region_type(&mut self, val: SupportRegionType)

Source§

fn set_norm_sigma0(&mut self, val: f32)

Source§

fn set_norm_sigma1(&mut self, val: f32)

Source§

fn set_small_win_size(&mut self, val: i32)

Source§

fn set_large_win_size(&mut self, val: i32)

Source§

fn set_cross_segmentation_threshold(&mut self, val: i32)

Source§

fn set_max_level(&mut self, val: i32)

Source§

fn set_use_initial_flow(&mut self, val: bool)

Source§

fn set_use_illumination_model(&mut self, val: bool)

Source§

fn set_use_global_motion_prior(&mut self, val: bool)

Source§

fn set_max_iteration(&mut self, val: i32)

Source§

fn set_min_eigen_value(&mut self, val: f32)

Source§

fn set_global_motion_ransac_threshold(&mut self, val: f32)

Source§

fn set_use_m_estimator(&mut self, val: bool) -> Result<()>

Enable M-estimator or disable and use least-square estimator. Enables M-estimator by setting sigma parameters to (3.2, 7.0). Disabling M-estimator can reduce * runtime, while enabling can improve the accuracy. Read more
Source§

fn set_solver_type_1(&mut self, val: SolverType) -> Result<()>

Source§

fn set_support_region_type_1(&mut self, val: SupportRegionType) -> Result<()>

Source§

fn set_norm_sigma0_1(&mut self, val: f32) -> Result<()>

Source§

fn set_norm_sigma1_1(&mut self, val: f32) -> Result<()>

Source§

fn set_small_win_size_1(&mut self, val: i32) -> Result<()>

Source§

fn set_large_win_size_1(&mut self, val: i32) -> Result<()>

Source§

fn set_cross_segmentation_threshold_1(&mut self, val: i32) -> Result<()>

Source§

fn set_max_level_1(&mut self, val: i32) -> Result<()>

Source§

fn set_use_initial_flow_1(&mut self, val: bool) -> Result<()>

Source§

fn set_use_illumination_model_1(&mut self, val: bool) -> Result<()>

Source§

fn set_use_global_motion_prior_1(&mut self, val: bool) -> Result<()>

Source§

fn set_max_iteration_1(&mut self, val: i32) -> Result<()>

Source§

fn set_min_eigen_value_1(&mut self, val: f32) -> Result<()>

Source§

fn set_global_motion_ransac_threshold_1(&mut self, val: f32) -> Result<()>

Source§

impl RLOFOpticalFlowParameterTraitConst for BoxedRefMut<'_, RLOFOpticalFlowParameter>

Source§

impl RMatTrait for BoxedRefMut<'_, RMat>

Source§

fn as_raw_mut_RMat( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl RMatTraitConst for BoxedRefMut<'_, RMat>

Source§

fn as_raw_RMat(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn desc(&self) -> Result<GMatDesc>

Source§

impl RMat_IAdapterTrait for BoxedRefMut<'_, RMat_IAdapter>

Source§

fn as_raw_mut_RMat_IAdapter( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl RMat_IAdapterTraitConst for BoxedRefMut<'_, RMat_IAdapter>

Source§

fn as_raw_RMat_IAdapter( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn desc(&self) -> Result<GMatDesc>

Source§

impl RMat_ViewTrait for BoxedRefMut<'_, RMat_View>

Source§

fn as_raw_mut_RMat_View( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set(&mut self, v: RMat_View) -> Result<()>

Source§

impl RMat_ViewTraitConst for BoxedRefMut<'_, RMat_View>

Source§

fn as_raw_RMat_View(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn size(&self) -> Result<Size>

Source§

fn dims(&self) -> Result<Vector<i32>>

Source§

fn cols(&self) -> Result<i32>

Source§

fn rows(&self) -> Result<i32>

Source§

fn typ(&self) -> Result<i32>

Source§

fn depth(&self) -> Result<i32>

Source§

fn chan(&self) -> Result<i32>

Source§

fn elem_size(&self) -> Result<size_t>

Source§

fn step(&self, i: size_t) -> Result<size_t>

C++ default parameters Read more
Source§

fn step_def(&self) -> Result<size_t>

Source§

fn steps(&self) -> Result<RMat_View_stepsT>

Source§

impl RNGTrait for BoxedRefMut<'_, RNG>

Source§

fn as_raw_mut_RNG( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_state(&mut self, val: u64)

Source§

fn next(&mut self) -> Result<u32>

The method updates the state using the MWC algorithm and returns the next 32-bit random number.
Source§

fn to_u8(&mut self) -> Result<u8>

Each of the methods updates the state using the MWC algorithm and returns the next random number of the specified type. In case of integer types, the returned number is from the available value range for the specified type. In case of floating-point types, the returned value is from [0,1) range.
Source§

fn to_i8(&mut self) -> Result<i8>

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Source§

fn to_u16(&mut self) -> Result<u16>

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Source§

fn to_i16(&mut self) -> Result<i16>

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Source§

fn to_u32(&mut self) -> Result<u32>

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Source§

fn to_i32(&mut self) -> Result<i32>

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Source§

fn to_f32(&mut self) -> Result<f32>

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Source§

fn to_f64(&mut self) -> Result<f64>

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Source§

fn apply(&mut self) -> Result<u32>

returns a random integer sampled uniformly from [0, N). Read more
Source§

fn apply_range(&mut self, n: u32) -> Result<u32>

returns a random integer sampled uniformly from [0, N). Read more
Source§

fn uniform(&mut self, a: i32, b: i32) -> Result<i32>

returns uniformly distributed integer random number from [a,b) range Read more
Source§

fn uniform_f32(&mut self, a: f32, b: f32) -> Result<f32>

returns uniformly distributed integer random number from [a,b) range Read more
Source§

fn uniform_f64(&mut self, a: f64, b: f64) -> Result<f64>

returns uniformly distributed integer random number from [a,b) range Read more
Source§

fn fill( &mut self, mat: &mut impl ToInputOutputArray, dist_type: i32, a: &impl ToInputArray, b: &impl ToInputArray, saturate_range: bool, ) -> Result<()>

Fills arrays with random numbers. Read more
Source§

fn fill_def( &mut self, mat: &mut impl ToInputOutputArray, dist_type: i32, a: &impl ToInputArray, b: &impl ToInputArray, ) -> Result<()>

Fills arrays with random numbers. Read more
Source§

fn gaussian(&mut self, sigma: f64) -> Result<f64>

Returns the next random number sampled from the Gaussian distribution Read more
Source§

impl RNGTraitConst for BoxedRefMut<'_, RNG>

Source§

fn as_raw_RNG(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn state(&self) -> u64

Source§

fn equals(&self, other: &impl RNGTraitConst) -> Result<bool>

Source§

impl RNG_MT19937Trait for BoxedRefMut<'_, RNG_MT19937>

Source§

fn as_raw_mut_RNG_MT19937( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn seed(&mut self, s: u32) -> Result<()>

Source§

fn next(&mut self) -> Result<u32>

Source§

fn to_i32(&mut self) -> Result<i32>

Source§

fn to_u32(&mut self) -> Result<u32>

Source§

fn to_f32(&mut self) -> Result<f32>

Source§

fn to_f64(&mut self) -> Result<f64>

Source§

fn to_u32_with_max(&mut self, n: u32) -> Result<u32>

Source§

fn uniform(&mut self, a: i32, b: i32) -> Result<i32>

returns uniformly distributed integer random number from [a,b) range
Source§

fn uniform_1(&mut self, a: f32, b: f32) -> Result<f32>

returns uniformly distributed floating-point random number from [a,b) range
Source§

fn uniform_2(&mut self, a: f64, b: f64) -> Result<f64>

returns uniformly distributed double-precision floating-point random number from [a,b) range
Source§

impl RNG_MT19937TraitConst for BoxedRefMut<'_, RNG_MT19937>

Source§

fn as_raw_RNG_MT19937(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl RNNLayerTrait for BoxedRefMut<'_, RNNLayer>

Source§

fn as_raw_mut_RNNLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_weights( &mut self, wxh: &impl MatTraitConst, bh: &impl MatTraitConst, whh: &impl MatTraitConst, who: &impl MatTraitConst, bo: &impl MatTraitConst, ) -> Result<()>

Setups learned weights. Read more
Source§

fn set_produce_hidden_output(&mut self, produce: bool) -> Result<()>

If this flag is set to true then layer will produce @f$ h_t @f$ as second output. @details Shape of the second output is the same as first output. Read more
Source§

fn set_produce_hidden_output_def(&mut self) -> Result<()>

If this flag is set to true then layer will produce @f$ h_t @f$ as second output. @details Shape of the second output is the same as first output. Read more
Source§

impl RNNLayerTraitConst for BoxedRefMut<'_, RNNLayer>

Source§

fn as_raw_RNNLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl RTreesTrait for BoxedRefMut<'_, RTrees>

Source§

fn as_raw_mut_RTrees( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_calculate_var_importance(&mut self, val: bool) -> Result<()>

If true then variable importance will be calculated and then it can be retrieved by RTrees::getVarImportance. Default value is false. Read more
Source§

fn set_active_var_count(&mut self, val: i32) -> Result<()>

The size of the randomly selected subset of features at each tree node and that are used to find the best split(s). If you set it to 0 then the size will be set to the square root of the total number of features. Default value is 0. Read more
Source§

fn set_term_criteria(&mut self, val: TermCriteria) -> Result<()>

The termination criteria that specifies when the training algorithm stops. Either when the specified number of trees is trained and added to the ensemble or when sufficient accuracy (measured as OOB error) is achieved. Typically the more trees you have the better the accuracy. However, the improvement in accuracy generally diminishes and asymptotes pass a certain number of trees. Also to keep in mind, the number of tree increases the prediction time linearly. Default value is TermCriteria(TermCriteria::MAX_ITERS + TermCriteria::EPS, 50, 0.1) Read more
Source§

impl RTreesTraitConst for BoxedRefMut<'_, RTrees>

Source§

fn as_raw_RTrees(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_calculate_var_importance(&self) -> Result<bool>

If true then variable importance will be calculated and then it can be retrieved by RTrees::getVarImportance. Default value is false. Read more
Source§

fn get_active_var_count(&self) -> Result<i32>

The size of the randomly selected subset of features at each tree node and that are used to find the best split(s). If you set it to 0 then the size will be set to the square root of the total number of features. Default value is 0. Read more
Source§

fn get_term_criteria(&self) -> Result<TermCriteria>

The termination criteria that specifies when the training algorithm stops. Either when the specified number of trees is trained and added to the ensemble or when sufficient accuracy (measured as OOB error) is achieved. Typically the more trees you have the better the accuracy. However, the improvement in accuracy generally diminishes and asymptotes pass a certain number of trees. Also to keep in mind, the number of tree increases the prediction time linearly. Default value is TermCriteria(TermCriteria::MAX_ITERS + TermCriteria::EPS, 50, 0.1) Read more
Source§

fn get_var_importance(&self) -> Result<Mat>

Returns the variable importance array. The method returns the variable importance vector, computed at the training stage when CalculateVarImportance is set to true. If this flag was set to false, the empty matrix is returned.
Source§

fn get_votes( &self, samples: &impl ToInputArray, results: &mut impl ToOutputArray, flags: i32, ) -> Result<()>

Returns the result of each individual tree in the forest. In case the model is a regression problem, the method will return each of the trees’ results for each of the sample cases. If the model is a classifier, it will return a Mat with samples + 1 rows, where the first row gives the class number and the following rows return the votes each class had for each sample. Read more
Source§

fn get_oob_error(&self) -> Result<f64>

Source§

impl RadialVarianceHashTrait for BoxedRefMut<'_, RadialVarianceHash>

Source§

fn as_raw_mut_RadialVarianceHash( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_num_of_angle_line(&mut self, value: i32) -> Result<()>

Source§

fn set_sigma(&mut self, value: f64) -> Result<()>

Source§

fn get_features(&mut self) -> Result<Vector<f64>>

Source§

fn get_hash(&mut self) -> Result<Mat>

Source§

fn get_pix_per_line(&mut self, input: &impl MatTraitConst) -> Result<Mat>

Source§

fn get_projection(&mut self) -> Result<Mat>

Source§

impl RadialVarianceHashTraitConst for BoxedRefMut<'_, RadialVarianceHash>

Source§

fn as_raw_RadialVarianceHash( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_num_of_angle_line(&self) -> Result<i32>

Source§

fn get_sigma(&self) -> Result<f64>

Source§

impl RandomPatternCornerFinderTrait for BoxedRefMut<'_, RandomPatternCornerFinder>

Source§

fn as_raw_mut_RandomPatternCornerFinder( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn load_pattern(&mut self, pattern_image: &impl MatTraitConst) -> Result<()>

Source§

fn load_pattern_1( &mut self, pattern_image: &impl MatTraitConst, pattern_key_points: &Vector<KeyPoint>, pattern_descriptors: &impl MatTraitConst, ) -> Result<()>

Source§

fn compute_object_image_points( &mut self, input_images: Vector<Mat>, ) -> Result<()>

Source§

fn compute_object_image_points_for_single( &mut self, input_image: impl MatTrait, ) -> Result<Vector<Mat>>

Source§

fn get_object_points(&mut self) -> Result<Vector<Mat>>

Source§

fn get_image_points(&mut self) -> Result<Vector<Mat>>

Source§

impl RandomPatternCornerFinderTraitConst for BoxedRefMut<'_, RandomPatternCornerFinder>

Source§

fn as_raw_RandomPatternCornerFinder( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl RandomPatternGeneratorTrait for BoxedRefMut<'_, RandomPatternGenerator>

Source§

fn as_raw_mut_RandomPatternGenerator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn generate_pattern(&mut self) -> Result<()>

Source§

fn get_pattern(&mut self) -> Result<Mat>

Source§

impl RandomPatternGeneratorTraitConst for BoxedRefMut<'_, RandomPatternGenerator>

Source§

fn as_raw_RandomPatternGenerator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl RangeTrait for BoxedRefMut<'_, Range>

Source§

fn as_raw_mut_Range( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_start(&mut self, val: i32)

Source§

fn set_end(&mut self, val: i32)

Source§

impl RangeTrait for BoxedRefMut<'_, _Range>

Source§

fn as_raw_mut_Range( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_start(&mut self, val: i32)

Source§

fn set_end(&mut self, val: i32)

Source§

impl RangeTraitConst for BoxedRefMut<'_, Range>

Source§

fn as_raw_Range(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn start(&self) -> i32

Source§

fn end(&self) -> i32

Source§

fn size(&self) -> Result<i32>

Source§

fn empty(&self) -> Result<bool>

Source§

impl RangeTraitConst for BoxedRefMut<'_, _Range>

Source§

fn as_raw_Range(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn start(&self) -> i32

Source§

fn end(&self) -> i32

Source§

fn size(&self) -> Result<i32>

Source§

fn empty(&self) -> Result<bool>

Source§

impl RansacParamsTrait for BoxedRefMut<'_, RansacParams>

Source§

fn as_raw_mut_RansacParams( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_size(&mut self, val: i32)

subset size
Source§

fn set_thresh(&mut self, val: f32)

max error to classify as inlier
Source§

fn set_eps(&mut self, val: f32)

max outliers ratio
Source§

fn set_prob(&mut self, val: f32)

probability of success
Source§

impl RansacParamsTraitConst for BoxedRefMut<'_, RansacParams>

Source§

fn as_raw_RansacParams(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn size(&self) -> i32

subset size
Source§

fn thresh(&self) -> f32

max error to classify as inlier
Source§

fn eps(&self) -> f32

max outliers ratio
Source§

fn prob(&self) -> f32

probability of success
Source§

fn niters(&self) -> Result<i32>

Returns Read more
Source§

impl Rapid_GOSTrackerTrait for BoxedRefMut<'_, Rapid_GOSTracker>

Source§

fn as_raw_mut_Rapid_GOSTracker( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl Rapid_GOSTrackerTraitConst for BoxedRefMut<'_, Rapid_GOSTracker>

Source§

fn as_raw_Rapid_GOSTracker( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Rapid_OLSTrackerTrait for BoxedRefMut<'_, Rapid_OLSTracker>

Source§

fn as_raw_mut_Rapid_OLSTracker( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl Rapid_OLSTrackerTraitConst for BoxedRefMut<'_, Rapid_OLSTracker>

Source§

fn as_raw_Rapid_OLSTracker( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Rapid_RapidTrait for BoxedRefMut<'_, Rapid_Rapid>

Source§

fn as_raw_mut_Rapid_Rapid( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl Rapid_RapidTraitConst for BoxedRefMut<'_, Rapid_Rapid>

Source§

fn as_raw_Rapid_Rapid(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Rapid_TrackerTrait for BoxedRefMut<'_, Rapid_GOSTracker>

Source§

fn as_raw_mut_Rapid_Tracker( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn compute( &mut self, img: &impl ToInputArray, num: i32, len: i32, k: &impl ToInputArray, rvec: &mut impl ToInputOutputArray, tvec: &mut impl ToInputOutputArray, termcrit: TermCriteria, ) -> Result<f32>

C++ default parameters Read more
Source§

fn compute_def( &mut self, img: &impl ToInputArray, num: i32, len: i32, k: &impl ToInputArray, rvec: &mut impl ToInputOutputArray, tvec: &mut impl ToInputOutputArray, ) -> Result<f32>

Source§

fn clear_state(&mut self) -> Result<()>

Source§

impl Rapid_TrackerTrait for BoxedRefMut<'_, Rapid_OLSTracker>

Source§

fn as_raw_mut_Rapid_Tracker( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn compute( &mut self, img: &impl ToInputArray, num: i32, len: i32, k: &impl ToInputArray, rvec: &mut impl ToInputOutputArray, tvec: &mut impl ToInputOutputArray, termcrit: TermCriteria, ) -> Result<f32>

C++ default parameters Read more
Source§

fn compute_def( &mut self, img: &impl ToInputArray, num: i32, len: i32, k: &impl ToInputArray, rvec: &mut impl ToInputOutputArray, tvec: &mut impl ToInputOutputArray, ) -> Result<f32>

Source§

fn clear_state(&mut self) -> Result<()>

Source§

impl Rapid_TrackerTrait for BoxedRefMut<'_, Rapid_Rapid>

Source§

fn as_raw_mut_Rapid_Tracker( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn compute( &mut self, img: &impl ToInputArray, num: i32, len: i32, k: &impl ToInputArray, rvec: &mut impl ToInputOutputArray, tvec: &mut impl ToInputOutputArray, termcrit: TermCriteria, ) -> Result<f32>

C++ default parameters Read more
Source§

fn compute_def( &mut self, img: &impl ToInputArray, num: i32, len: i32, k: &impl ToInputArray, rvec: &mut impl ToInputOutputArray, tvec: &mut impl ToInputOutputArray, ) -> Result<f32>

Source§

fn clear_state(&mut self) -> Result<()>

Source§

impl Rapid_TrackerTrait for BoxedRefMut<'_, Rapid_Tracker>

Source§

fn as_raw_mut_Rapid_Tracker( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn compute( &mut self, img: &impl ToInputArray, num: i32, len: i32, k: &impl ToInputArray, rvec: &mut impl ToInputOutputArray, tvec: &mut impl ToInputOutputArray, termcrit: TermCriteria, ) -> Result<f32>

C++ default parameters Read more
Source§

fn compute_def( &mut self, img: &impl ToInputArray, num: i32, len: i32, k: &impl ToInputArray, rvec: &mut impl ToInputOutputArray, tvec: &mut impl ToInputOutputArray, ) -> Result<f32>

Source§

fn clear_state(&mut self) -> Result<()>

Source§

impl Rapid_TrackerTraitConst for BoxedRefMut<'_, Rapid_GOSTracker>

Source§

fn as_raw_Rapid_Tracker( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Rapid_TrackerTraitConst for BoxedRefMut<'_, Rapid_OLSTracker>

Source§

fn as_raw_Rapid_Tracker( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Rapid_TrackerTraitConst for BoxedRefMut<'_, Rapid_Rapid>

Source§

fn as_raw_Rapid_Tracker( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Rapid_TrackerTraitConst for BoxedRefMut<'_, Rapid_Tracker>

Source§

fn as_raw_Rapid_Tracker( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl ReLU6LayerTrait for BoxedRefMut<'_, ReLU6Layer>

Source§

fn as_raw_mut_ReLU6Layer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_min_value(&mut self, val: f32)

Source§

fn set_max_value(&mut self, val: f32)

Source§

impl ReLU6LayerTraitConst for BoxedRefMut<'_, ReLU6Layer>

Source§

fn as_raw_ReLU6Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn min_value(&self) -> f32

Source§

fn max_value(&self) -> f32

Source§

impl ReLULayerTrait for BoxedRefMut<'_, ReLULayer>

Source§

fn as_raw_mut_ReLULayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_negative_slope(&mut self, val: f32)

Source§

impl ReLULayerTraitConst for BoxedRefMut<'_, ReLULayer>

Source§

fn as_raw_ReLULayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn negative_slope(&self) -> f32

Source§

impl ReciprocalLayerTrait for BoxedRefMut<'_, ReciprocalLayer>

Source§

fn as_raw_mut_ReciprocalLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ReciprocalLayerTraitConst for BoxedRefMut<'_, ReciprocalLayer>

Source§

fn as_raw_ReciprocalLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl ReduceLayerTrait for BoxedRefMut<'_, ReduceLayer>

Source§

fn as_raw_mut_ReduceLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ReduceLayerTraitConst for BoxedRefMut<'_, ReduceLayer>

Source§

fn as_raw_ReduceLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl RegionLayerTrait for BoxedRefMut<'_, RegionLayer>

Source§

fn as_raw_mut_RegionLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_nms_threshold(&mut self, val: f32)

Source§

impl RegionLayerTraitConst for BoxedRefMut<'_, RegionLayer>

Source§

fn as_raw_RegionLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn nms_threshold(&self) -> f32

Source§

impl ReorgLayerTrait for BoxedRefMut<'_, ReorgLayer>

Source§

fn as_raw_mut_ReorgLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ReorgLayerTraitConst for BoxedRefMut<'_, ReorgLayer>

Source§

fn as_raw_ReorgLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl RequantizeLayerTrait for BoxedRefMut<'_, RequantizeLayer>

Source§

fn as_raw_mut_RequantizeLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_scale(&mut self, val: f32)

Source§

fn set_shift(&mut self, val: f32)

Source§

impl RequantizeLayerTraitConst for BoxedRefMut<'_, RequantizeLayer>

Source§

fn as_raw_RequantizeLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn scale(&self) -> f32

Source§

fn shift(&self) -> f32

Source§

impl ReshapeLayerTrait for BoxedRefMut<'_, ReshapeLayer>

Source§

fn as_raw_mut_ReshapeLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_new_shape_desc(&mut self, val: MatShape)

Source§

fn set_new_shape_range(&mut self, val: Range)

Source§

impl ReshapeLayerTraitConst for BoxedRefMut<'_, ReshapeLayer>

Source§

fn as_raw_ReshapeLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn new_shape_desc(&self) -> MatShape

Source§

fn new_shape_range(&self) -> Range

Source§

impl ResizeLayerTrait for BoxedRefMut<'_, ResizeLayer>

Source§

fn as_raw_mut_ResizeLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ResizeLayerTraitConst for BoxedRefMut<'_, ResizeLayer>

Source§

fn as_raw_ResizeLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl RetinaFastToneMappingTrait for BoxedRefMut<'_, RetinaFastToneMapping>

Source§

fn as_raw_mut_RetinaFastToneMapping( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn apply_fast_tone_mapping( &mut self, input_image: &impl ToInputArray, output_tone_mapped_image: &mut impl ToOutputArray, ) -> Result<()>

applies a luminance correction (initially High Dynamic Range (HDR) tone mapping) Read more
Source§

fn setup( &mut self, photoreceptors_neighborhood_radius: f32, ganglioncells_neighborhood_radius: f32, mean_luminance_modulator_k: f32, ) -> Result<()>

updates tone mapping behaviors by adjusing the local luminance computation area Read more
Source§

fn setup_def(&mut self) -> Result<()>

updates tone mapping behaviors by adjusing the local luminance computation area Read more
Source§

impl RetinaFastToneMappingTraitConst for BoxedRefMut<'_, RetinaFastToneMapping>

Source§

fn as_raw_RetinaFastToneMapping( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl RetinaParametersTrait for BoxedRefMut<'_, RetinaParameters>

Source§

fn as_raw_mut_RetinaParameters( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_op_land_ipl_parvo( &mut self, val: RetinaParameters_OPLandIplParvoParameters, )

Source§

fn set_ipl_magno(&mut self, val: RetinaParameters_IplMagnoParameters)

Source§

impl RetinaParametersTraitConst for BoxedRefMut<'_, RetinaParameters>

Source§

impl RetinaTrait for BoxedRefMut<'_, Retina>

Source§

fn as_raw_mut_Retina( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn get_input_size(&mut self) -> Result<Size>

Retreive retina input buffer size Read more
Source§

fn get_output_size(&mut self) -> Result<Size>

Retreive retina output buffer size that can be different from the input if a spatial log transformation is applied Read more
Source§

fn setup_from_file( &mut self, retina_parameter_file: &str, apply_default_setup_on_failure: bool, ) -> Result<()>

Try to open an XML retina parameters file to adjust current retina instance setup Read more
Source§

fn setup_from_file_def(&mut self) -> Result<()>

Try to open an XML retina parameters file to adjust current retina instance setup Read more
Source§

fn setup_from_storage( &mut self, fs: &mut impl FileStorageTrait, apply_default_setup_on_failure: bool, ) -> Result<()>

Try to open an XML retina parameters file to adjust current retina instance setup Read more
Source§

fn setup_from_storage_def( &mut self, fs: &mut impl FileStorageTrait, ) -> Result<()>

@overload Read more
Source§

fn setup(&mut self, new_parameters: impl RetinaParametersTrait) -> Result<()>

Try to open an XML retina parameters file to adjust current retina instance setup Read more
Source§

fn get_parameters(&mut self) -> Result<RetinaParameters>

Returns Read more
Source§

fn print_setup(&mut self) -> Result<String>

Outputs a string showing the used parameters setup Read more
Source§

fn setup_op_land_ipl_parvo_channel( &mut self, color_mode: bool, normalise_output: bool, photoreceptors_local_adaptation_sensitivity: f32, photoreceptors_temporal_constant: f32, photoreceptors_spatial_constant: f32, horizontal_cells_gain: f32, hcells_temporal_constant: f32, hcells_spatial_constant: f32, ganglion_cells_sensitivity: f32, ) -> Result<()>

Setup the OPL and IPL parvo channels (see biologocal model) Read more
Source§

fn setup_op_land_ipl_parvo_channel_def(&mut self) -> Result<()>

Setup the OPL and IPL parvo channels (see biologocal model) Read more
Source§

fn setup_ipl_magno_channel( &mut self, normalise_output: bool, parasol_cells_beta: f32, parasol_cells_tau: f32, parasol_cells_k: f32, amacrin_cells_temporal_cut_frequency: f32, v0_compression_parameter: f32, local_adaptintegration_tau: f32, local_adaptintegration_k: f32, ) -> Result<()>

Set parameters values for the Inner Plexiform Layer (IPL) magnocellular channel Read more
Source§

fn setup_ipl_magno_channel_def(&mut self) -> Result<()>

Set parameters values for the Inner Plexiform Layer (IPL) magnocellular channel Read more
Source§

fn run(&mut self, input_image: &impl ToInputArray) -> Result<()>

Method which allows retina to be applied on an input image, Read more
Source§

fn apply_fast_tone_mapping( &mut self, input_image: &impl ToInputArray, output_tone_mapped_image: &mut impl ToOutputArray, ) -> Result<()>

Method which processes an image in the aim to correct its luminance correct backlight problems, enhance details in shadows. Read more
Source§

fn get_parvo( &mut self, retina_output_parvo: &mut impl ToOutputArray, ) -> Result<()>

Accessor of the details channel of the retina (models foveal vision). Read more
Source§

fn get_parvo_raw_to( &mut self, retina_output_parvo: &mut impl ToOutputArray, ) -> Result<()>

Accessor of the details channel of the retina (models foveal vision). Read more
Source§

fn get_magno( &mut self, retina_output_magno: &mut impl ToOutputArray, ) -> Result<()>

Accessor of the motion channel of the retina (models peripheral vision). Read more
Source§

fn get_magno_raw_to( &mut self, retina_output_magno: &mut impl ToOutputArray, ) -> Result<()>

Accessor of the motion channel of the retina (models peripheral vision). Read more
Source§

fn set_color_saturation( &mut self, saturate_colors: bool, color_saturation_value: f32, ) -> Result<()>

Activate color saturation as the final step of the color demultiplexing process -> this saturation is a sigmoide function applied to each channel of the demultiplexed image. Read more
Source§

fn set_color_saturation_def(&mut self) -> Result<()>

Activate color saturation as the final step of the color demultiplexing process -> this saturation is a sigmoide function applied to each channel of the demultiplexed image. Read more
Source§

fn clear_buffers(&mut self) -> Result<()>

Clears all retina buffers Read more
Source§

fn activate_moving_contours_processing(&mut self, activate: bool) -> Result<()>

Activate/desactivate the Magnocellular pathway processing (motion information extraction), by default, it is activated Read more
Source§

fn activate_contours_processing(&mut self, activate: bool) -> Result<()>

Activate/desactivate the Parvocellular pathway processing (contours information extraction), by default, it is activated Read more
Source§

impl RetinaTraitConst for BoxedRefMut<'_, Retina>

Source§

fn as_raw_Retina(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &str) -> Result<()>

Write xml/yml formated parameters information Read more
Source§

fn write_to_storage(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Write xml/yml formated parameters information Read more
Source§

fn get_magno_raw(&self) -> Result<Mat>

Accessor of the motion channel of the retina (models peripheral vision). Read more
Source§

fn get_parvo_raw(&self) -> Result<Mat>

Accessor of the details channel of the retina (models foveal vision). Read more
Source§

impl RgbdFrameTrait for BoxedRefMut<'_, OdometryFrame>

Source§

fn as_raw_mut_RgbdFrame( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_id(&mut self, val: i32)

Source§

fn set_image(&mut self, val: Mat)

Source§

fn set_depth(&mut self, val: Mat)

Source§

fn set_mask(&mut self, val: Mat)

Source§

fn set_normals(&mut self, val: Mat)

Source§

fn release(&mut self) -> Result<()>

Source§

impl RgbdFrameTrait for BoxedRefMut<'_, RgbdFrame>

Source§

fn as_raw_mut_RgbdFrame( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_id(&mut self, val: i32)

Source§

fn set_image(&mut self, val: Mat)

Source§

fn set_depth(&mut self, val: Mat)

Source§

fn set_mask(&mut self, val: Mat)

Source§

fn set_normals(&mut self, val: Mat)

Source§

fn release(&mut self) -> Result<()>

Source§

impl RgbdFrameTraitConst for BoxedRefMut<'_, OdometryFrame>

Source§

fn as_raw_RgbdFrame(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn id(&self) -> i32

Source§

fn image(&self) -> Mat

Source§

fn depth(&self) -> Mat

Source§

fn mask(&self) -> Mat

Source§

fn normals(&self) -> Mat

Source§

impl RgbdFrameTraitConst for BoxedRefMut<'_, RgbdFrame>

Source§

fn as_raw_RgbdFrame(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn id(&self) -> i32

Source§

fn image(&self) -> Mat

Source§

fn depth(&self) -> Mat

Source§

fn mask(&self) -> Mat

Source§

fn normals(&self) -> Mat

Source§

impl RgbdICPOdometryTrait for BoxedRefMut<'_, RgbdICPOdometry>

Source§

fn as_raw_mut_RgbdICPOdometry( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_camera_matrix(&mut self, val: &impl MatTraitConst) -> Result<()>

Source§

fn set_min_depth(&mut self, val: f64) -> Result<()>

Source§

fn set_max_depth(&mut self, val: f64) -> Result<()>

Source§

fn set_max_depth_diff(&mut self, val: f64) -> Result<()>

Source§

fn set_max_points_part(&mut self, val: f64) -> Result<()>

Source§

fn set_iteration_counts(&mut self, val: &impl MatTraitConst) -> Result<()>

Source§

fn set_min_gradient_magnitudes( &mut self, val: &impl MatTraitConst, ) -> Result<()>

Source§

fn set_transform_type(&mut self, val: i32) -> Result<()>

Source§

fn set_max_translation(&mut self, val: f64) -> Result<()>

Source§

fn set_max_rotation(&mut self, val: f64) -> Result<()>

Source§

impl RgbdICPOdometryTraitConst for BoxedRefMut<'_, RgbdICPOdometry>

Source§

impl RgbdNormalsTrait for BoxedRefMut<'_, RgbdNormals>

Source§

fn as_raw_mut_RgbdNormals( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_rows(&mut self, val: i32) -> Result<()>

Source§

fn set_cols(&mut self, val: i32) -> Result<()>

Source§

fn set_window_size(&mut self, val: i32) -> Result<()>

Source§

fn set_depth(&mut self, val: i32) -> Result<()>

Source§

fn set_k(&mut self, val: &impl MatTraitConst) -> Result<()>

Source§

fn set_method(&mut self, val: i32) -> Result<()>

Source§

impl RgbdNormalsTraitConst for BoxedRefMut<'_, RgbdNormals>

Source§

fn as_raw_RgbdNormals(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn apply( &self, points: &impl ToInputArray, normals: &mut impl ToOutputArray, ) -> Result<()>

Given a set of 3d points in a depth image, compute the normals at each point. Read more
Source§

fn initialize(&self) -> Result<()>

Initializes some data that is cached for later computation If that function is not called, it will be called the first time normals are computed
Source§

fn get_rows(&self) -> Result<i32>

Source§

fn get_cols(&self) -> Result<i32>

Source§

fn get_window_size(&self) -> Result<i32>

Source§

fn get_depth(&self) -> Result<i32>

Source§

fn get_k(&self) -> Result<Mat>

Source§

fn get_method(&self) -> Result<i32>

Source§

impl RgbdOdometryTrait for BoxedRefMut<'_, RgbdOdometry>

Source§

fn as_raw_mut_RgbdOdometry( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_camera_matrix(&mut self, val: &impl MatTraitConst) -> Result<()>

Source§

fn set_min_depth(&mut self, val: f64) -> Result<()>

Source§

fn set_max_depth(&mut self, val: f64) -> Result<()>

Source§

fn set_max_depth_diff(&mut self, val: f64) -> Result<()>

Source§

fn set_iteration_counts(&mut self, val: &impl MatTraitConst) -> Result<()>

Source§

fn set_min_gradient_magnitudes( &mut self, val: &impl MatTraitConst, ) -> Result<()>

Source§

fn set_max_points_part(&mut self, val: f64) -> Result<()>

Source§

fn set_transform_type(&mut self, val: i32) -> Result<()>

Source§

fn set_max_translation(&mut self, val: f64) -> Result<()>

Source§

fn set_max_rotation(&mut self, val: f64) -> Result<()>

Source§

impl RgbdOdometryTraitConst for BoxedRefMut<'_, RgbdOdometry>

Source§

impl RgbdPlaneTrait for BoxedRefMut<'_, RgbdPlane>

Source§

fn as_raw_mut_RgbdPlane( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn apply( &mut self, points3d: &impl ToInputArray, normals: &impl ToInputArray, mask: &mut impl ToOutputArray, plane_coefficients: &mut impl ToOutputArray, ) -> Result<()>

Find The planes in a depth image Read more
Source§

fn apply_1( &mut self, points3d: &impl ToInputArray, mask: &mut impl ToOutputArray, plane_coefficients: &mut impl ToOutputArray, ) -> Result<()>

Find The planes in a depth image but without doing a normal check, which is faster but less accurate Read more
Source§

fn set_block_size(&mut self, val: i32) -> Result<()>

Source§

fn set_min_size(&mut self, val: i32) -> Result<()>

Source§

fn set_method(&mut self, val: i32) -> Result<()>

Source§

fn set_threshold(&mut self, val: f64) -> Result<()>

Source§

fn set_sensor_error_a(&mut self, val: f64) -> Result<()>

Source§

fn set_sensor_error_b(&mut self, val: f64) -> Result<()>

Source§

fn set_sensor_error_c(&mut self, val: f64) -> Result<()>

Source§

impl RgbdPlaneTraitConst for BoxedRefMut<'_, RgbdPlane>

Source§

fn as_raw_RgbdPlane(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_block_size(&self) -> Result<i32>

Source§

fn get_min_size(&self) -> Result<i32>

Source§

fn get_method(&self) -> Result<i32>

Source§

fn get_threshold(&self) -> Result<f64>

Source§

fn get_sensor_error_a(&self) -> Result<f64>

Source§

fn get_sensor_error_b(&self) -> Result<f64>

Source§

fn get_sensor_error_c(&self) -> Result<f64>

Source§

impl RidgeDetectionFilterTrait for BoxedRefMut<'_, RidgeDetectionFilter>

Source§

fn as_raw_mut_RidgeDetectionFilter( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn get_ridge_filtered_image( &mut self, _img: &impl ToInputArray, out: &mut impl ToOutputArray, ) -> Result<()>

Apply Ridge detection filter on input image. Read more
Source§

impl RidgeDetectionFilterTraitConst for BoxedRefMut<'_, RidgeDetectionFilter>

Source§

fn as_raw_RidgeDetectionFilter( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl RoundLayerTrait for BoxedRefMut<'_, RoundLayer>

Source§

fn as_raw_mut_RoundLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl RoundLayerTraitConst for BoxedRefMut<'_, RoundLayer>

Source§

fn as_raw_RoundLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl SFMLibmvEuclideanReconstructionTrait for BoxedRefMut<'_, SFMLibmvEuclideanReconstruction>

Source§

fn as_raw_mut_SFMLibmvEuclideanReconstruction( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn run(&mut self, points2d: &impl ToInputArray) -> Result<()>

Calls the pipeline in order to perform Eclidean reconstruction. Read more
Source§

fn run_1( &mut self, points2d: &impl ToInputArray, k: &mut impl ToInputOutputArray, rs: &mut impl ToOutputArray, ts: &mut impl ToOutputArray, points3d: &mut impl ToOutputArray, ) -> Result<()>

Calls the pipeline in order to perform Eclidean reconstruction. Read more
Source§

fn run_2(&mut self, images: &Vector<String>) -> Result<()>

Calls the pipeline in order to perform Eclidean reconstruction. Read more
Source§

fn run_3( &mut self, images: &Vector<String>, k: &mut impl ToInputOutputArray, rs: &mut impl ToOutputArray, ts: &mut impl ToOutputArray, points3d: &mut impl ToOutputArray, ) -> Result<()>

Calls the pipeline in order to perform Eclidean reconstruction. Read more
Source§

fn get_points(&mut self, points3d: &mut impl ToOutputArray) -> Result<()>

Returns the estimated 3d points. Read more
Source§

fn get_cameras( &mut self, rs: &mut impl ToOutputArray, ts: &mut impl ToOutputArray, ) -> Result<()>

Returns the estimated camera extrinsic parameters. Read more
Source§

fn set_reconstruction_options( &mut self, libmv_reconstruction_options: libmv_ReconstructionOptions, ) -> Result<()>

Setter method for reconstruction options. Read more
Source§

fn set_camera_intrinsic_options( &mut self, libmv_camera_intrinsics_options: libmv_CameraIntrinsicsOptions, ) -> Result<()>

Setter method for camera intrinsic options. Read more
Source§

impl SFMLibmvEuclideanReconstructionTraitConst for BoxedRefMut<'_, SFMLibmvEuclideanReconstruction>

Source§

fn as_raw_SFMLibmvEuclideanReconstruction( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_error(&self) -> Result<f64>

Returns the computed reprojection error.
Source§

fn get_intrinsics(&self) -> Result<Mat>

Returns the refined camera calibration matrix.
Source§

impl SIFTTrait for BoxedRefMut<'_, SIFT>

Source§

fn as_raw_mut_SIFT( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_n_features(&mut self, max_features: i32) -> Result<()>

Source§

fn set_n_octave_layers(&mut self, n_octave_layers: i32) -> Result<()>

Source§

fn set_contrast_threshold(&mut self, contrast_threshold: f64) -> Result<()>

Source§

fn set_edge_threshold(&mut self, edge_threshold: f64) -> Result<()>

Source§

fn set_sigma(&mut self, sigma: f64) -> Result<()>

Source§

impl SIFTTraitConst for BoxedRefMut<'_, SIFT>

Source§

fn as_raw_SIFT(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_default_name(&self) -> Result<String>

Source§

fn get_n_features(&self) -> Result<i32>

Source§

fn get_n_octave_layers(&self) -> Result<i32>

Source§

fn get_contrast_threshold(&self) -> Result<f64>

Source§

fn get_edge_threshold(&self) -> Result<f64>

Source§

fn get_sigma(&self) -> Result<f64>

Source§

impl SURFTrait for BoxedRefMut<'_, SURF>

Source§

fn as_raw_mut_SURF( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_hessian_threshold(&mut self, hessian_threshold: f64) -> Result<()>

Source§

fn set_n_octaves(&mut self, n_octaves: i32) -> Result<()>

Source§

fn set_n_octave_layers(&mut self, n_octave_layers: i32) -> Result<()>

Source§

fn set_extended(&mut self, extended: bool) -> Result<()>

Source§

fn set_upright(&mut self, upright: bool) -> Result<()>

Source§

impl SURFTraitConst for BoxedRefMut<'_, SURF>

Source§

fn as_raw_SURF(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_hessian_threshold(&self) -> Result<f64>

Source§

fn get_n_octaves(&self) -> Result<i32>

Source§

fn get_n_octave_layers(&self) -> Result<i32>

Source§

fn get_extended(&self) -> Result<bool>

Source§

fn get_upright(&self) -> Result<bool>

Source§

fn get_default_name(&self) -> Result<String>

Source§

impl SURF_CUDATrait for BoxedRefMut<'_, SURF_CUDA>

Source§

fn as_raw_mut_SURF_CUDA( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_hessian_threshold(&mut self, val: f64)

Source§

fn set_n_octaves(&mut self, val: i32)

Source§

fn set_n_octave_layers(&mut self, val: i32)

Source§

fn set_extended(&mut self, val: bool)

Source§

fn set_upright(&mut self, val: bool)

Source§

fn set_keypoints_ratio(&mut self, val: f32)

max keypoints = min(keypointsRatio * img.size().area(), 65535)
Source§

fn set_sum(&mut self, val: GpuMat)

Source§

fn set_mask1(&mut self, val: GpuMat)

Source§

fn set_mask_sum(&mut self, val: GpuMat)

Source§

fn set_det(&mut self, val: GpuMat)

Source§

fn set_trace(&mut self, val: GpuMat)

Source§

fn set_max_pos_buffer(&mut self, val: GpuMat)

Source§

fn upload_keypoints( &mut self, keypoints: &Vector<KeyPoint>, keypoints_gpu: &mut impl GpuMatTrait, ) -> Result<()>

upload host keypoints to device memory
Source§

fn download_keypoints( &mut self, keypoints_gpu: &impl GpuMatTraitConst, keypoints: &mut Vector<KeyPoint>, ) -> Result<()>

download keypoints from device to host memory
Source§

fn download_descriptors( &mut self, descriptors_gpu: &impl GpuMatTraitConst, descriptors: &mut Vector<f32>, ) -> Result<()>

download descriptors from device to host memory
Source§

fn apply( &mut self, img: &impl GpuMatTraitConst, mask: &impl GpuMatTraitConst, keypoints: &mut impl GpuMatTrait, ) -> Result<()>

finds the keypoints using fast hessian detector used in SURF supports CV_8UC1 images keypoints will have nFeature cols and 6 rows keypoints.ptr(X_ROW)[i] will contain x coordinate of i’th feature keypoints.ptr(Y_ROW)[i] will contain y coordinate of i’th feature keypoints.ptr(LAPLACIAN_ROW)[i] will contain laplacian sign of i’th feature keypoints.ptr(OCTAVE_ROW)[i] will contain octave of i’th feature keypoints.ptr(SIZE_ROW)[i] will contain size of i’th feature keypoints.ptr(ANGLE_ROW)[i] will contain orientation of i’th feature keypoints.ptr(HESSIAN_ROW)[i] will contain response of i’th feature
Source§

fn apply_1( &mut self, img: &impl GpuMatTraitConst, mask: &impl GpuMatTraitConst, keypoints: &mut impl GpuMatTrait, descriptors: &mut impl GpuMatTrait, use_provided_keypoints: bool, ) -> Result<()>

finds the keypoints and computes their descriptors. Optionally it can compute descriptors for the user-provided keypoints and recompute keypoints direction Read more
Source§

fn apply_def( &mut self, img: &impl GpuMatTraitConst, mask: &impl GpuMatTraitConst, keypoints: &mut impl GpuMatTrait, descriptors: &mut impl GpuMatTrait, ) -> Result<()>

finds the keypoints and computes their descriptors. Optionally it can compute descriptors for the user-provided keypoints and recompute keypoints direction Read more
Source§

fn detect( &mut self, img: &impl GpuMatTraitConst, mask: &impl GpuMatTraitConst, keypoints: &mut impl GpuMatTrait, ) -> Result<()>

Finds the keypoints using fast hessian detector used in SURF Read more
Source§

fn apply_2( &mut self, img: &impl GpuMatTraitConst, mask: &impl GpuMatTraitConst, keypoints: &mut Vector<KeyPoint>, ) -> Result<()>

Source§

fn apply_3( &mut self, img: &impl GpuMatTraitConst, mask: &impl GpuMatTraitConst, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl GpuMatTrait, use_provided_keypoints: bool, ) -> Result<()>

C++ default parameters Read more
Source§

fn apply_def_1( &mut self, img: &impl GpuMatTraitConst, mask: &impl GpuMatTraitConst, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl GpuMatTrait, ) -> Result<()>

Source§

fn detect_with_descriptors( &mut self, img: &impl GpuMatTraitConst, mask: &impl GpuMatTraitConst, keypoints: &mut impl GpuMatTrait, descriptors: &mut impl GpuMatTrait, use_provided_keypoints: bool, ) -> Result<()>

Finds the keypoints and computes their descriptors using fast hessian detector used in SURF Read more
Source§

fn detect_with_descriptors_def( &mut self, img: &impl GpuMatTraitConst, mask: &impl GpuMatTraitConst, keypoints: &mut impl GpuMatTrait, descriptors: &mut impl GpuMatTrait, ) -> Result<()>

Finds the keypoints and computes their descriptors using fast hessian detector used in SURF Read more
Source§

fn apply_4( &mut self, img: &impl GpuMatTraitConst, mask: &impl GpuMatTraitConst, keypoints: &mut Vector<KeyPoint>, descriptors: &mut Vector<f32>, use_provided_keypoints: bool, ) -> Result<()>

C++ default parameters Read more
Source§

fn apply_def_2( &mut self, img: &impl GpuMatTraitConst, mask: &impl GpuMatTraitConst, keypoints: &mut Vector<KeyPoint>, descriptors: &mut Vector<f32>, ) -> Result<()>

Source§

fn release_memory(&mut self) -> Result<()>

Source§

impl SURF_CUDATraitConst for BoxedRefMut<'_, SURF_CUDA>

Source§

fn as_raw_SURF_CUDA(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn hessian_threshold(&self) -> f64

Source§

fn n_octaves(&self) -> i32

Source§

fn n_octave_layers(&self) -> i32

Source§

fn extended(&self) -> bool

Source§

fn upright(&self) -> bool

Source§

fn keypoints_ratio(&self) -> f32

max keypoints = min(keypointsRatio * img.size().area(), 65535)
Source§

fn sum(&self) -> GpuMat

Source§

fn mask1(&self) -> GpuMat

Source§

fn mask_sum(&self) -> GpuMat

Source§

fn det(&self) -> GpuMat

Source§

fn trace(&self) -> GpuMat

Source§

fn max_pos_buffer(&self) -> GpuMat

Source§

fn descriptor_size(&self) -> Result<i32>

returns the descriptor size in float’s (64 or 128)
Source§

fn default_norm(&self) -> Result<i32>

returns the default norm type
Source§

impl SVDTrait for BoxedRefMut<'_, SVD>

Source§

fn as_raw_mut_SVD( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_u(&mut self, val: Mat)

Source§

fn set_w(&mut self, val: Mat)

Source§

fn set_vt(&mut self, val: Mat)

Source§

fn apply(&mut self, src: &impl ToInputArray, flags: i32) -> Result<SVD>

the operator that performs SVD. The previously allocated u, w and vt are released. Read more
Source§

fn apply_def(&mut self, src: &impl ToInputArray) -> Result<SVD>

the operator that performs SVD. The previously allocated u, w and vt are released. Read more
Source§

impl SVDTraitConst for BoxedRefMut<'_, SVD>

Source§

fn as_raw_SVD(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn u(&self) -> Mat

Source§

fn w(&self) -> Mat

Source§

fn vt(&self) -> Mat

Source§

fn back_subst( &self, rhs: &impl ToInputArray, dst: &mut impl ToOutputArray, ) -> Result<()>

performs a singular value back substitution. Read more
Source§

impl SVMSGDTrait for BoxedRefMut<'_, SVMSGD>

Source§

fn as_raw_mut_SVMSGD( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn get_weights(&mut self) -> Result<Mat>

Returns Read more
Source§

fn get_shift(&mut self) -> Result<f32>

Returns Read more
Source§

fn set_optimal_parameters( &mut self, svmsgd_type: i32, margin_type: i32, ) -> Result<()>

Function sets optimal parameters values for chosen SVM SGD model. Read more
Source§

fn set_optimal_parameters_def(&mut self) -> Result<()>

Function sets optimal parameters values for chosen SVM SGD model. Read more
Source§

fn set_svmsgd_type(&mut self, svmsgd_type: i32) -> Result<()>

%Algorithm type, one of SVMSGD::SvmsgdType. Read more
Source§

fn set_margin_type(&mut self, margin_type: i32) -> Result<()>

%Margin type, one of SVMSGD::MarginType. Read more
Source§

fn set_margin_regularization( &mut self, margin_regularization: f32, ) -> Result<()>

Parameter marginRegularization of a %SVMSGD optimization problem. Read more
Source§

fn set_initial_step_size(&mut self, initial_step_size: f32) -> Result<()>

Parameter initialStepSize of a %SVMSGD optimization problem. Read more
Source§

fn set_step_decreasing_power( &mut self, step_decreasing_power: f32, ) -> Result<()>

Parameter stepDecreasingPower of a %SVMSGD optimization problem. Read more
Source§

fn set_term_criteria(&mut self, val: TermCriteria) -> Result<()>

Termination criteria of the training algorithm. You can specify the maximum number of iterations (maxCount) and/or how much the error could change between the iterations to make the algorithm continue (epsilon). Read more
Source§

impl SVMSGDTraitConst for BoxedRefMut<'_, SVMSGD>

Source§

fn as_raw_SVMSGD(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_svmsgd_type(&self) -> Result<i32>

%Algorithm type, one of SVMSGD::SvmsgdType. Read more
Source§

fn get_margin_type(&self) -> Result<i32>

%Margin type, one of SVMSGD::MarginType. Read more
Source§

fn get_margin_regularization(&self) -> Result<f32>

Parameter marginRegularization of a %SVMSGD optimization problem. Read more
Source§

fn get_initial_step_size(&self) -> Result<f32>

Parameter initialStepSize of a %SVMSGD optimization problem. Read more
Source§

fn get_step_decreasing_power(&self) -> Result<f32>

Parameter stepDecreasingPower of a %SVMSGD optimization problem. Read more
Source§

fn get_term_criteria(&self) -> Result<TermCriteria>

Termination criteria of the training algorithm. You can specify the maximum number of iterations (maxCount) and/or how much the error could change between the iterations to make the algorithm continue (epsilon). Read more
Source§

impl SVMTrait for BoxedRefMut<'_, SVM>

Source§

fn as_raw_mut_SVM( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_type(&mut self, val: i32) -> Result<()>

Type of a %SVM formulation. See SVM::Types. Default value is SVM::C_SVC. Read more
Source§

fn set_gamma(&mut self, val: f64) -> Result<()>

Parameter inline formula of a kernel function. For SVM::POLY, SVM::RBF, SVM::SIGMOID or SVM::CHI2. Default value is 1. Read more
Source§

fn set_coef0(&mut self, val: f64) -> Result<()>

Parameter coef0 of a kernel function. For SVM::POLY or SVM::SIGMOID. Default value is 0. Read more
Source§

fn set_degree(&mut self, val: f64) -> Result<()>

Parameter degree of a kernel function. For SVM::POLY. Default value is 0. Read more
Source§

fn set_c(&mut self, val: f64) -> Result<()>

Parameter C of a %SVM optimization problem. For SVM::C_SVC, SVM::EPS_SVR or SVM::NU_SVR. Default value is 0. Read more
Source§

fn set_nu(&mut self, val: f64) -> Result<()>

Parameter inline formula of a %SVM optimization problem. For SVM::NU_SVC, SVM::ONE_CLASS or SVM::NU_SVR. Default value is 0. Read more
Source§

fn set_p(&mut self, val: f64) -> Result<()>

Parameter inline formula of a %SVM optimization problem. For SVM::EPS_SVR. Default value is 0. Read more
Source§

fn set_class_weights(&mut self, val: &impl MatTraitConst) -> Result<()>

Optional weights in the SVM::C_SVC problem, assigned to particular classes. They are multiplied by C so the parameter C of class i becomes classWeights(i) * C. Thus these weights affect the misclassification penalty for different classes. The larger weight, the larger penalty on misclassification of data from the corresponding class. Default value is empty Mat. Read more
Source§

fn set_term_criteria(&mut self, val: TermCriteria) -> Result<()>

Termination criteria of the iterative %SVM training procedure which solves a partial case of constrained quadratic optimization problem. You can specify tolerance and/or the maximum number of iterations. Default value is TermCriteria( TermCriteria::MAX_ITER + TermCriteria::EPS, 1000, FLT_EPSILON ); Read more
Source§

fn set_kernel(&mut self, kernel_type: i32) -> Result<()>

Initialize with one of predefined kernels. See SVM::KernelTypes.
Source§

fn set_custom_kernel(&mut self, _kernel: &Ptr<SVM_Kernel>) -> Result<()>

Initialize with custom kernel. See SVM::Kernel class for implementation details
Source§

fn train_auto( &mut self, data: &Ptr<TrainData>, k_fold: i32, cgrid: impl ParamGridTrait, gamma_grid: impl ParamGridTrait, p_grid: impl ParamGridTrait, nu_grid: impl ParamGridTrait, coeff_grid: impl ParamGridTrait, degree_grid: impl ParamGridTrait, balanced: bool, ) -> Result<bool>

Trains an %SVM with optimal parameters. Read more
Source§

fn train_auto_def(&mut self, data: &Ptr<TrainData>) -> Result<bool>

Trains an %SVM with optimal parameters. Read more
Source§

fn train_auto_with_data( &mut self, samples: &impl ToInputArray, layout: i32, responses: &impl ToInputArray, k_fold: i32, cgrid: Ptr<ParamGrid>, gamma_grid: Ptr<ParamGrid>, p_grid: Ptr<ParamGrid>, nu_grid: Ptr<ParamGrid>, coeff_grid: Ptr<ParamGrid>, degree_grid: Ptr<ParamGrid>, balanced: bool, ) -> Result<bool>

Trains an %SVM with optimal parameters Read more
Source§

fn train_auto_with_data_def( &mut self, samples: &impl ToInputArray, layout: i32, responses: &impl ToInputArray, ) -> Result<bool>

Trains an %SVM with optimal parameters Read more
Source§

impl SVMTraitConst for BoxedRefMut<'_, SVM>

Source§

fn as_raw_SVM(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_type(&self) -> Result<i32>

Type of a %SVM formulation. See SVM::Types. Default value is SVM::C_SVC. Read more
Source§

fn get_gamma(&self) -> Result<f64>

Parameter inline formula of a kernel function. For SVM::POLY, SVM::RBF, SVM::SIGMOID or SVM::CHI2. Default value is 1. Read more
Source§

fn get_coef0(&self) -> Result<f64>

Parameter coef0 of a kernel function. For SVM::POLY or SVM::SIGMOID. Default value is 0. Read more
Source§

fn get_degree(&self) -> Result<f64>

Parameter degree of a kernel function. For SVM::POLY. Default value is 0. Read more
Source§

fn get_c(&self) -> Result<f64>

Parameter C of a %SVM optimization problem. For SVM::C_SVC, SVM::EPS_SVR or SVM::NU_SVR. Default value is 0. Read more
Source§

fn get_nu(&self) -> Result<f64>

Parameter inline formula of a %SVM optimization problem. For SVM::NU_SVC, SVM::ONE_CLASS or SVM::NU_SVR. Default value is 0. Read more
Source§

fn get_p(&self) -> Result<f64>

Parameter inline formula of a %SVM optimization problem. For SVM::EPS_SVR. Default value is 0. Read more
Source§

fn get_class_weights(&self) -> Result<Mat>

Optional weights in the SVM::C_SVC problem, assigned to particular classes. They are multiplied by C so the parameter C of class i becomes classWeights(i) * C. Thus these weights affect the misclassification penalty for different classes. The larger weight, the larger penalty on misclassification of data from the corresponding class. Default value is empty Mat. Read more
Source§

fn get_term_criteria(&self) -> Result<TermCriteria>

Termination criteria of the iterative %SVM training procedure which solves a partial case of constrained quadratic optimization problem. You can specify tolerance and/or the maximum number of iterations. Default value is TermCriteria( TermCriteria::MAX_ITER + TermCriteria::EPS, 1000, FLT_EPSILON ); Read more
Source§

fn get_kernel_type(&self) -> Result<i32>

Type of a %SVM kernel. See SVM::KernelTypes. Default value is SVM::RBF.
Source§

fn get_support_vectors(&self) -> Result<Mat>

Retrieves all the support vectors Read more
Source§

fn get_uncompressed_support_vectors(&self) -> Result<Mat>

Retrieves all the uncompressed support vectors of a linear %SVM Read more
Source§

fn get_decision_function( &self, i: i32, alpha: &mut impl ToOutputArray, svidx: &mut impl ToOutputArray, ) -> Result<f64>

Retrieves the decision function Read more
Source§

impl SVM_KernelTrait for BoxedRefMut<'_, SVM_Kernel>

Source§

fn as_raw_mut_SVM_Kernel( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn calc( &mut self, vcount: i32, n: i32, vecs: &f32, another: &f32, results: &mut f32, ) -> Result<()>

Source§

impl SVM_KernelTraitConst for BoxedRefMut<'_, SVM_Kernel>

Source§

fn as_raw_SVM_Kernel(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_type(&self) -> Result<i32>

Source§

impl SaliencyTrait for BoxedRefMut<'_, MotionSaliency>

Source§

fn as_raw_mut_Saliency( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn compute_saliency( &mut self, image: &impl ToInputArray, saliency_map: &mut impl ToOutputArray, ) -> Result<bool>

\brief Compute the saliency \param image The image. \param saliencyMap The computed saliency map. \return true if the saliency map is computed, false otherwise
Source§

impl SaliencyTrait for BoxedRefMut<'_, MotionSaliencyBinWangApr2014>

Source§

fn as_raw_mut_Saliency( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn compute_saliency( &mut self, image: &impl ToInputArray, saliency_map: &mut impl ToOutputArray, ) -> Result<bool>

\brief Compute the saliency \param image The image. \param saliencyMap The computed saliency map. \return true if the saliency map is computed, false otherwise
Source§

impl SaliencyTrait for BoxedRefMut<'_, Objectness>

Source§

fn as_raw_mut_Saliency( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn compute_saliency( &mut self, image: &impl ToInputArray, saliency_map: &mut impl ToOutputArray, ) -> Result<bool>

\brief Compute the saliency \param image The image. \param saliencyMap The computed saliency map. \return true if the saliency map is computed, false otherwise
Source§

impl SaliencyTrait for BoxedRefMut<'_, ObjectnessBING>

Source§

fn as_raw_mut_Saliency( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn compute_saliency( &mut self, image: &impl ToInputArray, saliency_map: &mut impl ToOutputArray, ) -> Result<bool>

\brief Compute the saliency \param image The image. \param saliencyMap The computed saliency map. \return true if the saliency map is computed, false otherwise
Source§

impl SaliencyTrait for BoxedRefMut<'_, Saliency>

Source§

fn as_raw_mut_Saliency( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn compute_saliency( &mut self, image: &impl ToInputArray, saliency_map: &mut impl ToOutputArray, ) -> Result<bool>

\brief Compute the saliency \param image The image. \param saliencyMap The computed saliency map. \return true if the saliency map is computed, false otherwise
Source§

impl SaliencyTrait for BoxedRefMut<'_, StaticSaliency>

Source§

fn as_raw_mut_Saliency( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn compute_saliency( &mut self, image: &impl ToInputArray, saliency_map: &mut impl ToOutputArray, ) -> Result<bool>

\brief Compute the saliency \param image The image. \param saliencyMap The computed saliency map. \return true if the saliency map is computed, false otherwise
Source§

impl SaliencyTrait for BoxedRefMut<'_, StaticSaliencyFineGrained>

Source§

fn as_raw_mut_Saliency( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn compute_saliency( &mut self, image: &impl ToInputArray, saliency_map: &mut impl ToOutputArray, ) -> Result<bool>

\brief Compute the saliency \param image The image. \param saliencyMap The computed saliency map. \return true if the saliency map is computed, false otherwise
Source§

impl SaliencyTrait for BoxedRefMut<'_, StaticSaliencySpectralResidual>

Source§

fn as_raw_mut_Saliency( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn compute_saliency( &mut self, image: &impl ToInputArray, saliency_map: &mut impl ToOutputArray, ) -> Result<bool>

\brief Compute the saliency \param image The image. \param saliencyMap The computed saliency map. \return true if the saliency map is computed, false otherwise
Source§

impl SaliencyTraitConst for BoxedRefMut<'_, MotionSaliency>

Source§

fn as_raw_Saliency(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl SaliencyTraitConst for BoxedRefMut<'_, MotionSaliencyBinWangApr2014>

Source§

fn as_raw_Saliency(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl SaliencyTraitConst for BoxedRefMut<'_, Objectness>

Source§

fn as_raw_Saliency(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl SaliencyTraitConst for BoxedRefMut<'_, ObjectnessBING>

Source§

fn as_raw_Saliency(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl SaliencyTraitConst for BoxedRefMut<'_, Saliency>

Source§

fn as_raw_Saliency(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl SaliencyTraitConst for BoxedRefMut<'_, StaticSaliency>

Source§

fn as_raw_Saliency(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl SaliencyTraitConst for BoxedRefMut<'_, StaticSaliencyFineGrained>

Source§

fn as_raw_Saliency(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl SaliencyTraitConst for BoxedRefMut<'_, StaticSaliencySpectralResidual>

Source§

fn as_raw_Saliency(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl SavedIndexParamsTrait for BoxedRefMut<'_, SavedIndexParams>

Source§

fn as_raw_mut_SavedIndexParams( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl SavedIndexParamsTraitConst for BoxedRefMut<'_, SavedIndexParams>

Source§

fn as_raw_SavedIndexParams( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl ScalarTrait for BoxedRefMut<'_, Scalar>

Source§

fn as_raw_mut_Scalar( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn val_mut(&mut self) -> &mut [f64; 4]

Source§

fn get_mut(&mut self, i: i32) -> Result<f64>

Source§

impl ScalarTraitConst for BoxedRefMut<'_, Scalar>

Source§

fn as_raw_Scalar(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn val(&self) -> &[f64; 4]

Source§

fn get(&self, i: i32) -> Result<f64>

Source§

impl ScaleLayerInt8Trait for BoxedRefMut<'_, ScaleLayerInt8>

Source§

fn as_raw_mut_ScaleLayerInt8( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_output_sc(&mut self, val: f32)

Source§

fn set_output_zp(&mut self, val: i32)

Source§

impl ScaleLayerInt8TraitConst for BoxedRefMut<'_, ScaleLayerInt8>

Source§

fn as_raw_ScaleLayerInt8( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn output_sc(&self) -> f32

Source§

fn output_zp(&self) -> i32

Source§

impl ScaleLayerTrait for BoxedRefMut<'_, ScaleLayer>

Source§

fn as_raw_mut_ScaleLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_has_bias(&mut self, val: bool)

Source§

fn set_axis(&mut self, val: i32)

Source§

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

Source§

impl ScaleLayerTrait for BoxedRefMut<'_, ScaleLayerInt8>

Source§

fn as_raw_mut_ScaleLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_has_bias(&mut self, val: bool)

Source§

fn set_axis(&mut self, val: i32)

Source§

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

Source§

impl ScaleLayerTraitConst for BoxedRefMut<'_, ScaleLayer>

Source§

fn as_raw_ScaleLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn has_bias(&self) -> bool

Source§

fn axis(&self) -> i32

Source§

fn mode(&self) -> String

Source§

impl ScaleLayerTraitConst for BoxedRefMut<'_, ScaleLayerInt8>

Source§

fn as_raw_ScaleLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn has_bias(&self) -> bool

Source§

fn axis(&self) -> i32

Source§

fn mode(&self) -> String

Source§

impl ScanSegmentTrait for BoxedRefMut<'_, ScanSegment>

Source§

fn as_raw_mut_ScanSegment( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn get_number_of_superpixels(&mut self) -> Result<i32>

Returns the actual superpixel segmentation from the last image processed using iterate. Read more
Source§

fn iterate(&mut self, img: &impl ToInputArray) -> Result<()>

Calculates the superpixel segmentation on a given image with the initialized parameters in the ScanSegment object. Read more
Source§

fn get_labels(&mut self, labels_out: &mut impl ToOutputArray) -> Result<()>

Returns the segmentation labeling of the image. Read more
Source§

fn get_label_contour_mask( &mut self, image: &mut impl ToOutputArray, thick_line: bool, ) -> Result<()>

Returns the mask of the superpixel segmentation stored in the ScanSegment object. Read more
Source§

fn get_label_contour_mask_def( &mut self, image: &mut impl ToOutputArray, ) -> Result<()>

Returns the mask of the superpixel segmentation stored in the ScanSegment object. Read more
Source§

impl ScanSegmentTraitConst for BoxedRefMut<'_, ScanSegment>

Source§

fn as_raw_ScanSegment(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl ScatterLayerTrait for BoxedRefMut<'_, ScatterLayer>

Source§

fn as_raw_mut_ScatterLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ScatterLayerTraitConst for BoxedRefMut<'_, ScatterLayer>

Source§

fn as_raw_ScatterLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl ScatterNDLayerTrait for BoxedRefMut<'_, ScatterNDLayer>

Source§

fn as_raw_mut_ScatterNDLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ScatterNDLayerTraitConst for BoxedRefMut<'_, ScatterNDLayer>

Source§

fn as_raw_ScatterNDLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl SearchParamsTrait for BoxedRefMut<'_, SearchParams>

Source§

fn as_raw_mut_SearchParams( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl SearchParamsTraitConst for BoxedRefMut<'_, SearchParams>

Source§

fn as_raw_SearchParams(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl SegmentationModelTrait for BoxedRefMut<'_, SegmentationModel>

Source§

fn as_raw_mut_SegmentationModel( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn segment( &mut self, frame: &impl ToInputArray, mask: &mut impl ToOutputArray, ) -> Result<()>

Given the @p input frame, create input blob, run net Read more
Source§

impl SegmentationModelTraitConst for BoxedRefMut<'_, SegmentationModel>

Source§

fn as_raw_SegmentationModel( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl SelectiveSearchSegmentationStrategyColorTrait for BoxedRefMut<'_, SelectiveSearchSegmentationStrategyColor>

Source§

fn as_raw_mut_SelectiveSearchSegmentationStrategyColor( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl SelectiveSearchSegmentationStrategyColorTraitConst for BoxedRefMut<'_, SelectiveSearchSegmentationStrategyColor>

Source§

fn as_raw_SelectiveSearchSegmentationStrategyColor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl SelectiveSearchSegmentationStrategyFillTrait for BoxedRefMut<'_, SelectiveSearchSegmentationStrategyFill>

Source§

fn as_raw_mut_SelectiveSearchSegmentationStrategyFill( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl SelectiveSearchSegmentationStrategyFillTraitConst for BoxedRefMut<'_, SelectiveSearchSegmentationStrategyFill>

Source§

fn as_raw_SelectiveSearchSegmentationStrategyFill( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl SelectiveSearchSegmentationStrategyMultipleTrait for BoxedRefMut<'_, SelectiveSearchSegmentationStrategyMultiple>

Source§

fn as_raw_mut_SelectiveSearchSegmentationStrategyMultiple( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn add_strategy( &mut self, g: Ptr<SelectiveSearchSegmentationStrategy>, weight: f32, ) -> Result<()>

Add a new sub-strategy Read more
Source§

fn clear_strategies(&mut self) -> Result<()>

Remove all sub-strategies
Source§

impl SelectiveSearchSegmentationStrategyMultipleTraitConst for BoxedRefMut<'_, SelectiveSearchSegmentationStrategyMultiple>

Source§

fn as_raw_SelectiveSearchSegmentationStrategyMultiple( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl SelectiveSearchSegmentationStrategySizeTrait for BoxedRefMut<'_, SelectiveSearchSegmentationStrategySize>

Source§

fn as_raw_mut_SelectiveSearchSegmentationStrategySize( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl SelectiveSearchSegmentationStrategySizeTraitConst for BoxedRefMut<'_, SelectiveSearchSegmentationStrategySize>

Source§

fn as_raw_SelectiveSearchSegmentationStrategySize( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl SelectiveSearchSegmentationStrategyTextureTrait for BoxedRefMut<'_, SelectiveSearchSegmentationStrategyTexture>

Source§

fn as_raw_mut_SelectiveSearchSegmentationStrategyTexture( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl SelectiveSearchSegmentationStrategyTextureTraitConst for BoxedRefMut<'_, SelectiveSearchSegmentationStrategyTexture>

Source§

fn as_raw_SelectiveSearchSegmentationStrategyTexture( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl SelectiveSearchSegmentationStrategyTrait for BoxedRefMut<'_, SelectiveSearchSegmentationStrategy>

Source§

fn as_raw_mut_SelectiveSearchSegmentationStrategy( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_image( &mut self, img: &impl ToInputArray, regions: &impl ToInputArray, sizes: &impl ToInputArray, image_id: i32, ) -> Result<()>

Set a initial image, with a segmentation. Read more
Source§

fn set_image_def( &mut self, img: &impl ToInputArray, regions: &impl ToInputArray, sizes: &impl ToInputArray, ) -> Result<()>

Set a initial image, with a segmentation. Read more
Source§

fn get(&mut self, r1: i32, r2: i32) -> Result<f32>

Return the score between two regions (between 0 and 1) Read more
Source§

fn merge(&mut self, r1: i32, r2: i32) -> Result<()>

Inform the strategy that two regions will be merged Read more
Source§

impl SelectiveSearchSegmentationStrategyTrait for BoxedRefMut<'_, SelectiveSearchSegmentationStrategyColor>

Source§

fn as_raw_mut_SelectiveSearchSegmentationStrategy( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_image( &mut self, img: &impl ToInputArray, regions: &impl ToInputArray, sizes: &impl ToInputArray, image_id: i32, ) -> Result<()>

Set a initial image, with a segmentation. Read more
Source§

fn set_image_def( &mut self, img: &impl ToInputArray, regions: &impl ToInputArray, sizes: &impl ToInputArray, ) -> Result<()>

Set a initial image, with a segmentation. Read more
Source§

fn get(&mut self, r1: i32, r2: i32) -> Result<f32>

Return the score between two regions (between 0 and 1) Read more
Source§

fn merge(&mut self, r1: i32, r2: i32) -> Result<()>

Inform the strategy that two regions will be merged Read more
Source§

impl SelectiveSearchSegmentationStrategyTrait for BoxedRefMut<'_, SelectiveSearchSegmentationStrategyFill>

Source§

fn as_raw_mut_SelectiveSearchSegmentationStrategy( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_image( &mut self, img: &impl ToInputArray, regions: &impl ToInputArray, sizes: &impl ToInputArray, image_id: i32, ) -> Result<()>

Set a initial image, with a segmentation. Read more
Source§

fn set_image_def( &mut self, img: &impl ToInputArray, regions: &impl ToInputArray, sizes: &impl ToInputArray, ) -> Result<()>

Set a initial image, with a segmentation. Read more
Source§

fn get(&mut self, r1: i32, r2: i32) -> Result<f32>

Return the score between two regions (between 0 and 1) Read more
Source§

fn merge(&mut self, r1: i32, r2: i32) -> Result<()>

Inform the strategy that two regions will be merged Read more
Source§

impl SelectiveSearchSegmentationStrategyTrait for BoxedRefMut<'_, SelectiveSearchSegmentationStrategyMultiple>

Source§

fn as_raw_mut_SelectiveSearchSegmentationStrategy( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_image( &mut self, img: &impl ToInputArray, regions: &impl ToInputArray, sizes: &impl ToInputArray, image_id: i32, ) -> Result<()>

Set a initial image, with a segmentation. Read more
Source§

fn set_image_def( &mut self, img: &impl ToInputArray, regions: &impl ToInputArray, sizes: &impl ToInputArray, ) -> Result<()>

Set a initial image, with a segmentation. Read more
Source§

fn get(&mut self, r1: i32, r2: i32) -> Result<f32>

Return the score between two regions (between 0 and 1) Read more
Source§

fn merge(&mut self, r1: i32, r2: i32) -> Result<()>

Inform the strategy that two regions will be merged Read more
Source§

impl SelectiveSearchSegmentationStrategyTrait for BoxedRefMut<'_, SelectiveSearchSegmentationStrategySize>

Source§

fn as_raw_mut_SelectiveSearchSegmentationStrategy( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_image( &mut self, img: &impl ToInputArray, regions: &impl ToInputArray, sizes: &impl ToInputArray, image_id: i32, ) -> Result<()>

Set a initial image, with a segmentation. Read more
Source§

fn set_image_def( &mut self, img: &impl ToInputArray, regions: &impl ToInputArray, sizes: &impl ToInputArray, ) -> Result<()>

Set a initial image, with a segmentation. Read more
Source§

fn get(&mut self, r1: i32, r2: i32) -> Result<f32>

Return the score between two regions (between 0 and 1) Read more
Source§

fn merge(&mut self, r1: i32, r2: i32) -> Result<()>

Inform the strategy that two regions will be merged Read more
Source§

impl SelectiveSearchSegmentationStrategyTrait for BoxedRefMut<'_, SelectiveSearchSegmentationStrategyTexture>

Source§

fn as_raw_mut_SelectiveSearchSegmentationStrategy( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_image( &mut self, img: &impl ToInputArray, regions: &impl ToInputArray, sizes: &impl ToInputArray, image_id: i32, ) -> Result<()>

Set a initial image, with a segmentation. Read more
Source§

fn set_image_def( &mut self, img: &impl ToInputArray, regions: &impl ToInputArray, sizes: &impl ToInputArray, ) -> Result<()>

Set a initial image, with a segmentation. Read more
Source§

fn get(&mut self, r1: i32, r2: i32) -> Result<f32>

Return the score between two regions (between 0 and 1) Read more
Source§

fn merge(&mut self, r1: i32, r2: i32) -> Result<()>

Inform the strategy that two regions will be merged Read more
Source§

impl SelectiveSearchSegmentationStrategyTraitConst for BoxedRefMut<'_, SelectiveSearchSegmentationStrategy>

Source§

fn as_raw_SelectiveSearchSegmentationStrategy( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl SelectiveSearchSegmentationStrategyTraitConst for BoxedRefMut<'_, SelectiveSearchSegmentationStrategyColor>

Source§

fn as_raw_SelectiveSearchSegmentationStrategy( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl SelectiveSearchSegmentationStrategyTraitConst for BoxedRefMut<'_, SelectiveSearchSegmentationStrategyFill>

Source§

fn as_raw_SelectiveSearchSegmentationStrategy( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl SelectiveSearchSegmentationStrategyTraitConst for BoxedRefMut<'_, SelectiveSearchSegmentationStrategyMultiple>

Source§

fn as_raw_SelectiveSearchSegmentationStrategy( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl SelectiveSearchSegmentationStrategyTraitConst for BoxedRefMut<'_, SelectiveSearchSegmentationStrategySize>

Source§

fn as_raw_SelectiveSearchSegmentationStrategy( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl SelectiveSearchSegmentationStrategyTraitConst for BoxedRefMut<'_, SelectiveSearchSegmentationStrategyTexture>

Source§

fn as_raw_SelectiveSearchSegmentationStrategy( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl SelectiveSearchSegmentationTrait for BoxedRefMut<'_, SelectiveSearchSegmentation>

Source§

fn as_raw_mut_SelectiveSearchSegmentation( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_base_image(&mut self, img: &impl ToInputArray) -> Result<()>

Set a image used by switch* functions to initialize the class Read more
Source§

fn switch_to_single_strategy(&mut self, k: i32, sigma: f32) -> Result<()>

Initialize the class with the ‘Single stragegy’ parameters describled in uijlings2013selective. Read more
Source§

fn switch_to_single_strategy_def(&mut self) -> Result<()>

Initialize the class with the ‘Single stragegy’ parameters describled in uijlings2013selective. Read more
Source§

fn switch_to_selective_search_fast( &mut self, base_k: i32, inc_k: i32, sigma: f32, ) -> Result<()>

Initialize the class with the ‘Selective search fast’ parameters describled in uijlings2013selective. Read more
Source§

fn switch_to_selective_search_fast_def(&mut self) -> Result<()>

Initialize the class with the ‘Selective search fast’ parameters describled in uijlings2013selective. Read more
Source§

fn switch_to_selective_search_quality( &mut self, base_k: i32, inc_k: i32, sigma: f32, ) -> Result<()>

Initialize the class with the ‘Selective search fast’ parameters describled in uijlings2013selective. Read more
Source§

fn switch_to_selective_search_quality_def(&mut self) -> Result<()>

Initialize the class with the ‘Selective search fast’ parameters describled in uijlings2013selective. Read more
Source§

fn add_image(&mut self, img: &impl ToInputArray) -> Result<()>

Add a new image in the list of images to process. Read more
Source§

fn clear_images(&mut self) -> Result<()>

Clear the list of images to process
Source§

fn add_graph_segmentation(&mut self, g: Ptr<GraphSegmentation>) -> Result<()>

Add a new graph segmentation in the list of graph segementations to process. Read more
Source§

fn clear_graph_segmentations(&mut self) -> Result<()>

Clear the list of graph segmentations to process;
Source§

fn add_strategy( &mut self, s: Ptr<SelectiveSearchSegmentationStrategy>, ) -> Result<()>

Add a new strategy in the list of strategy to process. Read more
Source§

fn clear_strategies(&mut self) -> Result<()>

Clear the list of strategy to process;
Source§

fn process(&mut self, rects: &mut Vector<Rect>) -> Result<()>

Based on all images, graph segmentations and stragies, computes all possible rects and return them Read more
Source§

impl SelectiveSearchSegmentationTraitConst for BoxedRefMut<'_, SelectiveSearchSegmentation>

Source§

fn as_raw_SelectiveSearchSegmentation( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl SeluLayerTrait for BoxedRefMut<'_, SeluLayer>

Source§

fn as_raw_mut_SeluLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_alpha(&mut self, val: f32)

Source§

fn set_gamma(&mut self, val: f32)

Source§

impl SeluLayerTraitConst for BoxedRefMut<'_, SeluLayer>

Source§

fn as_raw_SeluLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn alpha(&self) -> f32

Source§

fn gamma(&self) -> f32

Source§

impl ShapeContextDistanceExtractorTrait for BoxedRefMut<'_, ShapeContextDistanceExtractor>

Source§

fn as_raw_mut_ShapeContextDistanceExtractor( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_angular_bins(&mut self, n_angular_bins: i32) -> Result<()>

Establish the number of angular bins for the Shape Context Descriptor used in the shape matching pipeline. Read more
Source§

fn set_radial_bins(&mut self, n_radial_bins: i32) -> Result<()>

Establish the number of radial bins for the Shape Context Descriptor used in the shape matching pipeline. Read more
Source§

fn set_inner_radius(&mut self, inner_radius: f32) -> Result<()>

Set the inner radius of the shape context descriptor. Read more
Source§

fn set_outer_radius(&mut self, outer_radius: f32) -> Result<()>

Set the outer radius of the shape context descriptor. Read more
Source§

fn set_rotation_invariant(&mut self, rotation_invariant: bool) -> Result<()>

Source§

fn set_shape_context_weight(&mut self, shape_context_weight: f32) -> Result<()>

Set the weight of the shape context distance in the final value of the shape distance. The shape context distance between two shapes is defined as the symmetric sum of shape context matching costs over best matching points. The final value of the shape distance is a user-defined linear combination of the shape context distance, an image appearance distance, and a bending energy. Read more
Source§

fn set_image_appearance_weight( &mut self, image_appearance_weight: f32, ) -> Result<()>

Set the weight of the Image Appearance cost in the final value of the shape distance. The image appearance cost is defined as the sum of squared brightness differences in Gaussian windows around corresponding image points. The final value of the shape distance is a user-defined linear combination of the shape context distance, an image appearance distance, and a bending energy. If this value is set to a number different from 0, is mandatory to set the images that correspond to each shape. Read more
Source§

fn set_bending_energy_weight( &mut self, bending_energy_weight: f32, ) -> Result<()>

Set the weight of the Bending Energy in the final value of the shape distance. The bending energy definition depends on what transformation is being used to align the shapes. The final value of the shape distance is a user-defined linear combination of the shape context distance, an image appearance distance, and a bending energy. Read more
Source§

fn set_images( &mut self, image1: &impl ToInputArray, image2: &impl ToInputArray, ) -> Result<()>

Set the images that correspond to each shape. This images are used in the calculation of the Image Appearance cost. Read more
Source§

fn set_iterations(&mut self, iterations: i32) -> Result<()>

Source§

fn set_cost_extractor( &mut self, comparer: Ptr<HistogramCostExtractor>, ) -> Result<()>

Set the algorithm used for building the shape context descriptor cost matrix. Read more
Source§

fn set_std_dev(&mut self, sigma: f32) -> Result<()>

Set the value of the standard deviation for the Gaussian window for the image appearance cost. Read more
Source§

fn set_transform_algorithm( &mut self, transformer: Ptr<ShapeTransformer>, ) -> Result<()>

Set the algorithm used for aligning the shapes. Read more
Source§

impl ShapeContextDistanceExtractorTraitConst for BoxedRefMut<'_, ShapeContextDistanceExtractor>

Source§

impl ShapeDistanceExtractorTrait for BoxedRefMut<'_, HausdorffDistanceExtractor>

Source§

fn as_raw_mut_ShapeDistanceExtractor( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn compute_distance( &mut self, contour1: &impl ToInputArray, contour2: &impl ToInputArray, ) -> Result<f32>

Compute the shape distance between two shapes defined by its contours. Read more
Source§

impl ShapeDistanceExtractorTrait for BoxedRefMut<'_, ShapeContextDistanceExtractor>

Source§

fn as_raw_mut_ShapeDistanceExtractor( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn compute_distance( &mut self, contour1: &impl ToInputArray, contour2: &impl ToInputArray, ) -> Result<f32>

Compute the shape distance between two shapes defined by its contours. Read more
Source§

impl ShapeDistanceExtractorTrait for BoxedRefMut<'_, ShapeDistanceExtractor>

Source§

fn as_raw_mut_ShapeDistanceExtractor( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn compute_distance( &mut self, contour1: &impl ToInputArray, contour2: &impl ToInputArray, ) -> Result<f32>

Compute the shape distance between two shapes defined by its contours. Read more
Source§

impl ShapeDistanceExtractorTraitConst for BoxedRefMut<'_, HausdorffDistanceExtractor>

Source§

fn as_raw_ShapeDistanceExtractor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl ShapeDistanceExtractorTraitConst for BoxedRefMut<'_, ShapeContextDistanceExtractor>

Source§

fn as_raw_ShapeDistanceExtractor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl ShapeDistanceExtractorTraitConst for BoxedRefMut<'_, ShapeDistanceExtractor>

Source§

fn as_raw_ShapeDistanceExtractor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl ShapeTransformerTrait for BoxedRefMut<'_, AffineTransformer>

Source§

fn as_raw_mut_ShapeTransformer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn estimate_transformation( &mut self, transforming_shape: &impl ToInputArray, target_shape: &impl ToInputArray, matches: &mut Vector<DMatch>, ) -> Result<()>

Estimate the transformation parameters of the current transformer algorithm, based on point matches. Read more
Source§

fn apply_transformation( &mut self, input: &impl ToInputArray, output: &mut impl ToOutputArray, ) -> Result<f32>

Apply a transformation, given a pre-estimated transformation parameters. Read more
Source§

fn apply_transformation_def(&mut self, input: &impl ToInputArray) -> Result<f32>

Apply a transformation, given a pre-estimated transformation parameters. Read more
Source§

impl ShapeTransformerTrait for BoxedRefMut<'_, ShapeTransformer>

Source§

fn as_raw_mut_ShapeTransformer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn estimate_transformation( &mut self, transforming_shape: &impl ToInputArray, target_shape: &impl ToInputArray, matches: &mut Vector<DMatch>, ) -> Result<()>

Estimate the transformation parameters of the current transformer algorithm, based on point matches. Read more
Source§

fn apply_transformation( &mut self, input: &impl ToInputArray, output: &mut impl ToOutputArray, ) -> Result<f32>

Apply a transformation, given a pre-estimated transformation parameters. Read more
Source§

fn apply_transformation_def(&mut self, input: &impl ToInputArray) -> Result<f32>

Apply a transformation, given a pre-estimated transformation parameters. Read more
Source§

impl ShapeTransformerTrait for BoxedRefMut<'_, ThinPlateSplineShapeTransformer>

Source§

fn as_raw_mut_ShapeTransformer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn estimate_transformation( &mut self, transforming_shape: &impl ToInputArray, target_shape: &impl ToInputArray, matches: &mut Vector<DMatch>, ) -> Result<()>

Estimate the transformation parameters of the current transformer algorithm, based on point matches. Read more
Source§

fn apply_transformation( &mut self, input: &impl ToInputArray, output: &mut impl ToOutputArray, ) -> Result<f32>

Apply a transformation, given a pre-estimated transformation parameters. Read more
Source§

fn apply_transformation_def(&mut self, input: &impl ToInputArray) -> Result<f32>

Apply a transformation, given a pre-estimated transformation parameters. Read more
Source§

impl ShapeTransformerTraitConst for BoxedRefMut<'_, AffineTransformer>

Source§

fn as_raw_ShapeTransformer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn warp_image( &self, transforming_image: &impl ToInputArray, output: &mut impl ToOutputArray, flags: i32, border_mode: i32, border_value: Scalar, ) -> Result<()>

Apply a transformation, given a pre-estimated transformation parameters, to an Image. Read more
Source§

fn warp_image_def( &self, transforming_image: &impl ToInputArray, output: &mut impl ToOutputArray, ) -> Result<()>

Apply a transformation, given a pre-estimated transformation parameters, to an Image. Read more
Source§

impl ShapeTransformerTraitConst for BoxedRefMut<'_, ShapeTransformer>

Source§

fn as_raw_ShapeTransformer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn warp_image( &self, transforming_image: &impl ToInputArray, output: &mut impl ToOutputArray, flags: i32, border_mode: i32, border_value: Scalar, ) -> Result<()>

Apply a transformation, given a pre-estimated transformation parameters, to an Image. Read more
Source§

fn warp_image_def( &self, transforming_image: &impl ToInputArray, output: &mut impl ToOutputArray, ) -> Result<()>

Apply a transformation, given a pre-estimated transformation parameters, to an Image. Read more
Source§

impl ShapeTransformerTraitConst for BoxedRefMut<'_, ThinPlateSplineShapeTransformer>

Source§

fn as_raw_ShapeTransformer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn warp_image( &self, transforming_image: &impl ToInputArray, output: &mut impl ToOutputArray, flags: i32, border_mode: i32, border_value: Scalar, ) -> Result<()>

Apply a transformation, given a pre-estimated transformation parameters, to an Image. Read more
Source§

fn warp_image_def( &self, transforming_image: &impl ToInputArray, output: &mut impl ToOutputArray, ) -> Result<()>

Apply a transformation, given a pre-estimated transformation parameters, to an Image. Read more
Source§

impl ShiftLayerInt8Trait for BoxedRefMut<'_, ShiftLayerInt8>

Source§

fn as_raw_mut_ShiftLayerInt8( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ShiftLayerInt8TraitConst for BoxedRefMut<'_, ShiftLayerInt8>

Source§

fn as_raw_ShiftLayerInt8( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl ShiftLayerTrait for BoxedRefMut<'_, ShiftLayer>

Source§

fn as_raw_mut_ShiftLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl ShiftLayerTraitConst for BoxedRefMut<'_, ShiftLayer>

Source§

fn as_raw_ShiftLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl ShrinkLayerTrait for BoxedRefMut<'_, ShrinkLayer>

Source§

fn as_raw_mut_ShrinkLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_bias(&mut self, val: f32)

Source§

fn set_lambd(&mut self, val: f32)

Source§

impl ShrinkLayerTraitConst for BoxedRefMut<'_, ShrinkLayer>

Source§

fn as_raw_ShrinkLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn bias(&self) -> f32

Source§

fn lambd(&self) -> f32

Source§

impl ShuffleChannelLayerTrait for BoxedRefMut<'_, ShuffleChannelLayer>

Source§

fn as_raw_mut_ShuffleChannelLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_group(&mut self, val: i32)

Source§

impl ShuffleChannelLayerTraitConst for BoxedRefMut<'_, ShuffleChannelLayer>

Source§

fn as_raw_ShuffleChannelLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn group(&self) -> i32

Source§

impl SigmoidLayerTrait for BoxedRefMut<'_, SigmoidLayer>

Source§

fn as_raw_mut_SigmoidLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl SigmoidLayerTraitConst for BoxedRefMut<'_, SigmoidLayer>

Source§

fn as_raw_SigmoidLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl SignLayerTrait for BoxedRefMut<'_, SignLayer>

Source§

fn as_raw_mut_SignLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl SignLayerTraitConst for BoxedRefMut<'_, SignLayer>

Source§

fn as_raw_SignLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl SimilarRectsTrait for BoxedRefMut<'_, SimilarRects>

Source§

fn as_raw_mut_SimilarRects( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_eps(&mut self, val: f64)

Source§

impl SimilarRectsTraitConst for BoxedRefMut<'_, SimilarRects>

Source§

fn as_raw_SimilarRects(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn eps(&self) -> f64

Source§

fn apply(&self, r1: Rect, r2: Rect) -> Result<bool>

Source§

impl SimpleBlobDetectorTrait for BoxedRefMut<'_, SimpleBlobDetector>

Source§

fn as_raw_mut_SimpleBlobDetector( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_params(&mut self, params: SimpleBlobDetector_Params) -> Result<()>

Source§

impl SimpleBlobDetectorTraitConst for BoxedRefMut<'_, SimpleBlobDetector>

Source§

fn as_raw_SimpleBlobDetector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_params(&self) -> Result<SimpleBlobDetector_Params>

Source§

fn get_default_name(&self) -> Result<String>

Source§

fn get_blob_contours(&self) -> Result<Vector<Vector<Point>>>

Source§

impl SimpleWBTrait for BoxedRefMut<'_, SimpleWB>

Source§

fn as_raw_mut_SimpleWB( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_input_min(&mut self, val: f32) -> Result<()>

Input image range minimum value Read more
Source§

fn set_input_max(&mut self, val: f32) -> Result<()>

Input image range maximum value Read more
Source§

fn set_output_min(&mut self, val: f32) -> Result<()>

Output image range minimum value Read more
Source§

fn set_output_max(&mut self, val: f32) -> Result<()>

Output image range maximum value Read more
Source§

fn set_p(&mut self, val: f32) -> Result<()>

Percent of top/bottom values to ignore Read more
Source§

impl SimpleWBTraitConst for BoxedRefMut<'_, SimpleWB>

Source§

fn as_raw_SimpleWB(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_input_min(&self) -> Result<f32>

Input image range minimum value Read more
Source§

fn get_input_max(&self) -> Result<f32>

Input image range maximum value Read more
Source§

fn get_output_min(&self) -> Result<f32>

Output image range minimum value Read more
Source§

fn get_output_max(&self) -> Result<f32>

Output image range maximum value Read more
Source§

fn get_p(&self) -> Result<f32>

Percent of top/bottom values to ignore Read more
Source§

impl SinLayerTrait for BoxedRefMut<'_, SinLayer>

Source§

fn as_raw_mut_SinLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl SinLayerTraitConst for BoxedRefMut<'_, SinLayer>

Source§

fn as_raw_SinLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl SinhLayerTrait for BoxedRefMut<'_, SinhLayer>

Source§

fn as_raw_mut_SinhLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl SinhLayerTraitConst for BoxedRefMut<'_, SinhLayer>

Source§

fn as_raw_SinhLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl SinusoidalPatternTrait for BoxedRefMut<'_, SinusoidalPattern>

Source§

fn as_raw_mut_SinusoidalPattern( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn compute_phase_map( &mut self, pattern_images: &impl ToInputArray, wrapped_phase_map: &mut impl ToOutputArray, shadow_mask: &mut impl ToOutputArray, fundamental: &impl ToInputArray, ) -> Result<()>

Compute a wrapped phase map from sinusoidal patterns. Read more
Source§

fn compute_phase_map_def( &mut self, pattern_images: &impl ToInputArray, wrapped_phase_map: &mut impl ToOutputArray, ) -> Result<()>

Compute a wrapped phase map from sinusoidal patterns. Read more
Source§

fn unwrap_phase_map( &mut self, wrapped_phase_map: &impl ToInputArray, unwrapped_phase_map: &mut impl ToOutputArray, cam_size: Size, shadow_mask: &impl ToInputArray, ) -> Result<()>

Unwrap the wrapped phase map to remove phase ambiguities. Read more
Source§

fn unwrap_phase_map_def( &mut self, wrapped_phase_map: &impl ToInputArray, unwrapped_phase_map: &mut impl ToOutputArray, cam_size: Size, ) -> Result<()>

Unwrap the wrapped phase map to remove phase ambiguities. Read more
Source§

fn find_pro_cam_matches( &mut self, proj_unwrapped_phase_map: &impl ToInputArray, cam_unwrapped_phase_map: &impl ToInputArray, matches: &mut impl ToOutputArray, ) -> Result<()>

Find correspondences between the two devices thanks to unwrapped phase maps. Read more
Source§

fn compute_data_modulation_term( &mut self, pattern_images: &impl ToInputArray, data_modulation_term: &mut impl ToOutputArray, shadow_mask: &impl ToInputArray, ) -> Result<()>

compute the data modulation term. Read more
Source§

impl SinusoidalPatternTraitConst for BoxedRefMut<'_, SinusoidalPattern>

Source§

fn as_raw_SinusoidalPattern( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl SinusoidalPattern_ParamsTrait for BoxedRefMut<'_, SinusoidalPattern_Params>

Source§

fn as_raw_mut_SinusoidalPattern_Params( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_width(&mut self, val: i32)

Source§

fn set_height(&mut self, val: i32)

Source§

fn set_nbr_of_periods(&mut self, val: i32)

Source§

fn set_shift_value(&mut self, val: f32)

Source§

fn set_method_id(&mut self, val: i32)

Source§

fn set_nbr_of_pixels_between_markers(&mut self, val: i32)

Source§

fn set_horizontal(&mut self, val: bool)

Source§

fn set_set_markers(&mut self, val: bool)

Source§

fn set_markers_location(&mut self, val: Vector<Point2f>)

Source§

impl SinusoidalPattern_ParamsTraitConst for BoxedRefMut<'_, SinusoidalPattern_Params>

Source§

fn as_raw_SinusoidalPattern_Params( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn width(&self) -> i32

Source§

fn height(&self) -> i32

Source§

fn nbr_of_periods(&self) -> i32

Source§

fn shift_value(&self) -> f32

Source§

fn method_id(&self) -> i32

Source§

fn nbr_of_pixels_between_markers(&self) -> i32

Source§

fn horizontal(&self) -> bool

Source§

fn set_markers(&self) -> bool

Source§

fn markers_location(&self) -> Vector<Point2f>

Source§

impl SliceLayerTrait for BoxedRefMut<'_, SliceLayer>

Source§

fn as_raw_mut_SliceLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_slice_ranges(&mut self, val: Vector<Vector<Range>>)

Vector of slice ranges. Read more
Source§

fn set_slice_steps(&mut self, val: Vector<Vector<i32>>)

Source§

fn set_axis(&mut self, val: i32)

Source§

fn set_num_split(&mut self, val: i32)

Source§

impl SliceLayerTraitConst for BoxedRefMut<'_, SliceLayer>

Source§

fn as_raw_SliceLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn slice_ranges(&self) -> Vector<Vector<Range>>

Vector of slice ranges. Read more
Source§

fn slice_steps(&self) -> Vector<Vector<i32>>

Source§

fn axis(&self) -> i32

Source§

fn num_split(&self) -> i32

Source§

impl SoftmaxLayerInt8Trait for BoxedRefMut<'_, SoftmaxLayerInt8>

Source§

fn as_raw_mut_SoftmaxLayerInt8( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_output_sc(&mut self, val: f32)

Source§

fn set_output_zp(&mut self, val: i32)

Source§

impl SoftmaxLayerInt8TraitConst for BoxedRefMut<'_, SoftmaxLayerInt8>

Source§

fn as_raw_SoftmaxLayerInt8( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn output_sc(&self) -> f32

Source§

fn output_zp(&self) -> i32

Source§

impl SoftmaxLayerTrait for BoxedRefMut<'_, SoftmaxLayer>

Source§

fn as_raw_mut_SoftmaxLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_log_soft_max(&mut self, val: bool)

Source§

impl SoftmaxLayerTrait for BoxedRefMut<'_, SoftmaxLayerInt8>

Source§

fn as_raw_mut_SoftmaxLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_log_soft_max(&mut self, val: bool)

Source§

impl SoftmaxLayerTraitConst for BoxedRefMut<'_, SoftmaxLayer>

Source§

fn as_raw_SoftmaxLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn log_soft_max(&self) -> bool

Source§

impl SoftmaxLayerTraitConst for BoxedRefMut<'_, SoftmaxLayerInt8>

Source§

fn as_raw_SoftmaxLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn log_soft_max(&self) -> bool

Source§

impl SoftplusLayerTrait for BoxedRefMut<'_, SoftplusLayer>

Source§

fn as_raw_mut_SoftplusLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl SoftplusLayerTraitConst for BoxedRefMut<'_, SoftplusLayer>

Source§

fn as_raw_SoftplusLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl SoftsignLayerTrait for BoxedRefMut<'_, SoftsignLayer>

Source§

fn as_raw_mut_SoftsignLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl SoftsignLayerTraitConst for BoxedRefMut<'_, SoftsignLayer>

Source§

fn as_raw_SoftsignLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl SpaceToDepthLayerTrait for BoxedRefMut<'_, SpaceToDepthLayer>

Source§

fn as_raw_mut_SpaceToDepthLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl SpaceToDepthLayerTraitConst for BoxedRefMut<'_, SpaceToDepthLayer>

Source§

fn as_raw_SpaceToDepthLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl SparseMatConstIteratorTrait for BoxedRefMut<'_, SparseMatConstIterator>

Source§

fn as_raw_mut_SparseMatConstIterator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_hashidx(&mut self, val: size_t)

Source§

fn ptr_mut(&mut self) -> *mut u8

Source§

unsafe fn set_ptr(&mut self, val: *const u8)

Source§

fn set(&mut self, it: &impl SparseMatConstIteratorTraitConst) -> Result<()>

the assignment operator
Source§

fn incr(&mut self) -> Result<SparseMatConstIterator>

moves iterator to the next element
Source§

fn seek_end(&mut self) -> Result<()>

moves iterator to the element after the last element
Source§

impl SparseMatConstIteratorTrait for BoxedRefMut<'_, SparseMatIterator>

Source§

fn as_raw_mut_SparseMatConstIterator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_hashidx(&mut self, val: size_t)

Source§

fn ptr_mut(&mut self) -> *mut u8

Source§

unsafe fn set_ptr(&mut self, val: *const u8)

Source§

fn set(&mut self, it: &impl SparseMatConstIteratorTraitConst) -> Result<()>

the assignment operator
Source§

fn incr(&mut self) -> Result<SparseMatConstIterator>

moves iterator to the next element
Source§

fn seek_end(&mut self) -> Result<()>

moves iterator to the element after the last element
Source§

impl SparseMatConstIteratorTraitConst for BoxedRefMut<'_, SparseMatConstIterator>

Source§

fn as_raw_SparseMatConstIterator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn m(&self) -> SparseMat

Source§

fn hashidx(&self) -> size_t

Source§

fn ptr(&self) -> *const u8

Source§

fn node(&self) -> Result<SparseMat_Node>

returns the current node of the sparse matrix. it.node->idx is the current element index
Source§

impl SparseMatConstIteratorTraitConst for BoxedRefMut<'_, SparseMatIterator>

Source§

fn as_raw_SparseMatConstIterator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn m(&self) -> SparseMat

Source§

fn hashidx(&self) -> size_t

Source§

fn ptr(&self) -> *const u8

Source§

fn node(&self) -> Result<SparseMat_Node>

returns the current node of the sparse matrix. it.node->idx is the current element index
Source§

impl SparseMatIteratorTrait for BoxedRefMut<'_, SparseMatIterator>

Source§

fn as_raw_mut_SparseMatIterator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set(&mut self, it: &impl SparseMatIteratorTraitConst) -> Result<()>

the assignment operator
Source§

fn incr(&mut self) -> Result<SparseMatIterator>

moves iterator to the next element
Source§

impl SparseMatIteratorTraitConst for BoxedRefMut<'_, SparseMatIterator>

Source§

fn as_raw_SparseMatIterator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn node(&self) -> Result<SparseMat_Node>

returns pointer to the current sparse matrix node. it.node->idx is the index of the current element (do not modify it!)
Source§

impl SparseMatTrait for BoxedRefMut<'_, SparseMat>

Source§

fn as_raw_mut_SparseMat( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_flags(&mut self, val: i32)

Source§

fn hdr(&mut self) -> SparseMat_Hdr

Source§

fn set_hdr(&mut self, val: &impl SparseMat_HdrTraitConst)

Source§

fn set(&mut self, m: &impl SparseMatTraitConst) -> Result<()>

assignment operator. This is O(1) operation, i.e. no data is copied
Source§

fn set_mat(&mut self, m: &impl MatTraitConst) -> Result<()>

equivalent to the corresponding constructor
Source§

fn create(&mut self, _sizes: &[i32], _type: i32) -> Result<()>

reallocates sparse matrix. Read more
Source§

fn clear(&mut self) -> Result<()>

sets all the sparse matrix elements to 0, which means clearing the hash table.
Source§

unsafe fn addref(&mut self) -> Result<()>

manually increments the reference counter to the header.
Source§

unsafe fn release(&mut self) -> Result<()>

Source§

fn ptr( &mut self, i0: i32, create_missing: bool, hashval: &mut size_t, ) -> Result<*mut u8>

specialized variants for 1D, 2D, 3D cases and the generic_type one for n-D case. return pointer to the matrix element. - if the element is there (it’s non-zero), the pointer to it is returned - if it’s not there and createMissing=false, NULL pointer is returned - if it’s not there and createMissing=true, then the new element is created and initialized with 0. Pointer to it is returned - if the optional hashval pointer is not NULL, the element hash value is not computed, but *hashval is taken instead. Read more
Source§

fn ptr_def(&mut self, i0: i32, create_missing: bool) -> Result<*mut u8>

specialized variants for 1D, 2D, 3D cases and the generic_type one for n-D case. return pointer to the matrix element. - if the element is there (it’s non-zero), the pointer to it is returned - if it’s not there and createMissing=false, NULL pointer is returned - if it’s not there and createMissing=true, then the new element is created and initialized with 0. Pointer to it is returned - if the optional hashval pointer is not NULL, the element hash value is not computed, but *hashval is taken instead. Read more
Source§

fn ptr_1( &mut self, i0: i32, i1: i32, create_missing: bool, hashval: &mut size_t, ) -> Result<*mut u8>

returns pointer to the specified element (2D case) Read more
Source§

fn ptr_def_1( &mut self, i0: i32, i1: i32, create_missing: bool, ) -> Result<*mut u8>

returns pointer to the specified element (2D case) Read more
Source§

fn ptr_2( &mut self, i0: i32, i1: i32, i2: i32, create_missing: bool, hashval: &mut size_t, ) -> Result<*mut u8>

returns pointer to the specified element (3D case) Read more
Source§

fn ptr_def_2( &mut self, i0: i32, i1: i32, i2: i32, create_missing: bool, ) -> Result<*mut u8>

returns pointer to the specified element (3D case) Read more
Source§

fn ptr_3( &mut self, idx: &i32, create_missing: bool, hashval: &mut size_t, ) -> Result<*mut u8>

returns pointer to the specified element (nD case) Read more
Source§

fn ptr_def_3(&mut self, idx: &i32, create_missing: bool) -> Result<*mut u8>

returns pointer to the specified element (nD case) Read more
Source§

fn erase(&mut self, i0: i32, i1: i32, hashval: &mut size_t) -> Result<()>

erases the specified element (2D case) Read more
Source§

fn erase_def(&mut self, i0: i32, i1: i32) -> Result<()>

erases the specified element (2D case) Read more
Source§

fn erase_1( &mut self, i0: i32, i1: i32, i2: i32, hashval: &mut size_t, ) -> Result<()>

erases the specified element (3D case) Read more
Source§

fn erase_def_1(&mut self, i0: i32, i1: i32, i2: i32) -> Result<()>

erases the specified element (3D case) Read more
Source§

fn erase_2(&mut self, idx: &i32, hashval: &mut size_t) -> Result<()>

erases the specified element (nD case) Read more
Source§

fn erase_def_2(&mut self, idx: &i32) -> Result<()>

erases the specified element (nD case) Read more
Source§

fn begin_mut(&mut self) -> Result<SparseMatIterator>

return the sparse matrix iterator pointing to the first sparse matrix element Read more
Source§

fn end_mut(&mut self) -> Result<SparseMatIterator>

return the sparse matrix iterator pointing to the element following the last sparse matrix element Read more
Source§

fn node_1(&mut self, nidx: size_t) -> Result<SparseMat_Node>

/////////// some internal-use methods ///////////////
Source§

fn new_node(&mut self, idx: &i32, hashval: size_t) -> Result<*mut u8>

Source§

fn remove_node( &mut self, hidx: size_t, nidx: size_t, previdx: size_t, ) -> Result<()>

Source§

fn resize_hash_tab(&mut self, newsize: size_t) -> Result<()>

Source§

impl SparseMatTraitConst for BoxedRefMut<'_, SparseMat>

Source§

fn as_raw_SparseMat(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn flags(&self) -> i32

Source§

fn try_clone(&self) -> Result<SparseMat>

creates full copy of the matrix
Source§

fn copy_to(&self, m: &mut impl SparseMatTrait) -> Result<()>

copies all the data to the destination matrix. All the previous content of m is erased
Source§

fn copy_to_mat(&self, m: &mut impl MatTrait) -> Result<()>

converts sparse matrix to dense matrix.
Source§

fn convert_to( &self, m: &mut impl SparseMatTrait, rtype: i32, alpha: f64, ) -> Result<()>

multiplies all the matrix elements by the specified scale factor alpha and converts the results to the specified data type Read more
Source§

fn convert_to_def(&self, m: &mut impl SparseMatTrait, rtype: i32) -> Result<()>

multiplies all the matrix elements by the specified scale factor alpha and converts the results to the specified data type Read more
Source§

fn convert_to_1( &self, m: &mut impl MatTrait, rtype: i32, alpha: f64, beta: f64, ) -> Result<()>

converts sparse matrix to dense n-dim matrix with optional type conversion and scaling. Read more
Source§

fn convert_to_def_1(&self, m: &mut impl MatTrait, rtype: i32) -> Result<()>

converts sparse matrix to dense n-dim matrix with optional type conversion and scaling. Read more
Source§

fn assign_to(&self, m: &mut impl SparseMatTrait, typ: i32) -> Result<()>

C++ default parameters Read more
Source§

fn assign_to_def(&self, m: &mut impl SparseMatTrait) -> Result<()>

Source§

fn elem_size(&self) -> size_t

returns the size of each element in bytes (not including the overhead - the space occupied by SparseMat::Node elements)
Source§

fn elem_size1(&self) -> size_t

returns elemSize()/channels()
Source§

fn typ(&self) -> i32

returns type of sparse matrix elements
Source§

fn depth(&self) -> i32

returns the depth of sparse matrix elements
Source§

fn channels(&self) -> i32

returns the number of channels
Source§

fn size(&self) -> Result<*const i32>

returns the array of sizes, or NULL if the matrix is not allocated
Source§

fn size_1(&self, i: i32) -> Result<i32>

returns the size of i-th matrix dimension (or 0)
Source§

fn dims(&self) -> Result<i32>

returns the matrix dimensionality
Source§

fn nzcount(&self) -> Result<size_t>

returns the number of non-zero elements (=the number of hash table nodes)
Source§

fn hash(&self, i0: i32) -> Result<size_t>

computes the element hash value (1D case)
Source§

fn hash_1(&self, i0: i32, i1: i32) -> Result<size_t>

computes the element hash value (2D case)
Source§

fn hash_2(&self, i0: i32, i1: i32, i2: i32) -> Result<size_t>

computes the element hash value (3D case)
Source§

fn hash_3(&self, idx: &i32) -> Result<size_t>

computes the element hash value (nD case)
Source§

fn begin(&self) -> Result<SparseMatConstIterator>

returns the read-only sparse matrix iterator at the matrix beginning
Source§

fn end(&self) -> Result<SparseMatConstIterator>

returns the read-only sparse matrix iterator at the matrix end
Source§

fn node(&self, nidx: size_t) -> Result<SparseMat_Node>

Source§

impl SparseMat_HdrTrait for BoxedRefMut<'_, SparseMat_Hdr>

Source§

fn as_raw_mut_SparseMat_Hdr( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_refcount(&mut self, val: i32)

Source§

fn set_dims(&mut self, val: i32)

Source§

fn set_value_offset(&mut self, val: i32)

Source§

fn set_node_size(&mut self, val: size_t)

Source§

fn set_node_count(&mut self, val: size_t)

Source§

fn set_free_list(&mut self, val: size_t)

Source§

fn set_pool(&mut self, val: Vector<u8>)

Source§

fn set_hashtab(&mut self, val: Vector<size_t>)

Source§

fn size_mut(&mut self) -> &mut [i32; 32]

Source§

fn clear(&mut self) -> Result<()>

Source§

impl SparseMat_HdrTraitConst for BoxedRefMut<'_, SparseMat_Hdr>

Source§

fn as_raw_SparseMat_Hdr( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn refcount(&self) -> i32

Source§

fn dims(&self) -> i32

Source§

fn value_offset(&self) -> i32

Source§

fn node_size(&self) -> size_t

Source§

fn node_count(&self) -> size_t

Source§

fn free_list(&self) -> size_t

Source§

fn pool(&self) -> Vector<u8>

Source§

fn hashtab(&self) -> Vector<size_t>

Source§

fn size(&self) -> &[i32; 32]

Source§

impl SparseMat_NodeTrait for BoxedRefMut<'_, SparseMat_Node>

Source§

fn as_raw_mut_SparseMat_Node( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_hashval(&mut self, val: size_t)

hash value
Source§

fn set_next(&mut self, val: size_t)

index of the next node in the same hash table entry
Source§

fn idx_mut(&mut self) -> &mut [i32; 32]

index of the matrix element
Source§

impl SparseMat_NodeTraitConst for BoxedRefMut<'_, SparseMat_Node>

Source§

fn as_raw_SparseMat_Node( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn hashval(&self) -> size_t

hash value
Source§

fn next(&self) -> size_t

index of the next node in the same hash table entry
Source§

fn idx(&self) -> &[i32; 32]

index of the matrix element
Source§

impl SparseMatchInterpolatorTrait for BoxedRefMut<'_, EdgeAwareInterpolator>

Source§

fn as_raw_mut_SparseMatchInterpolator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn interpolate( &mut self, from_image: &impl ToInputArray, from_points: &impl ToInputArray, to_image: &impl ToInputArray, to_points: &impl ToInputArray, dense_flow: &mut impl ToOutputArray, ) -> Result<()>

Interpolate input sparse matches. Read more
Source§

impl SparseMatchInterpolatorTrait for BoxedRefMut<'_, RICInterpolator>

Source§

fn as_raw_mut_SparseMatchInterpolator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn interpolate( &mut self, from_image: &impl ToInputArray, from_points: &impl ToInputArray, to_image: &impl ToInputArray, to_points: &impl ToInputArray, dense_flow: &mut impl ToOutputArray, ) -> Result<()>

Interpolate input sparse matches. Read more
Source§

impl SparseMatchInterpolatorTrait for BoxedRefMut<'_, SparseMatchInterpolator>

Source§

fn as_raw_mut_SparseMatchInterpolator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn interpolate( &mut self, from_image: &impl ToInputArray, from_points: &impl ToInputArray, to_image: &impl ToInputArray, to_points: &impl ToInputArray, dense_flow: &mut impl ToOutputArray, ) -> Result<()>

Interpolate input sparse matches. Read more
Source§

impl SparseMatchInterpolatorTraitConst for BoxedRefMut<'_, EdgeAwareInterpolator>

Source§

fn as_raw_SparseMatchInterpolator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl SparseMatchInterpolatorTraitConst for BoxedRefMut<'_, RICInterpolator>

Source§

fn as_raw_SparseMatchInterpolator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl SparseMatchInterpolatorTraitConst for BoxedRefMut<'_, SparseMatchInterpolator>

Source§

fn as_raw_SparseMatchInterpolator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl SparseOpticalFlowTrait for BoxedRefMut<'_, SparseOpticalFlow>

Source§

fn as_raw_mut_SparseOpticalFlow( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn calc( &mut self, prev_img: &impl ToInputArray, next_img: &impl ToInputArray, prev_pts: &impl ToInputArray, next_pts: &mut impl ToInputOutputArray, status: &mut impl ToOutputArray, err: &mut impl ToOutputArray, ) -> Result<()>

Calculates a sparse optical flow. Read more
Source§

fn calc_def( &mut self, prev_img: &impl ToInputArray, next_img: &impl ToInputArray, prev_pts: &impl ToInputArray, next_pts: &mut impl ToInputOutputArray, status: &mut impl ToOutputArray, ) -> Result<()>

Calculates a sparse optical flow. Read more
Source§

impl SparseOpticalFlowTrait for BoxedRefMut<'_, SparsePyrLKOpticalFlow>

Source§

fn as_raw_mut_SparseOpticalFlow( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn calc( &mut self, prev_img: &impl ToInputArray, next_img: &impl ToInputArray, prev_pts: &impl ToInputArray, next_pts: &mut impl ToInputOutputArray, status: &mut impl ToOutputArray, err: &mut impl ToOutputArray, ) -> Result<()>

Calculates a sparse optical flow. Read more
Source§

fn calc_def( &mut self, prev_img: &impl ToInputArray, next_img: &impl ToInputArray, prev_pts: &impl ToInputArray, next_pts: &mut impl ToInputOutputArray, status: &mut impl ToOutputArray, ) -> Result<()>

Calculates a sparse optical flow. Read more
Source§

impl SparseOpticalFlowTrait for BoxedRefMut<'_, SparseRLOFOpticalFlow>

Source§

fn as_raw_mut_SparseOpticalFlow( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn calc( &mut self, prev_img: &impl ToInputArray, next_img: &impl ToInputArray, prev_pts: &impl ToInputArray, next_pts: &mut impl ToInputOutputArray, status: &mut impl ToOutputArray, err: &mut impl ToOutputArray, ) -> Result<()>

Calculates a sparse optical flow. Read more
Source§

fn calc_def( &mut self, prev_img: &impl ToInputArray, next_img: &impl ToInputArray, prev_pts: &impl ToInputArray, next_pts: &mut impl ToInputOutputArray, status: &mut impl ToOutputArray, ) -> Result<()>

Calculates a sparse optical flow. Read more
Source§

impl SparseOpticalFlowTraitConst for BoxedRefMut<'_, SparseOpticalFlow>

Source§

fn as_raw_SparseOpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl SparseOpticalFlowTraitConst for BoxedRefMut<'_, SparsePyrLKOpticalFlow>

Source§

fn as_raw_SparseOpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl SparseOpticalFlowTraitConst for BoxedRefMut<'_, SparseRLOFOpticalFlow>

Source§

fn as_raw_SparseOpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl SparsePyrLKOpticalFlowTrait for BoxedRefMut<'_, SparsePyrLKOpticalFlow>

Source§

fn as_raw_mut_SparsePyrLKOpticalFlow( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_win_size(&mut self, win_size: Size) -> Result<()>

Source§

fn set_max_level(&mut self, max_level: i32) -> Result<()>

Source§

fn set_term_criteria(&mut self, crit: &mut TermCriteria) -> Result<()>

Source§

fn set_flags(&mut self, flags: i32) -> Result<()>

Source§

fn set_min_eig_threshold(&mut self, min_eig_threshold: f64) -> Result<()>

Source§

impl SparsePyrLKOpticalFlowTraitConst for BoxedRefMut<'_, SparsePyrLKOpticalFlow>

Source§

fn as_raw_SparsePyrLKOpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_win_size(&self) -> Result<Size>

Source§

fn get_max_level(&self) -> Result<i32>

Source§

fn get_term_criteria(&self) -> Result<TermCriteria>

Source§

fn get_flags(&self) -> Result<i32>

Source§

fn get_min_eig_threshold(&self) -> Result<f64>

Source§

impl SparsePyrLkOptFlowEstimatorGpuTrait for BoxedRefMut<'_, SparsePyrLkOptFlowEstimatorGpu>

Source§

fn as_raw_mut_SparsePyrLkOptFlowEstimatorGpu( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn run( &mut self, frame0: &impl ToInputArray, frame1: &impl ToInputArray, points0: &impl ToInputArray, points1: &mut impl ToInputOutputArray, status: &mut impl ToOutputArray, errors: &mut impl ToOutputArray, ) -> Result<()>

Source§

fn run_1( &mut self, frame0: &impl GpuMatTraitConst, frame1: &impl GpuMatTraitConst, points0: &impl GpuMatTraitConst, points1: &mut impl GpuMatTrait, status: &mut impl GpuMatTrait, errors: &mut impl GpuMatTrait, ) -> Result<()>

Source§

fn run_2( &mut self, frame0: &impl GpuMatTraitConst, frame1: &impl GpuMatTraitConst, points0: &impl GpuMatTraitConst, points1: &mut impl GpuMatTrait, status: &mut impl GpuMatTrait, ) -> Result<()>

Source§

impl SparsePyrLkOptFlowEstimatorGpuTraitConst for BoxedRefMut<'_, SparsePyrLkOptFlowEstimatorGpu>

Source§

fn as_raw_SparsePyrLkOptFlowEstimatorGpu( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl SparsePyrLkOptFlowEstimatorTrait for BoxedRefMut<'_, SparsePyrLkOptFlowEstimator>

Source§

fn as_raw_mut_SparsePyrLkOptFlowEstimator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn run( &mut self, frame0: &impl ToInputArray, frame1: &impl ToInputArray, points0: &impl ToInputArray, points1: &mut impl ToInputOutputArray, status: &mut impl ToOutputArray, errors: &mut impl ToOutputArray, ) -> Result<()>

Source§

impl SparsePyrLkOptFlowEstimatorTraitConst for BoxedRefMut<'_, SparsePyrLkOptFlowEstimator>

Source§

fn as_raw_SparsePyrLkOptFlowEstimator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl SparseRLOFOpticalFlowTrait for BoxedRefMut<'_, SparseRLOFOpticalFlow>

Source§

fn as_raw_mut_SparseRLOFOpticalFlow( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_rlof_optical_flow_parameter( &mut self, val: Ptr<RLOFOpticalFlowParameter>, ) -> Result<()>

@copydoc DenseRLOFOpticalFlow::setRLOFOpticalFlowParameter
Source§

fn set_forward_backward(&mut self, val: f32) -> Result<()>

Threshold for the forward backward confidence check For each feature point a motion vector inline formula is computed. * If the forward backward error block formula * is larger than threshold given by this function then the status will not be used by the following * vector field interpolation. inline formula denotes the backward flow. Note, the forward backward test * will only be applied if the threshold > 0. This may results into a doubled runtime for the motion estimation. * see also: setForwardBackward Read more
Source§

impl SparseRLOFOpticalFlowTraitConst for BoxedRefMut<'_, SparseRLOFOpticalFlow>

Source§

fn as_raw_SparseRLOFOpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_rlof_optical_flow_parameter( &self, ) -> Result<Ptr<RLOFOpticalFlowParameter>>

@copydoc DenseRLOFOpticalFlow::setRLOFOpticalFlowParameter Read more
Source§

fn get_forward_backward(&self) -> Result<f32>

Threshold for the forward backward confidence check For each feature point a motion vector inline formula is computed. * If the forward backward error block formula * is larger than threshold given by this function then the status will not be used by the following * vector field interpolation. inline formula denotes the backward flow. Note, the forward backward test * will only be applied if the threshold > 0. This may results into a doubled runtime for the motion estimation. * setForwardBackward Read more
Source§

impl SphericalWarperGpuTrait for BoxedRefMut<'_, SphericalWarperGpu>

Source§

fn as_raw_mut_SphericalWarperGpu( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl SphericalWarperGpuTraitConst for BoxedRefMut<'_, SphericalWarperGpu>

Source§

fn as_raw_SphericalWarperGpu( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn create(&self, scale: f32) -> Result<Ptr<Detail_RotationWarper>>

Source§

impl SphericalWarperTrait for BoxedRefMut<'_, SphericalWarper>

Source§

fn as_raw_mut_SphericalWarper( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl SphericalWarperTraitConst for BoxedRefMut<'_, SphericalWarper>

Source§

fn as_raw_SphericalWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn create(&self, scale: f32) -> Result<Ptr<Detail_RotationWarper>>

Source§

impl SplitLayerTrait for BoxedRefMut<'_, SplitLayer>

Source§

fn as_raw_mut_SplitLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_outputs_count(&mut self, val: i32)

Number of copies that will be produced (is ignored when negative).
Source§

impl SplitLayerTraitConst for BoxedRefMut<'_, SplitLayer>

Source§

fn as_raw_SplitLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn outputs_count(&self) -> i32

Number of copies that will be produced (is ignored when negative).
Source§

impl SqrtLayerTrait for BoxedRefMut<'_, SqrtLayer>

Source§

fn as_raw_mut_SqrtLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl SqrtLayerTraitConst for BoxedRefMut<'_, SqrtLayer>

Source§

fn as_raw_SqrtLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl StabilizerBaseTrait for BoxedRefMut<'_, OnePassStabilizer>

Source§

fn as_raw_mut_StabilizerBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_log(&mut self, ilog: Ptr<ILog>) -> Result<()>

Source§

fn set_radius(&mut self, val: i32) -> Result<()>

Source§

fn set_frame_source(&mut self, val: Ptr<IFrameSource>) -> Result<()>

Source§

fn set_mask_source(&mut self, val: &Ptr<IFrameSource>) -> Result<()>

Source§

fn set_motion_estimator( &mut self, val: Ptr<ImageMotionEstimatorBase>, ) -> Result<()>

Source§

fn set_deblurer(&mut self, val: Ptr<DeblurerBase>) -> Result<()>

Source§

fn set_trim_ratio(&mut self, val: f32) -> Result<()>

Source§

fn set_correction_for_inclusion(&mut self, val: bool) -> Result<()>

Source§

fn set_border_mode(&mut self, val: i32) -> Result<()>

Source§

fn set_inpainter(&mut self, val: Ptr<InpainterBase>) -> Result<()>

Source§

impl StabilizerBaseTrait for BoxedRefMut<'_, StabilizerBase>

Source§

fn as_raw_mut_StabilizerBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_log(&mut self, ilog: Ptr<ILog>) -> Result<()>

Source§

fn set_radius(&mut self, val: i32) -> Result<()>

Source§

fn set_frame_source(&mut self, val: Ptr<IFrameSource>) -> Result<()>

Source§

fn set_mask_source(&mut self, val: &Ptr<IFrameSource>) -> Result<()>

Source§

fn set_motion_estimator( &mut self, val: Ptr<ImageMotionEstimatorBase>, ) -> Result<()>

Source§

fn set_deblurer(&mut self, val: Ptr<DeblurerBase>) -> Result<()>

Source§

fn set_trim_ratio(&mut self, val: f32) -> Result<()>

Source§

fn set_correction_for_inclusion(&mut self, val: bool) -> Result<()>

Source§

fn set_border_mode(&mut self, val: i32) -> Result<()>

Source§

fn set_inpainter(&mut self, val: Ptr<InpainterBase>) -> Result<()>

Source§

impl StabilizerBaseTrait for BoxedRefMut<'_, TwoPassStabilizer>

Source§

fn as_raw_mut_StabilizerBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_log(&mut self, ilog: Ptr<ILog>) -> Result<()>

Source§

fn set_radius(&mut self, val: i32) -> Result<()>

Source§

fn set_frame_source(&mut self, val: Ptr<IFrameSource>) -> Result<()>

Source§

fn set_mask_source(&mut self, val: &Ptr<IFrameSource>) -> Result<()>

Source§

fn set_motion_estimator( &mut self, val: Ptr<ImageMotionEstimatorBase>, ) -> Result<()>

Source§

fn set_deblurer(&mut self, val: Ptr<DeblurerBase>) -> Result<()>

Source§

fn set_trim_ratio(&mut self, val: f32) -> Result<()>

Source§

fn set_correction_for_inclusion(&mut self, val: bool) -> Result<()>

Source§

fn set_border_mode(&mut self, val: i32) -> Result<()>

Source§

fn set_inpainter(&mut self, val: Ptr<InpainterBase>) -> Result<()>

Source§

impl StabilizerBaseTraitConst for BoxedRefMut<'_, OnePassStabilizer>

Source§

impl StabilizerBaseTraitConst for BoxedRefMut<'_, StabilizerBase>

Source§

impl StabilizerBaseTraitConst for BoxedRefMut<'_, TwoPassStabilizer>

Source§

impl StandardCollectorTrait for BoxedRefMut<'_, StandardCollector>

Source§

fn as_raw_mut_StandardCollector( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn init(&mut self, size: size_t) -> Result<()>

overloaded interface method
Source§

fn collect(&mut self, label: i32, dist: f64) -> Result<bool>

overloaded interface method
Source§

impl StandardCollectorTraitConst for BoxedRefMut<'_, StandardCollector>

Source§

fn as_raw_StandardCollector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_min_label(&self) -> Result<i32>

Returns label with minimal distance
Source§

fn get_min_dist(&self) -> Result<f64>

Returns minimal distance value
Source§

fn get_results(&self, sorted: bool) -> Result<Vector<Tuple<(i32, f64)>>>

Return results as vector Read more
Source§

fn get_results_def(&self) -> Result<Vector<Tuple<(i32, f64)>>>

Return results as vector Read more
Source§

impl StarDetectorTrait for BoxedRefMut<'_, StarDetector>

Source§

fn as_raw_mut_StarDetector( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_max_size(&mut self, _max_size: i32) -> Result<()>

Source§

fn set_response_threshold(&mut self, _response_threshold: i32) -> Result<()>

Source§

fn set_line_threshold_projected( &mut self, _line_threshold_projected: i32, ) -> Result<()>

Source§

fn set_line_threshold_binarized( &mut self, _line_threshold_binarized: i32, ) -> Result<()>

Source§

fn set_suppress_nonmax_size(&mut self, _suppress_nonmax_size: i32) -> Result<()>

Source§

impl StarDetectorTraitConst for BoxedRefMut<'_, StarDetector>

Source§

impl StatModelTrait for BoxedRefMut<'_, ANN_MLP>

Source§

fn as_raw_mut_StatModel( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn train_with_data( &mut self, train_data: &Ptr<TrainData>, flags: i32, ) -> Result<bool>

Trains the statistical model Read more
Source§

fn train_with_data_def(&mut self, train_data: &Ptr<TrainData>) -> Result<bool>

Trains the statistical model Read more
Source§

fn train( &mut self, samples: &impl ToInputArray, layout: i32, responses: &impl ToInputArray, ) -> Result<bool>

Trains the statistical model Read more
Source§

impl StatModelTrait for BoxedRefMut<'_, Boost>

Source§

fn as_raw_mut_StatModel( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn train_with_data( &mut self, train_data: &Ptr<TrainData>, flags: i32, ) -> Result<bool>

Trains the statistical model Read more
Source§

fn train_with_data_def(&mut self, train_data: &Ptr<TrainData>) -> Result<bool>

Trains the statistical model Read more
Source§

fn train( &mut self, samples: &impl ToInputArray, layout: i32, responses: &impl ToInputArray, ) -> Result<bool>

Trains the statistical model Read more
Source§

impl StatModelTrait for BoxedRefMut<'_, DTrees>

Source§

fn as_raw_mut_StatModel( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn train_with_data( &mut self, train_data: &Ptr<TrainData>, flags: i32, ) -> Result<bool>

Trains the statistical model Read more
Source§

fn train_with_data_def(&mut self, train_data: &Ptr<TrainData>) -> Result<bool>

Trains the statistical model Read more
Source§

fn train( &mut self, samples: &impl ToInputArray, layout: i32, responses: &impl ToInputArray, ) -> Result<bool>

Trains the statistical model Read more
Source§

impl StatModelTrait for BoxedRefMut<'_, EM>

Source§

fn as_raw_mut_StatModel( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn train_with_data( &mut self, train_data: &Ptr<TrainData>, flags: i32, ) -> Result<bool>

Trains the statistical model Read more
Source§

fn train_with_data_def(&mut self, train_data: &Ptr<TrainData>) -> Result<bool>

Trains the statistical model Read more
Source§

fn train( &mut self, samples: &impl ToInputArray, layout: i32, responses: &impl ToInputArray, ) -> Result<bool>

Trains the statistical model Read more
Source§

impl StatModelTrait for BoxedRefMut<'_, KNearest>

Source§

fn as_raw_mut_StatModel( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn train_with_data( &mut self, train_data: &Ptr<TrainData>, flags: i32, ) -> Result<bool>

Trains the statistical model Read more
Source§

fn train_with_data_def(&mut self, train_data: &Ptr<TrainData>) -> Result<bool>

Trains the statistical model Read more
Source§

fn train( &mut self, samples: &impl ToInputArray, layout: i32, responses: &impl ToInputArray, ) -> Result<bool>

Trains the statistical model Read more
Source§

impl StatModelTrait for BoxedRefMut<'_, LogisticRegression>

Source§

fn as_raw_mut_StatModel( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn train_with_data( &mut self, train_data: &Ptr<TrainData>, flags: i32, ) -> Result<bool>

Trains the statistical model Read more
Source§

fn train_with_data_def(&mut self, train_data: &Ptr<TrainData>) -> Result<bool>

Trains the statistical model Read more
Source§

fn train( &mut self, samples: &impl ToInputArray, layout: i32, responses: &impl ToInputArray, ) -> Result<bool>

Trains the statistical model Read more
Source§

impl StatModelTrait for BoxedRefMut<'_, NormalBayesClassifier>

Source§

fn as_raw_mut_StatModel( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn train_with_data( &mut self, train_data: &Ptr<TrainData>, flags: i32, ) -> Result<bool>

Trains the statistical model Read more
Source§

fn train_with_data_def(&mut self, train_data: &Ptr<TrainData>) -> Result<bool>

Trains the statistical model Read more
Source§

fn train( &mut self, samples: &impl ToInputArray, layout: i32, responses: &impl ToInputArray, ) -> Result<bool>

Trains the statistical model Read more
Source§

impl StatModelTrait for BoxedRefMut<'_, RTrees>

Source§

fn as_raw_mut_StatModel( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn train_with_data( &mut self, train_data: &Ptr<TrainData>, flags: i32, ) -> Result<bool>

Trains the statistical model Read more
Source§

fn train_with_data_def(&mut self, train_data: &Ptr<TrainData>) -> Result<bool>

Trains the statistical model Read more
Source§

fn train( &mut self, samples: &impl ToInputArray, layout: i32, responses: &impl ToInputArray, ) -> Result<bool>

Trains the statistical model Read more
Source§

impl StatModelTrait for BoxedRefMut<'_, SVM>

Source§

fn as_raw_mut_StatModel( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn train_with_data( &mut self, train_data: &Ptr<TrainData>, flags: i32, ) -> Result<bool>

Trains the statistical model Read more
Source§

fn train_with_data_def(&mut self, train_data: &Ptr<TrainData>) -> Result<bool>

Trains the statistical model Read more
Source§

fn train( &mut self, samples: &impl ToInputArray, layout: i32, responses: &impl ToInputArray, ) -> Result<bool>

Trains the statistical model Read more
Source§

impl StatModelTrait for BoxedRefMut<'_, SVMSGD>

Source§

fn as_raw_mut_StatModel( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn train_with_data( &mut self, train_data: &Ptr<TrainData>, flags: i32, ) -> Result<bool>

Trains the statistical model Read more
Source§

fn train_with_data_def(&mut self, train_data: &Ptr<TrainData>) -> Result<bool>

Trains the statistical model Read more
Source§

fn train( &mut self, samples: &impl ToInputArray, layout: i32, responses: &impl ToInputArray, ) -> Result<bool>

Trains the statistical model Read more
Source§

impl StatModelTrait for BoxedRefMut<'_, StatModel>

Source§

fn as_raw_mut_StatModel( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn train_with_data( &mut self, train_data: &Ptr<TrainData>, flags: i32, ) -> Result<bool>

Trains the statistical model Read more
Source§

fn train_with_data_def(&mut self, train_data: &Ptr<TrainData>) -> Result<bool>

Trains the statistical model Read more
Source§

fn train( &mut self, samples: &impl ToInputArray, layout: i32, responses: &impl ToInputArray, ) -> Result<bool>

Trains the statistical model Read more
Source§

impl StatModelTraitConst for BoxedRefMut<'_, ANN_MLP>

Source§

fn as_raw_StatModel(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_var_count(&self) -> Result<i32>

Returns the number of variables in training samples
Source§

fn empty(&self) -> Result<bool>

Source§

fn is_trained(&self) -> Result<bool>

Returns true if the model is trained
Source§

fn is_classifier(&self) -> Result<bool>

Returns true if the model is classifier
Source§

fn calc_error( &self, data: &Ptr<TrainData>, test: bool, resp: &mut impl ToOutputArray, ) -> Result<f32>

Computes error on the training or test dataset Read more
Source§

fn predict( &self, samples: &impl ToInputArray, results: &mut impl ToOutputArray, flags: i32, ) -> Result<f32>

Predicts response(s) for the provided sample(s) Read more
Source§

fn predict_def(&self, samples: &impl ToInputArray) -> Result<f32>

Predicts response(s) for the provided sample(s) Read more
Source§

impl StatModelTraitConst for BoxedRefMut<'_, Boost>

Source§

fn as_raw_StatModel(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_var_count(&self) -> Result<i32>

Returns the number of variables in training samples
Source§

fn empty(&self) -> Result<bool>

Source§

fn is_trained(&self) -> Result<bool>

Returns true if the model is trained
Source§

fn is_classifier(&self) -> Result<bool>

Returns true if the model is classifier
Source§

fn calc_error( &self, data: &Ptr<TrainData>, test: bool, resp: &mut impl ToOutputArray, ) -> Result<f32>

Computes error on the training or test dataset Read more
Source§

fn predict( &self, samples: &impl ToInputArray, results: &mut impl ToOutputArray, flags: i32, ) -> Result<f32>

Predicts response(s) for the provided sample(s) Read more
Source§

fn predict_def(&self, samples: &impl ToInputArray) -> Result<f32>

Predicts response(s) for the provided sample(s) Read more
Source§

impl StatModelTraitConst for BoxedRefMut<'_, DTrees>

Source§

fn as_raw_StatModel(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_var_count(&self) -> Result<i32>

Returns the number of variables in training samples
Source§

fn empty(&self) -> Result<bool>

Source§

fn is_trained(&self) -> Result<bool>

Returns true if the model is trained
Source§

fn is_classifier(&self) -> Result<bool>

Returns true if the model is classifier
Source§

fn calc_error( &self, data: &Ptr<TrainData>, test: bool, resp: &mut impl ToOutputArray, ) -> Result<f32>

Computes error on the training or test dataset Read more
Source§

fn predict( &self, samples: &impl ToInputArray, results: &mut impl ToOutputArray, flags: i32, ) -> Result<f32>

Predicts response(s) for the provided sample(s) Read more
Source§

fn predict_def(&self, samples: &impl ToInputArray) -> Result<f32>

Predicts response(s) for the provided sample(s) Read more
Source§

impl StatModelTraitConst for BoxedRefMut<'_, EM>

Source§

fn as_raw_StatModel(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_var_count(&self) -> Result<i32>

Returns the number of variables in training samples
Source§

fn empty(&self) -> Result<bool>

Source§

fn is_trained(&self) -> Result<bool>

Returns true if the model is trained
Source§

fn is_classifier(&self) -> Result<bool>

Returns true if the model is classifier
Source§

fn calc_error( &self, data: &Ptr<TrainData>, test: bool, resp: &mut impl ToOutputArray, ) -> Result<f32>

Computes error on the training or test dataset Read more
Source§

fn predict( &self, samples: &impl ToInputArray, results: &mut impl ToOutputArray, flags: i32, ) -> Result<f32>

Predicts response(s) for the provided sample(s) Read more
Source§

fn predict_def(&self, samples: &impl ToInputArray) -> Result<f32>

Predicts response(s) for the provided sample(s) Read more
Source§

impl StatModelTraitConst for BoxedRefMut<'_, KNearest>

Source§

fn as_raw_StatModel(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_var_count(&self) -> Result<i32>

Returns the number of variables in training samples
Source§

fn empty(&self) -> Result<bool>

Source§

fn is_trained(&self) -> Result<bool>

Returns true if the model is trained
Source§

fn is_classifier(&self) -> Result<bool>

Returns true if the model is classifier
Source§

fn calc_error( &self, data: &Ptr<TrainData>, test: bool, resp: &mut impl ToOutputArray, ) -> Result<f32>

Computes error on the training or test dataset Read more
Source§

fn predict( &self, samples: &impl ToInputArray, results: &mut impl ToOutputArray, flags: i32, ) -> Result<f32>

Predicts response(s) for the provided sample(s) Read more
Source§

fn predict_def(&self, samples: &impl ToInputArray) -> Result<f32>

Predicts response(s) for the provided sample(s) Read more
Source§

impl StatModelTraitConst for BoxedRefMut<'_, LogisticRegression>

Source§

fn as_raw_StatModel(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_var_count(&self) -> Result<i32>

Returns the number of variables in training samples
Source§

fn empty(&self) -> Result<bool>

Source§

fn is_trained(&self) -> Result<bool>

Returns true if the model is trained
Source§

fn is_classifier(&self) -> Result<bool>

Returns true if the model is classifier
Source§

fn calc_error( &self, data: &Ptr<TrainData>, test: bool, resp: &mut impl ToOutputArray, ) -> Result<f32>

Computes error on the training or test dataset Read more
Source§

fn predict( &self, samples: &impl ToInputArray, results: &mut impl ToOutputArray, flags: i32, ) -> Result<f32>

Predicts response(s) for the provided sample(s) Read more
Source§

fn predict_def(&self, samples: &impl ToInputArray) -> Result<f32>

Predicts response(s) for the provided sample(s) Read more
Source§

impl StatModelTraitConst for BoxedRefMut<'_, NormalBayesClassifier>

Source§

fn as_raw_StatModel(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_var_count(&self) -> Result<i32>

Returns the number of variables in training samples
Source§

fn empty(&self) -> Result<bool>

Source§

fn is_trained(&self) -> Result<bool>

Returns true if the model is trained
Source§

fn is_classifier(&self) -> Result<bool>

Returns true if the model is classifier
Source§

fn calc_error( &self, data: &Ptr<TrainData>, test: bool, resp: &mut impl ToOutputArray, ) -> Result<f32>

Computes error on the training or test dataset Read more
Source§

fn predict( &self, samples: &impl ToInputArray, results: &mut impl ToOutputArray, flags: i32, ) -> Result<f32>

Predicts response(s) for the provided sample(s) Read more
Source§

fn predict_def(&self, samples: &impl ToInputArray) -> Result<f32>

Predicts response(s) for the provided sample(s) Read more
Source§

impl StatModelTraitConst for BoxedRefMut<'_, RTrees>

Source§

fn as_raw_StatModel(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_var_count(&self) -> Result<i32>

Returns the number of variables in training samples
Source§

fn empty(&self) -> Result<bool>

Source§

fn is_trained(&self) -> Result<bool>

Returns true if the model is trained
Source§

fn is_classifier(&self) -> Result<bool>

Returns true if the model is classifier
Source§

fn calc_error( &self, data: &Ptr<TrainData>, test: bool, resp: &mut impl ToOutputArray, ) -> Result<f32>

Computes error on the training or test dataset Read more
Source§

fn predict( &self, samples: &impl ToInputArray, results: &mut impl ToOutputArray, flags: i32, ) -> Result<f32>

Predicts response(s) for the provided sample(s) Read more
Source§

fn predict_def(&self, samples: &impl ToInputArray) -> Result<f32>

Predicts response(s) for the provided sample(s) Read more
Source§

impl StatModelTraitConst for BoxedRefMut<'_, SVM>

Source§

fn as_raw_StatModel(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_var_count(&self) -> Result<i32>

Returns the number of variables in training samples
Source§

fn empty(&self) -> Result<bool>

Source§

fn is_trained(&self) -> Result<bool>

Returns true if the model is trained
Source§

fn is_classifier(&self) -> Result<bool>

Returns true if the model is classifier
Source§

fn calc_error( &self, data: &Ptr<TrainData>, test: bool, resp: &mut impl ToOutputArray, ) -> Result<f32>

Computes error on the training or test dataset Read more
Source§

fn predict( &self, samples: &impl ToInputArray, results: &mut impl ToOutputArray, flags: i32, ) -> Result<f32>

Predicts response(s) for the provided sample(s) Read more
Source§

fn predict_def(&self, samples: &impl ToInputArray) -> Result<f32>

Predicts response(s) for the provided sample(s) Read more
Source§

impl StatModelTraitConst for BoxedRefMut<'_, SVMSGD>

Source§

fn as_raw_StatModel(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_var_count(&self) -> Result<i32>

Returns the number of variables in training samples
Source§

fn empty(&self) -> Result<bool>

Source§

fn is_trained(&self) -> Result<bool>

Returns true if the model is trained
Source§

fn is_classifier(&self) -> Result<bool>

Returns true if the model is classifier
Source§

fn calc_error( &self, data: &Ptr<TrainData>, test: bool, resp: &mut impl ToOutputArray, ) -> Result<f32>

Computes error on the training or test dataset Read more
Source§

fn predict( &self, samples: &impl ToInputArray, results: &mut impl ToOutputArray, flags: i32, ) -> Result<f32>

Predicts response(s) for the provided sample(s) Read more
Source§

fn predict_def(&self, samples: &impl ToInputArray) -> Result<f32>

Predicts response(s) for the provided sample(s) Read more
Source§

impl StatModelTraitConst for BoxedRefMut<'_, StatModel>

Source§

fn as_raw_StatModel(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_var_count(&self) -> Result<i32>

Returns the number of variables in training samples
Source§

fn empty(&self) -> Result<bool>

Source§

fn is_trained(&self) -> Result<bool>

Returns true if the model is trained
Source§

fn is_classifier(&self) -> Result<bool>

Returns true if the model is classifier
Source§

fn calc_error( &self, data: &Ptr<TrainData>, test: bool, resp: &mut impl ToOutputArray, ) -> Result<f32>

Computes error on the training or test dataset Read more
Source§

fn predict( &self, samples: &impl ToInputArray, results: &mut impl ToOutputArray, flags: i32, ) -> Result<f32>

Predicts response(s) for the provided sample(s) Read more
Source§

fn predict_def(&self, samples: &impl ToInputArray) -> Result<f32>

Predicts response(s) for the provided sample(s) Read more
Source§

impl StaticSaliencyFineGrainedTrait for BoxedRefMut<'_, StaticSaliencyFineGrained>

Source§

fn as_raw_mut_StaticSaliencyFineGrained( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn compute_saliency( &mut self, image: &impl ToInputArray, saliency_map: &mut impl ToOutputArray, ) -> Result<bool>

Source§

impl StaticSaliencyFineGrainedTraitConst for BoxedRefMut<'_, StaticSaliencyFineGrained>

Source§

fn as_raw_StaticSaliencyFineGrained( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl StaticSaliencySpectralResidualTrait for BoxedRefMut<'_, StaticSaliencySpectralResidual>

Source§

fn as_raw_mut_StaticSaliencySpectralResidual( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn compute_saliency( &mut self, image: &impl ToInputArray, saliency_map: &mut impl ToOutputArray, ) -> Result<bool>

Source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Source§

fn set_image_width(&mut self, val: i32) -> Result<()>

Source§

fn set_image_height(&mut self, val: i32) -> Result<()>

Source§

impl StaticSaliencySpectralResidualTraitConst for BoxedRefMut<'_, StaticSaliencySpectralResidual>

Source§

fn as_raw_StaticSaliencySpectralResidual( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Source§

fn get_image_width(&self) -> Result<i32>

Source§

fn get_image_height(&self) -> Result<i32>

Source§

impl StaticSaliencyTrait for BoxedRefMut<'_, StaticSaliency>

Source§

fn as_raw_mut_StaticSaliency( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn compute_binary_map( &mut self, _saliency_map: &impl ToInputArray, _binary_map: &mut impl ToOutputArray, ) -> Result<bool>

This function perform a binary map of given saliency map. This is obtained in this way: Read more
Source§

impl StaticSaliencyTrait for BoxedRefMut<'_, StaticSaliencyFineGrained>

Source§

fn as_raw_mut_StaticSaliency( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn compute_binary_map( &mut self, _saliency_map: &impl ToInputArray, _binary_map: &mut impl ToOutputArray, ) -> Result<bool>

This function perform a binary map of given saliency map. This is obtained in this way: Read more
Source§

impl StaticSaliencyTrait for BoxedRefMut<'_, StaticSaliencySpectralResidual>

Source§

fn as_raw_mut_StaticSaliency( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn compute_binary_map( &mut self, _saliency_map: &impl ToInputArray, _binary_map: &mut impl ToOutputArray, ) -> Result<bool>

This function perform a binary map of given saliency map. This is obtained in this way: Read more
Source§

impl StaticSaliencyTraitConst for BoxedRefMut<'_, StaticSaliency>

Source§

fn as_raw_StaticSaliency( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl StaticSaliencyTraitConst for BoxedRefMut<'_, StaticSaliencyFineGrained>

Source§

fn as_raw_StaticSaliency( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl StaticSaliencyTraitConst for BoxedRefMut<'_, StaticSaliencySpectralResidual>

Source§

fn as_raw_StaticSaliency( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl StereoBMTrait for BoxedRefMut<'_, CUDA_StereoBM>

Source§

fn as_raw_mut_StereoBM( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_pre_filter_type(&mut self, pre_filter_type: i32) -> Result<()>

Sets the type of pre-filtering used in the algorithm. Read more
Source§

fn set_pre_filter_size(&mut self, pre_filter_size: i32) -> Result<()>

Sets the size of the pre-filter kernel. Read more
Source§

fn set_pre_filter_cap(&mut self, pre_filter_cap: i32) -> Result<()>

Sets the truncation value for prefiltered pixels. Read more
Source§

fn set_texture_threshold(&mut self, texture_threshold: i32) -> Result<()>

Sets the threshold for filtering low-texture regions. Read more
Source§

fn set_uniqueness_ratio(&mut self, uniqueness_ratio: i32) -> Result<()>

Sets the uniqueness ratio for filtering ambiguous matches. Read more
Source§

fn set_smaller_block_size(&mut self, block_size: i32) -> Result<()>

Sets the size of the smaller block used for texture check. Read more
Source§

fn set_roi1(&mut self, roi1: Rect) -> Result<()>

Sets the Region of Interest (ROI) for the left image. Read more
Source§

fn set_roi2(&mut self, roi2: Rect) -> Result<()>

Sets the Region of Interest (ROI) for the right image. Read more
Source§

impl StereoBMTrait for BoxedRefMut<'_, StereoBM>

Source§

fn as_raw_mut_StereoBM( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_pre_filter_type(&mut self, pre_filter_type: i32) -> Result<()>

Sets the type of pre-filtering used in the algorithm. Read more
Source§

fn set_pre_filter_size(&mut self, pre_filter_size: i32) -> Result<()>

Sets the size of the pre-filter kernel. Read more
Source§

fn set_pre_filter_cap(&mut self, pre_filter_cap: i32) -> Result<()>

Sets the truncation value for prefiltered pixels. Read more
Source§

fn set_texture_threshold(&mut self, texture_threshold: i32) -> Result<()>

Sets the threshold for filtering low-texture regions. Read more
Source§

fn set_uniqueness_ratio(&mut self, uniqueness_ratio: i32) -> Result<()>

Sets the uniqueness ratio for filtering ambiguous matches. Read more
Source§

fn set_smaller_block_size(&mut self, block_size: i32) -> Result<()>

Sets the size of the smaller block used for texture check. Read more
Source§

fn set_roi1(&mut self, roi1: Rect) -> Result<()>

Sets the Region of Interest (ROI) for the left image. Read more
Source§

fn set_roi2(&mut self, roi2: Rect) -> Result<()>

Sets the Region of Interest (ROI) for the right image. Read more
Source§

impl StereoBMTraitConst for BoxedRefMut<'_, CUDA_StereoBM>

Source§

fn as_raw_StereoBM(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_pre_filter_type(&self) -> Result<i32>

Gets the type of pre-filtering currently used in the algorithm. Read more
Source§

fn get_pre_filter_size(&self) -> Result<i32>

Gets the current size of the pre-filter kernel. Read more
Source§

fn get_pre_filter_cap(&self) -> Result<i32>

Gets the current truncation value for prefiltered pixels. Read more
Source§

fn get_texture_threshold(&self) -> Result<i32>

Gets the current texture threshold value. Read more
Source§

fn get_uniqueness_ratio(&self) -> Result<i32>

Gets the current uniqueness ratio value. Read more
Source§

fn get_smaller_block_size(&self) -> Result<i32>

Gets the current size of the smaller block used for texture check. Read more
Source§

fn get_roi1(&self) -> Result<Rect>

Gets the current Region of Interest (ROI) for the left image. Read more
Source§

fn get_roi2(&self) -> Result<Rect>

Gets the current Region of Interest (ROI) for the right image. Read more
Source§

impl StereoBMTraitConst for BoxedRefMut<'_, StereoBM>

Source§

fn as_raw_StereoBM(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_pre_filter_type(&self) -> Result<i32>

Gets the type of pre-filtering currently used in the algorithm. Read more
Source§

fn get_pre_filter_size(&self) -> Result<i32>

Gets the current size of the pre-filter kernel. Read more
Source§

fn get_pre_filter_cap(&self) -> Result<i32>

Gets the current truncation value for prefiltered pixels. Read more
Source§

fn get_texture_threshold(&self) -> Result<i32>

Gets the current texture threshold value. Read more
Source§

fn get_uniqueness_ratio(&self) -> Result<i32>

Gets the current uniqueness ratio value. Read more
Source§

fn get_smaller_block_size(&self) -> Result<i32>

Gets the current size of the smaller block used for texture check. Read more
Source§

fn get_roi1(&self) -> Result<Rect>

Gets the current Region of Interest (ROI) for the left image. Read more
Source§

fn get_roi2(&self) -> Result<Rect>

Gets the current Region of Interest (ROI) for the right image. Read more
Source§

impl StereoMatcherTrait for BoxedRefMut<'_, CUDA_StereoBM>

Source§

fn as_raw_mut_StereoMatcher( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn compute( &mut self, left: &impl ToInputArray, right: &impl ToInputArray, disparity: &mut impl ToOutputArray, ) -> Result<()>

Computes disparity map for the specified stereo pair Read more
Source§

fn set_min_disparity(&mut self, min_disparity: i32) -> Result<()>

Source§

fn set_num_disparities(&mut self, num_disparities: i32) -> Result<()>

Source§

fn set_block_size(&mut self, block_size: i32) -> Result<()>

Source§

fn set_speckle_window_size(&mut self, speckle_window_size: i32) -> Result<()>

Source§

fn set_speckle_range(&mut self, speckle_range: i32) -> Result<()>

Source§

fn set_disp12_max_diff(&mut self, disp12_max_diff: i32) -> Result<()>

Source§

impl StereoMatcherTrait for BoxedRefMut<'_, CUDA_StereoBeliefPropagation>

Source§

fn as_raw_mut_StereoMatcher( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn compute( &mut self, left: &impl ToInputArray, right: &impl ToInputArray, disparity: &mut impl ToOutputArray, ) -> Result<()>

Computes disparity map for the specified stereo pair Read more
Source§

fn set_min_disparity(&mut self, min_disparity: i32) -> Result<()>

Source§

fn set_num_disparities(&mut self, num_disparities: i32) -> Result<()>

Source§

fn set_block_size(&mut self, block_size: i32) -> Result<()>

Source§

fn set_speckle_window_size(&mut self, speckle_window_size: i32) -> Result<()>

Source§

fn set_speckle_range(&mut self, speckle_range: i32) -> Result<()>

Source§

fn set_disp12_max_diff(&mut self, disp12_max_diff: i32) -> Result<()>

Source§

impl StereoMatcherTrait for BoxedRefMut<'_, CUDA_StereoConstantSpaceBP>

Source§

fn as_raw_mut_StereoMatcher( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn compute( &mut self, left: &impl ToInputArray, right: &impl ToInputArray, disparity: &mut impl ToOutputArray, ) -> Result<()>

Computes disparity map for the specified stereo pair Read more
Source§

fn set_min_disparity(&mut self, min_disparity: i32) -> Result<()>

Source§

fn set_num_disparities(&mut self, num_disparities: i32) -> Result<()>

Source§

fn set_block_size(&mut self, block_size: i32) -> Result<()>

Source§

fn set_speckle_window_size(&mut self, speckle_window_size: i32) -> Result<()>

Source§

fn set_speckle_range(&mut self, speckle_range: i32) -> Result<()>

Source§

fn set_disp12_max_diff(&mut self, disp12_max_diff: i32) -> Result<()>

Source§

impl StereoMatcherTrait for BoxedRefMut<'_, CUDA_StereoSGM>

Source§

fn as_raw_mut_StereoMatcher( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn compute( &mut self, left: &impl ToInputArray, right: &impl ToInputArray, disparity: &mut impl ToOutputArray, ) -> Result<()>

Computes disparity map for the specified stereo pair Read more
Source§

fn set_min_disparity(&mut self, min_disparity: i32) -> Result<()>

Source§

fn set_num_disparities(&mut self, num_disparities: i32) -> Result<()>

Source§

fn set_block_size(&mut self, block_size: i32) -> Result<()>

Source§

fn set_speckle_window_size(&mut self, speckle_window_size: i32) -> Result<()>

Source§

fn set_speckle_range(&mut self, speckle_range: i32) -> Result<()>

Source§

fn set_disp12_max_diff(&mut self, disp12_max_diff: i32) -> Result<()>

Source§

impl StereoMatcherTrait for BoxedRefMut<'_, StereoBM>

Source§

fn as_raw_mut_StereoMatcher( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn compute( &mut self, left: &impl ToInputArray, right: &impl ToInputArray, disparity: &mut impl ToOutputArray, ) -> Result<()>

Computes disparity map for the specified stereo pair Read more
Source§

fn set_min_disparity(&mut self, min_disparity: i32) -> Result<()>

Source§

fn set_num_disparities(&mut self, num_disparities: i32) -> Result<()>

Source§

fn set_block_size(&mut self, block_size: i32) -> Result<()>

Source§

fn set_speckle_window_size(&mut self, speckle_window_size: i32) -> Result<()>

Source§

fn set_speckle_range(&mut self, speckle_range: i32) -> Result<()>

Source§

fn set_disp12_max_diff(&mut self, disp12_max_diff: i32) -> Result<()>

Source§

impl StereoMatcherTrait for BoxedRefMut<'_, StereoMatcher>

Source§

fn as_raw_mut_StereoMatcher( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn compute( &mut self, left: &impl ToInputArray, right: &impl ToInputArray, disparity: &mut impl ToOutputArray, ) -> Result<()>

Computes disparity map for the specified stereo pair Read more
Source§

fn set_min_disparity(&mut self, min_disparity: i32) -> Result<()>

Source§

fn set_num_disparities(&mut self, num_disparities: i32) -> Result<()>

Source§

fn set_block_size(&mut self, block_size: i32) -> Result<()>

Source§

fn set_speckle_window_size(&mut self, speckle_window_size: i32) -> Result<()>

Source§

fn set_speckle_range(&mut self, speckle_range: i32) -> Result<()>

Source§

fn set_disp12_max_diff(&mut self, disp12_max_diff: i32) -> Result<()>

Source§

impl StereoMatcherTrait for BoxedRefMut<'_, StereoSGBM>

Source§

fn as_raw_mut_StereoMatcher( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn compute( &mut self, left: &impl ToInputArray, right: &impl ToInputArray, disparity: &mut impl ToOutputArray, ) -> Result<()>

Computes disparity map for the specified stereo pair Read more
Source§

fn set_min_disparity(&mut self, min_disparity: i32) -> Result<()>

Source§

fn set_num_disparities(&mut self, num_disparities: i32) -> Result<()>

Source§

fn set_block_size(&mut self, block_size: i32) -> Result<()>

Source§

fn set_speckle_window_size(&mut self, speckle_window_size: i32) -> Result<()>

Source§

fn set_speckle_range(&mut self, speckle_range: i32) -> Result<()>

Source§

fn set_disp12_max_diff(&mut self, disp12_max_diff: i32) -> Result<()>

Source§

impl StereoMatcherTraitConst for BoxedRefMut<'_, CUDA_StereoBM>

Source§

fn as_raw_StereoMatcher( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_min_disparity(&self) -> Result<i32>

Source§

fn get_num_disparities(&self) -> Result<i32>

Source§

fn get_block_size(&self) -> Result<i32>

Source§

fn get_speckle_window_size(&self) -> Result<i32>

Source§

fn get_speckle_range(&self) -> Result<i32>

Source§

fn get_disp12_max_diff(&self) -> Result<i32>

Source§

impl StereoMatcherTraitConst for BoxedRefMut<'_, CUDA_StereoBeliefPropagation>

Source§

fn as_raw_StereoMatcher( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_min_disparity(&self) -> Result<i32>

Source§

fn get_num_disparities(&self) -> Result<i32>

Source§

fn get_block_size(&self) -> Result<i32>

Source§

fn get_speckle_window_size(&self) -> Result<i32>

Source§

fn get_speckle_range(&self) -> Result<i32>

Source§

fn get_disp12_max_diff(&self) -> Result<i32>

Source§

impl StereoMatcherTraitConst for BoxedRefMut<'_, CUDA_StereoConstantSpaceBP>

Source§

fn as_raw_StereoMatcher( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_min_disparity(&self) -> Result<i32>

Source§

fn get_num_disparities(&self) -> Result<i32>

Source§

fn get_block_size(&self) -> Result<i32>

Source§

fn get_speckle_window_size(&self) -> Result<i32>

Source§

fn get_speckle_range(&self) -> Result<i32>

Source§

fn get_disp12_max_diff(&self) -> Result<i32>

Source§

impl StereoMatcherTraitConst for BoxedRefMut<'_, CUDA_StereoSGM>

Source§

fn as_raw_StereoMatcher( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_min_disparity(&self) -> Result<i32>

Source§

fn get_num_disparities(&self) -> Result<i32>

Source§

fn get_block_size(&self) -> Result<i32>

Source§

fn get_speckle_window_size(&self) -> Result<i32>

Source§

fn get_speckle_range(&self) -> Result<i32>

Source§

fn get_disp12_max_diff(&self) -> Result<i32>

Source§

impl StereoMatcherTraitConst for BoxedRefMut<'_, StereoBM>

Source§

fn as_raw_StereoMatcher( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_min_disparity(&self) -> Result<i32>

Source§

fn get_num_disparities(&self) -> Result<i32>

Source§

fn get_block_size(&self) -> Result<i32>

Source§

fn get_speckle_window_size(&self) -> Result<i32>

Source§

fn get_speckle_range(&self) -> Result<i32>

Source§

fn get_disp12_max_diff(&self) -> Result<i32>

Source§

impl StereoMatcherTraitConst for BoxedRefMut<'_, StereoMatcher>

Source§

fn as_raw_StereoMatcher( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_min_disparity(&self) -> Result<i32>

Source§

fn get_num_disparities(&self) -> Result<i32>

Source§

fn get_block_size(&self) -> Result<i32>

Source§

fn get_speckle_window_size(&self) -> Result<i32>

Source§

fn get_speckle_range(&self) -> Result<i32>

Source§

fn get_disp12_max_diff(&self) -> Result<i32>

Source§

impl StereoMatcherTraitConst for BoxedRefMut<'_, StereoSGBM>

Source§

fn as_raw_StereoMatcher( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_min_disparity(&self) -> Result<i32>

Source§

fn get_num_disparities(&self) -> Result<i32>

Source§

fn get_block_size(&self) -> Result<i32>

Source§

fn get_speckle_window_size(&self) -> Result<i32>

Source§

fn get_speckle_range(&self) -> Result<i32>

Source§

fn get_disp12_max_diff(&self) -> Result<i32>

Source§

impl StereoSGBMTrait for BoxedRefMut<'_, CUDA_StereoSGM>

Source§

fn as_raw_mut_StereoSGBM( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_pre_filter_cap(&mut self, pre_filter_cap: i32) -> Result<()>

Source§

fn set_uniqueness_ratio(&mut self, uniqueness_ratio: i32) -> Result<()>

Source§

fn set_p1(&mut self, p1: i32) -> Result<()>

Source§

fn set_p2(&mut self, p2: i32) -> Result<()>

Source§

fn set_mode(&mut self, mode: i32) -> Result<()>

Source§

impl StereoSGBMTrait for BoxedRefMut<'_, StereoSGBM>

Source§

fn as_raw_mut_StereoSGBM( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_pre_filter_cap(&mut self, pre_filter_cap: i32) -> Result<()>

Source§

fn set_uniqueness_ratio(&mut self, uniqueness_ratio: i32) -> Result<()>

Source§

fn set_p1(&mut self, p1: i32) -> Result<()>

Source§

fn set_p2(&mut self, p2: i32) -> Result<()>

Source§

fn set_mode(&mut self, mode: i32) -> Result<()>

Source§

impl StereoSGBMTraitConst for BoxedRefMut<'_, CUDA_StereoSGM>

Source§

fn as_raw_StereoSGBM(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_pre_filter_cap(&self) -> Result<i32>

Source§

fn get_uniqueness_ratio(&self) -> Result<i32>

Source§

fn get_p1(&self) -> Result<i32>

Source§

fn get_p2(&self) -> Result<i32>

Source§

fn get_mode(&self) -> Result<i32>

Source§

impl StereoSGBMTraitConst for BoxedRefMut<'_, StereoSGBM>

Source§

fn as_raw_StereoSGBM(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_pre_filter_cap(&self) -> Result<i32>

Source§

fn get_uniqueness_ratio(&self) -> Result<i32>

Source§

fn get_p1(&self) -> Result<i32>

Source§

fn get_p2(&self) -> Result<i32>

Source§

fn get_mode(&self) -> Result<i32>

Source§

impl StereographicWarperTrait for BoxedRefMut<'_, StereographicWarper>

Source§

fn as_raw_mut_StereographicWarper( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl StereographicWarperTraitConst for BoxedRefMut<'_, StereographicWarper>

Source§

fn as_raw_StereographicWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn create(&self, scale: f32) -> Result<Ptr<Detail_RotationWarper>>

Source§

impl StitcherTrait for BoxedRefMut<'_, Stitcher>

Source§

fn as_raw_mut_Stitcher( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_registration_resol(&mut self, resol_mpx: f64) -> Result<()>

Source§

fn set_seam_estimation_resol(&mut self, resol_mpx: f64) -> Result<()>

Source§

fn set_compositing_resol(&mut self, resol_mpx: f64) -> Result<()>

Source§

fn set_pano_confidence_thresh(&mut self, conf_thresh: f64) -> Result<()>

Source§

fn set_wave_correction(&mut self, flag: bool) -> Result<()>

Source§

fn set_interpolation_flags( &mut self, interp_flags: InterpolationFlags, ) -> Result<()>

Source§

fn set_wave_correct_kind(&mut self, kind: Detail_WaveCorrectKind) -> Result<()>

Source§

fn features_finder_1(&mut self) -> Result<Ptr<Feature2D>>

Source§

fn set_features_finder(&mut self, features_finder: Ptr<Feature2D>) -> Result<()>

Source§

fn features_matcher_1(&mut self) -> Result<Ptr<Detail_FeaturesMatcher>>

Source§

fn set_features_matcher( &mut self, features_matcher: Ptr<Detail_FeaturesMatcher>, ) -> Result<()>

Source§

fn set_matching_mask(&mut self, mask: &impl UMatTraitConst) -> Result<()>

Source§

fn bundle_adjuster_1(&mut self) -> Result<Ptr<Detail_BundleAdjusterBase>>

Source§

fn set_bundle_adjuster( &mut self, bundle_adjuster: Ptr<Detail_BundleAdjusterBase>, ) -> Result<()>

Source§

fn estimator_1(&mut self) -> Result<Ptr<Detail_Estimator>>

Source§

fn set_estimator(&mut self, estimator: Ptr<Detail_Estimator>) -> Result<()>

Source§

fn warper_1(&mut self) -> Result<Ptr<WarperCreator>>

Source§

fn set_warper(&mut self, creator: Ptr<WarperCreator>) -> Result<()>

Source§

fn exposure_compensator_1(&mut self) -> Result<Ptr<Detail_ExposureCompensator>>

Source§

fn set_exposure_compensator( &mut self, exposure_comp: Ptr<Detail_ExposureCompensator>, ) -> Result<()>

Source§

fn seam_finder_1(&mut self) -> Result<Ptr<Detail_SeamFinder>>

Source§

fn set_seam_finder(&mut self, seam_finder: Ptr<Detail_SeamFinder>) -> Result<()>

Source§

fn blender_1(&mut self) -> Result<Ptr<Detail_Blender>>

Source§

fn set_blender(&mut self, b: Ptr<Detail_Blender>) -> Result<()>

Source§

fn estimate_transform( &mut self, images: &impl ToInputArray, masks: &impl ToInputArray, ) -> Result<Stitcher_Status>

These functions try to match the given images and to estimate rotations of each camera. Read more
Source§

fn estimate_transform_def( &mut self, images: &impl ToInputArray, ) -> Result<Stitcher_Status>

These functions try to match the given images and to estimate rotations of each camera. Read more
Source§

fn set_transform( &mut self, images: &impl ToInputArray, cameras: &Vector<Detail_CameraParams>, component: &Vector<i32>, ) -> Result<Stitcher_Status>

These function restors camera rotation and camera intrinsics of each camera that can be got with Stitcher::cameras call Read more
Source§

fn set_transform_1( &mut self, images: &impl ToInputArray, cameras: &Vector<Detail_CameraParams>, ) -> Result<Stitcher_Status>

These function restors camera rotation and camera intrinsics of each camera that can be got with Stitcher::cameras call Read more
Source§

fn compose_panorama( &mut self, pano: &mut impl ToOutputArray, ) -> Result<Stitcher_Status>

These functions try to compose the given images (or images stored internally from the other function calls) into the final pano under the assumption that the image transformations were estimated before. Read more
Source§

fn compose_panorama_images( &mut self, images: &impl ToInputArray, pano: &mut impl ToOutputArray, ) -> Result<Stitcher_Status>

These functions try to compose the given images (or images stored internally from the other function calls) into the final pano under the assumption that the image transformations were estimated before. Read more
Source§

fn stitch( &mut self, images: &impl ToInputArray, pano: &mut impl ToOutputArray, ) -> Result<Stitcher_Status>

These functions try to stitch the given images. Read more
Source§

fn stitch_mask( &mut self, images: &impl ToInputArray, masks: &impl ToInputArray, pano: &mut impl ToOutputArray, ) -> Result<Stitcher_Status>

These functions try to stitch the given images. Read more
Source§

impl StitcherTraitConst for BoxedRefMut<'_, Stitcher>

Source§

impl StreamTrait for BoxedRefMut<'_, Stream>

Source§

fn as_raw_mut_Stream( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn wait_for_completion(&mut self) -> Result<()>

Blocks the current CPU thread until all operations in the stream are complete.
Source§

fn wait_event(&mut self, event: &impl EventTraitConst) -> Result<()>

Makes a compute stream wait on an event.
Source§

fn enqueue_host_callback( &mut self, callback: Stream_StreamCallback, ) -> Result<()>

Adds a callback to be called on the host after all currently enqueued items in the stream have completed. Read more
Source§

impl StreamTraitConst for BoxedRefMut<'_, Stream>

Source§

fn as_raw_Stream(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn query_if_complete(&self) -> Result<bool>

Returns true if the current stream queue is finished. Otherwise, it returns false.
Source§

fn cuda_ptr(&self) -> Result<*mut c_void>

return Pointer to CUDA stream
Source§

impl StructuredEdgeDetectionTrait for BoxedRefMut<'_, StructuredEdgeDetection>

Source§

fn as_raw_mut_StructuredEdgeDetection( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl StructuredEdgeDetectionTraitConst for BoxedRefMut<'_, StructuredEdgeDetection>

Source§

fn as_raw_StructuredEdgeDetection( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn detect_edges( &self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, ) -> Result<()>

The function detects edges in src and draw them to dst. Read more
Source§

fn compute_orientation( &self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, ) -> Result<()>

The function computes orientation from edge image. Read more
Source§

fn edges_nms( &self, edge_image: &impl ToInputArray, orientation_image: &impl ToInputArray, dst: &mut impl ToOutputArray, r: i32, s: i32, m: f32, is_parallel: bool, ) -> Result<()>

The function edgenms in edge image and suppress edges where edge is stronger in orthogonal direction. Read more
Source§

fn edges_nms_def( &self, edge_image: &impl ToInputArray, orientation_image: &impl ToInputArray, dst: &mut impl ToOutputArray, ) -> Result<()>

The function edgenms in edge image and suppress edges where edge is stronger in orthogonal direction. Read more
Source§

impl StructuredLightPatternTrait for BoxedRefMut<'_, GrayCodePattern>

Source§

fn as_raw_mut_StructuredLightPattern( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn generate(&mut self, pattern_images: &mut impl ToOutputArray) -> Result<bool>

Generates the structured light pattern to project. Read more
Source§

impl StructuredLightPatternTrait for BoxedRefMut<'_, SinusoidalPattern>

Source§

fn as_raw_mut_StructuredLightPattern( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn generate(&mut self, pattern_images: &mut impl ToOutputArray) -> Result<bool>

Generates the structured light pattern to project. Read more
Source§

impl StructuredLightPatternTrait for BoxedRefMut<'_, StructuredLightPattern>

Source§

fn as_raw_mut_StructuredLightPattern( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn generate(&mut self, pattern_images: &mut impl ToOutputArray) -> Result<bool>

Generates the structured light pattern to project. Read more
Source§

impl StructuredLightPatternTraitConst for BoxedRefMut<'_, GrayCodePattern>

Source§

fn as_raw_StructuredLightPattern( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn decode( &self, pattern_images: &Vector<Vector<Mat>>, disparity_map: &mut impl ToOutputArray, black_images: &impl ToInputArray, white_images: &impl ToInputArray, flags: i32, ) -> Result<bool>

Decodes the structured light pattern, generating a disparity map Read more
Source§

fn decode_def( &self, pattern_images: &Vector<Vector<Mat>>, disparity_map: &mut impl ToOutputArray, ) -> Result<bool>

Decodes the structured light pattern, generating a disparity map Read more
Source§

impl StructuredLightPatternTraitConst for BoxedRefMut<'_, SinusoidalPattern>

Source§

fn as_raw_StructuredLightPattern( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn decode( &self, pattern_images: &Vector<Vector<Mat>>, disparity_map: &mut impl ToOutputArray, black_images: &impl ToInputArray, white_images: &impl ToInputArray, flags: i32, ) -> Result<bool>

Decodes the structured light pattern, generating a disparity map Read more
Source§

fn decode_def( &self, pattern_images: &Vector<Vector<Mat>>, disparity_map: &mut impl ToOutputArray, ) -> Result<bool>

Decodes the structured light pattern, generating a disparity map Read more
Source§

impl StructuredLightPatternTraitConst for BoxedRefMut<'_, StructuredLightPattern>

Source§

fn as_raw_StructuredLightPattern( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn decode( &self, pattern_images: &Vector<Vector<Mat>>, disparity_map: &mut impl ToOutputArray, black_images: &impl ToInputArray, white_images: &impl ToInputArray, flags: i32, ) -> Result<bool>

Decodes the structured light pattern, generating a disparity map Read more
Source§

fn decode_def( &self, pattern_images: &Vector<Vector<Mat>>, disparity_map: &mut impl ToOutputArray, ) -> Result<bool>

Decodes the structured light pattern, generating a disparity map Read more
Source§

impl Subdiv2DTrait for BoxedRefMut<'_, Subdiv2D>

Source§

fn as_raw_mut_Subdiv2D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn init_delaunay(&mut self, rect: Rect) -> Result<()>

Creates a new empty Delaunay subdivision Read more
Source§

fn insert(&mut self, pt: Point2f) -> Result<i32>

Insert a single point into a Delaunay triangulation. Read more
Source§

fn insert_multiple(&mut self, ptvec: &Vector<Point2f>) -> Result<()>

Insert multiple points into a Delaunay triangulation. Read more
Source§

fn locate( &mut self, pt: Point2f, edge: &mut i32, vertex: &mut i32, ) -> Result<i32>

Returns the location of a point within a Delaunay triangulation. Read more
Source§

fn find_nearest(&mut self, pt: Point2f, nearest_pt: &mut Point2f) -> Result<i32>

Finds the subdivision vertex closest to the given point. Read more
Source§

fn find_nearest_def(&mut self, pt: Point2f) -> Result<i32>

Finds the subdivision vertex closest to the given point. Read more
Source§

fn get_voronoi_facet_list( &mut self, idx: &Vector<i32>, facet_list: &mut Vector<Vector<Point2f>>, facet_centers: &mut Vector<Point2f>, ) -> Result<()>

Returns a list of all Voronoi facets. Read more
Source§

impl Subdiv2DTraitConst for BoxedRefMut<'_, Subdiv2D>

Source§

fn as_raw_Subdiv2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_edge_list(&self, edge_list: &mut Vector<Vec4f>) -> Result<()>

Returns a list of all edges. Read more
Source§

fn get_leading_edge_list( &self, leading_edge_list: &mut Vector<i32>, ) -> Result<()>

Returns a list of the leading edge ID connected to each triangle. Read more
Source§

fn get_triangle_list(&self, triangle_list: &mut Vector<Vec6f>) -> Result<()>

Returns a list of all triangles. Read more
Source§

fn get_vertex(&self, vertex: i32, first_edge: &mut i32) -> Result<Point2f>

Returns vertex location from vertex ID. Read more
Source§

fn get_vertex_def(&self, vertex: i32) -> Result<Point2f>

Returns vertex location from vertex ID. Read more
Source§

fn get_edge(&self, edge: i32, next_edge_type: i32) -> Result<i32>

Returns one of the edges related to the given edge. Read more
Source§

fn next_edge(&self, edge: i32) -> Result<i32>

Returns next edge around the edge origin. Read more
Source§

fn rotate_edge(&self, edge: i32, rotate: i32) -> Result<i32>

Returns another edge of the same quad-edge. Read more
Source§

fn sym_edge(&self, edge: i32) -> Result<i32>

Source§

fn edge_org(&self, edge: i32, orgpt: &mut Point2f) -> Result<i32>

Returns the edge origin. Read more
Source§

fn edge_org_def(&self, edge: i32) -> Result<i32>

Returns the edge origin. Read more
Source§

fn edge_dst(&self, edge: i32, dstpt: &mut Point2f) -> Result<i32>

Returns the edge destination. Read more
Source§

fn edge_dst_def(&self, edge: i32) -> Result<i32>

Returns the edge destination. Read more
Source§

impl SuperRes_BroxOpticalFlowTrait for BoxedRefMut<'_, SuperRes_BroxOpticalFlow>

Source§

fn as_raw_mut_SuperRes_BroxOpticalFlow( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_alpha(&mut self, val: f64) -> Result<()>

Flow smoothness Read more
Source§

fn set_gamma(&mut self, val: f64) -> Result<()>

Gradient constancy importance Read more
Source§

fn set_scale_factor(&mut self, val: f64) -> Result<()>

Pyramid scale factor Read more
Source§

fn set_inner_iterations(&mut self, val: i32) -> Result<()>

Number of lagged non-linearity iterations (inner loop) Read more
Source§

fn set_outer_iterations(&mut self, val: i32) -> Result<()>

Number of warping iterations (number of pyramid levels) Read more
Source§

fn set_solver_iterations(&mut self, val: i32) -> Result<()>

Number of linear system solver iterations Read more
Source§

impl SuperRes_BroxOpticalFlowTraitConst for BoxedRefMut<'_, SuperRes_BroxOpticalFlow>

Source§

fn as_raw_SuperRes_BroxOpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_alpha(&self) -> Result<f64>

Flow smoothness Read more
Source§

fn get_gamma(&self) -> Result<f64>

Gradient constancy importance Read more
Source§

fn get_scale_factor(&self) -> Result<f64>

Pyramid scale factor Read more
Source§

fn get_inner_iterations(&self) -> Result<i32>

Number of lagged non-linearity iterations (inner loop) Read more
Source§

fn get_outer_iterations(&self) -> Result<i32>

Number of warping iterations (number of pyramid levels) Read more
Source§

fn get_solver_iterations(&self) -> Result<i32>

Number of linear system solver iterations Read more
Source§

impl SuperRes_DenseOpticalFlowExtTrait for BoxedRefMut<'_, SuperRes_BroxOpticalFlow>

Source§

fn as_raw_mut_SuperRes_DenseOpticalFlowExt( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn calc( &mut self, frame0: &impl ToInputArray, frame1: &impl ToInputArray, flow1: &mut impl ToOutputArray, flow2: &mut impl ToOutputArray, ) -> Result<()>

C++ default parameters Read more
Source§

fn calc_def( &mut self, frame0: &impl ToInputArray, frame1: &impl ToInputArray, flow1: &mut impl ToOutputArray, ) -> Result<()>

Source§

fn collect_garbage(&mut self) -> Result<()>

Source§

impl SuperRes_DenseOpticalFlowExtTrait for BoxedRefMut<'_, SuperRes_DenseOpticalFlowExt>

Source§

fn as_raw_mut_SuperRes_DenseOpticalFlowExt( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn calc( &mut self, frame0: &impl ToInputArray, frame1: &impl ToInputArray, flow1: &mut impl ToOutputArray, flow2: &mut impl ToOutputArray, ) -> Result<()>

C++ default parameters Read more
Source§

fn calc_def( &mut self, frame0: &impl ToInputArray, frame1: &impl ToInputArray, flow1: &mut impl ToOutputArray, ) -> Result<()>

Source§

fn collect_garbage(&mut self) -> Result<()>

Source§

impl SuperRes_DenseOpticalFlowExtTrait for BoxedRefMut<'_, SuperRes_DualTVL1OpticalFlow>

Source§

fn as_raw_mut_SuperRes_DenseOpticalFlowExt( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn calc( &mut self, frame0: &impl ToInputArray, frame1: &impl ToInputArray, flow1: &mut impl ToOutputArray, flow2: &mut impl ToOutputArray, ) -> Result<()>

C++ default parameters Read more
Source§

fn calc_def( &mut self, frame0: &impl ToInputArray, frame1: &impl ToInputArray, flow1: &mut impl ToOutputArray, ) -> Result<()>

Source§

fn collect_garbage(&mut self) -> Result<()>

Source§

impl SuperRes_DenseOpticalFlowExtTrait for BoxedRefMut<'_, SuperRes_FarnebackOpticalFlow>

Source§

fn as_raw_mut_SuperRes_DenseOpticalFlowExt( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn calc( &mut self, frame0: &impl ToInputArray, frame1: &impl ToInputArray, flow1: &mut impl ToOutputArray, flow2: &mut impl ToOutputArray, ) -> Result<()>

C++ default parameters Read more
Source§

fn calc_def( &mut self, frame0: &impl ToInputArray, frame1: &impl ToInputArray, flow1: &mut impl ToOutputArray, ) -> Result<()>

Source§

fn collect_garbage(&mut self) -> Result<()>

Source§

impl SuperRes_DenseOpticalFlowExtTrait for BoxedRefMut<'_, SuperRes_PyrLKOpticalFlow>

Source§

fn as_raw_mut_SuperRes_DenseOpticalFlowExt( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn calc( &mut self, frame0: &impl ToInputArray, frame1: &impl ToInputArray, flow1: &mut impl ToOutputArray, flow2: &mut impl ToOutputArray, ) -> Result<()>

C++ default parameters Read more
Source§

fn calc_def( &mut self, frame0: &impl ToInputArray, frame1: &impl ToInputArray, flow1: &mut impl ToOutputArray, ) -> Result<()>

Source§

fn collect_garbage(&mut self) -> Result<()>

Source§

impl SuperRes_DenseOpticalFlowExtTraitConst for BoxedRefMut<'_, SuperRes_BroxOpticalFlow>

Source§

fn as_raw_SuperRes_DenseOpticalFlowExt( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl SuperRes_DenseOpticalFlowExtTraitConst for BoxedRefMut<'_, SuperRes_DenseOpticalFlowExt>

Source§

fn as_raw_SuperRes_DenseOpticalFlowExt( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl SuperRes_DenseOpticalFlowExtTraitConst for BoxedRefMut<'_, SuperRes_DualTVL1OpticalFlow>

Source§

fn as_raw_SuperRes_DenseOpticalFlowExt( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl SuperRes_DenseOpticalFlowExtTraitConst for BoxedRefMut<'_, SuperRes_FarnebackOpticalFlow>

Source§

fn as_raw_SuperRes_DenseOpticalFlowExt( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl SuperRes_DenseOpticalFlowExtTraitConst for BoxedRefMut<'_, SuperRes_PyrLKOpticalFlow>

Source§

fn as_raw_SuperRes_DenseOpticalFlowExt( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl SuperRes_DualTVL1OpticalFlowTrait for BoxedRefMut<'_, SuperRes_DualTVL1OpticalFlow>

Source§

fn as_raw_mut_SuperRes_DualTVL1OpticalFlow( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_tau(&mut self, val: f64) -> Result<()>

See also Read more
Source§

fn set_lambda(&mut self, val: f64) -> Result<()>

See also Read more
Source§

fn set_theta(&mut self, val: f64) -> Result<()>

See also Read more
Source§

fn set_scales_number(&mut self, val: i32) -> Result<()>

See also Read more
Source§

fn set_warpings_number(&mut self, val: i32) -> Result<()>

See also Read more
Source§

fn set_epsilon(&mut self, val: f64) -> Result<()>

See also Read more
Source§

fn set_iterations(&mut self, val: i32) -> Result<()>

See also Read more
Source§

fn set_use_initial_flow(&mut self, val: bool) -> Result<()>

See also Read more
Source§

impl SuperRes_DualTVL1OpticalFlowTraitConst for BoxedRefMut<'_, SuperRes_DualTVL1OpticalFlow>

Source§

fn as_raw_SuperRes_DualTVL1OpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_tau(&self) -> Result<f64>

See also Read more
Source§

fn get_lambda(&self) -> Result<f64>

See also Read more
Source§

fn get_theta(&self) -> Result<f64>

See also Read more
Source§

fn get_scales_number(&self) -> Result<i32>

See also Read more
Source§

fn get_warpings_number(&self) -> Result<i32>

See also Read more
Source§

fn get_epsilon(&self) -> Result<f64>

See also Read more
Source§

fn get_iterations(&self) -> Result<i32>

See also Read more
Source§

fn get_use_initial_flow(&self) -> Result<bool>

See also Read more
Source§

impl SuperRes_FarnebackOpticalFlowTrait for BoxedRefMut<'_, SuperRes_FarnebackOpticalFlow>

Source§

fn as_raw_mut_SuperRes_FarnebackOpticalFlow( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_pyr_scale(&mut self, val: f64) -> Result<()>

See also Read more
Source§

fn set_levels_number(&mut self, val: i32) -> Result<()>

See also Read more
Source§

fn set_window_size(&mut self, val: i32) -> Result<()>

See also Read more
Source§

fn set_iterations(&mut self, val: i32) -> Result<()>

See also Read more
Source§

fn set_poly_n(&mut self, val: i32) -> Result<()>

See also Read more
Source§

fn set_poly_sigma(&mut self, val: f64) -> Result<()>

See also Read more
Source§

fn set_flags(&mut self, val: i32) -> Result<()>

See also Read more
Source§

impl SuperRes_FarnebackOpticalFlowTraitConst for BoxedRefMut<'_, SuperRes_FarnebackOpticalFlow>

Source§

fn as_raw_SuperRes_FarnebackOpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_pyr_scale(&self) -> Result<f64>

See also Read more
Source§

fn get_levels_number(&self) -> Result<i32>

See also Read more
Source§

fn get_window_size(&self) -> Result<i32>

See also Read more
Source§

fn get_iterations(&self) -> Result<i32>

See also Read more
Source§

fn get_poly_n(&self) -> Result<i32>

See also Read more
Source§

fn get_poly_sigma(&self) -> Result<f64>

See also Read more
Source§

fn get_flags(&self) -> Result<i32>

See also Read more
Source§

impl SuperRes_FrameSourceTrait for BoxedRefMut<'_, SuperRes_FrameSource>

Source§

fn as_raw_mut_SuperRes_FrameSource( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn next_frame(&mut self, frame: &mut impl ToOutputArray) -> Result<()>

Source§

fn reset(&mut self) -> Result<()>

Source§

impl SuperRes_FrameSourceTrait for BoxedRefMut<'_, SuperRes_SuperResolution>

Source§

fn as_raw_mut_SuperRes_FrameSource( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn next_frame(&mut self, frame: &mut impl ToOutputArray) -> Result<()>

Source§

fn reset(&mut self) -> Result<()>

Source§

impl SuperRes_FrameSourceTraitConst for BoxedRefMut<'_, SuperRes_FrameSource>

Source§

fn as_raw_SuperRes_FrameSource( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl SuperRes_FrameSourceTraitConst for BoxedRefMut<'_, SuperRes_SuperResolution>

Source§

fn as_raw_SuperRes_FrameSource( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl SuperRes_PyrLKOpticalFlowTrait for BoxedRefMut<'_, SuperRes_PyrLKOpticalFlow>

Source§

fn as_raw_mut_SuperRes_PyrLKOpticalFlow( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_window_size(&mut self, val: i32) -> Result<()>

See also Read more
Source§

fn set_max_level(&mut self, val: i32) -> Result<()>

See also Read more
Source§

fn set_iterations(&mut self, val: i32) -> Result<()>

See also Read more
Source§

impl SuperRes_PyrLKOpticalFlowTraitConst for BoxedRefMut<'_, SuperRes_PyrLKOpticalFlow>

Source§

fn as_raw_SuperRes_PyrLKOpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_window_size(&self) -> Result<i32>

See also Read more
Source§

fn get_max_level(&self) -> Result<i32>

See also Read more
Source§

fn get_iterations(&self) -> Result<i32>

See also Read more
Source§

impl SuperRes_SuperResolutionTrait for BoxedRefMut<'_, SuperRes_SuperResolution>

Source§

fn as_raw_mut_SuperRes_SuperResolution( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_input(&mut self, frame_source: &Ptr<SuperRes_FrameSource>) -> Result<()>

Set input frame source for Super Resolution algorithm. Read more
Source§

fn next_frame(&mut self, frame: &mut impl ToOutputArray) -> Result<()>

Process next frame from input and return output result. Read more
Source§

fn reset(&mut self) -> Result<()>

Source§

fn collect_garbage(&mut self) -> Result<()>

Clear all inner buffers.
Source§

fn set_scale(&mut self, val: i32) -> Result<()>

Scale factor Read more
Source§

fn set_iterations(&mut self, val: i32) -> Result<()>

Iterations count Read more
Source§

fn set_tau(&mut self, val: f64) -> Result<()>

Asymptotic value of steepest descent method Read more
Source§

fn set_lambda(&mut self, val: f64) -> Result<()>

Weight parameter to balance data term and smoothness term Read more
Source§

fn set_alpha(&mut self, val: f64) -> Result<()>

Parameter of spacial distribution in Bilateral-TV Read more
Source§

fn set_kernel_size(&mut self, val: i32) -> Result<()>

Kernel size of Bilateral-TV filter Read more
Source§

fn set_blur_kernel_size(&mut self, val: i32) -> Result<()>

Gaussian blur kernel size Read more
Source§

fn set_blur_sigma(&mut self, val: f64) -> Result<()>

Gaussian blur sigma Read more
Source§

fn set_temporal_area_radius(&mut self, val: i32) -> Result<()>

Radius of the temporal search area Read more
Source§

fn set_optical_flow( &mut self, val: &Ptr<SuperRes_DenseOpticalFlowExt>, ) -> Result<()>

Dense optical flow algorithm Read more
Source§

impl SuperRes_SuperResolutionTraitConst for BoxedRefMut<'_, SuperRes_SuperResolution>

Source§

fn as_raw_SuperRes_SuperResolution( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_scale(&self) -> Result<i32>

Scale factor Read more
Source§

fn get_iterations(&self) -> Result<i32>

Iterations count Read more
Source§

fn get_tau(&self) -> Result<f64>

Asymptotic value of steepest descent method Read more
Source§

fn get_lambda(&self) -> Result<f64>

Weight parameter to balance data term and smoothness term Read more
Source§

fn get_alpha(&self) -> Result<f64>

Parameter of spacial distribution in Bilateral-TV Read more
Source§

fn get_kernel_size(&self) -> Result<i32>

Kernel size of Bilateral-TV filter Read more
Source§

fn get_blur_kernel_size(&self) -> Result<i32>

Gaussian blur kernel size Read more
Source§

fn get_blur_sigma(&self) -> Result<f64>

Gaussian blur sigma Read more
Source§

fn get_temporal_area_radius(&self) -> Result<i32>

Radius of the temporal search area Read more
Source§

fn get_optical_flow(&self) -> Result<Ptr<SuperRes_DenseOpticalFlowExt>>

Dense optical flow algorithm Read more
Source§

impl SuperpixelLSCTrait for BoxedRefMut<'_, SuperpixelLSC>

Source§

fn as_raw_mut_SuperpixelLSC( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn iterate(&mut self, num_iterations: i32) -> Result<()>

Calculates the superpixel segmentation on a given image with the initialized parameters in the SuperpixelLSC object. Read more
Source§

fn iterate_def(&mut self) -> Result<()>

Calculates the superpixel segmentation on a given image with the initialized parameters in the SuperpixelLSC object. Read more
Source§

fn enforce_label_connectivity(&mut self, min_element_size: i32) -> Result<()>

Enforce label connectivity. Read more
Source§

fn enforce_label_connectivity_def(&mut self) -> Result<()>

Enforce label connectivity. Read more
Source§

impl SuperpixelLSCTraitConst for BoxedRefMut<'_, SuperpixelLSC>

Source§

fn as_raw_SuperpixelLSC( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_number_of_superpixels(&self) -> Result<i32>

Calculates the actual amount of superpixels on a given segmentation computed and stored in SuperpixelLSC object.
Source§

fn get_labels(&self, labels_out: &mut impl ToOutputArray) -> Result<()>

Returns the segmentation labeling of the image. Read more
Source§

fn get_label_contour_mask( &self, image: &mut impl ToOutputArray, thick_line: bool, ) -> Result<()>

Returns the mask of the superpixel segmentation stored in SuperpixelLSC object. Read more
Source§

fn get_label_contour_mask_def( &self, image: &mut impl ToOutputArray, ) -> Result<()>

Returns the mask of the superpixel segmentation stored in SuperpixelLSC object. Read more
Source§

impl SuperpixelSEEDSTrait for BoxedRefMut<'_, SuperpixelSEEDS>

Source§

fn as_raw_mut_SuperpixelSEEDS( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn get_number_of_superpixels(&mut self) -> Result<i32>

Calculates the superpixel segmentation on a given image stored in SuperpixelSEEDS object. Read more
Source§

fn iterate( &mut self, img: &impl ToInputArray, num_iterations: i32, ) -> Result<()>

Calculates the superpixel segmentation on a given image with the initialized parameters in the SuperpixelSEEDS object. Read more
Source§

fn iterate_def(&mut self, img: &impl ToInputArray) -> Result<()>

Calculates the superpixel segmentation on a given image with the initialized parameters in the SuperpixelSEEDS object. Read more
Source§

fn get_labels(&mut self, labels_out: &mut impl ToOutputArray) -> Result<()>

Returns the segmentation labeling of the image. Read more
Source§

fn get_label_contour_mask( &mut self, image: &mut impl ToOutputArray, thick_line: bool, ) -> Result<()>

Returns the mask of the superpixel segmentation stored in SuperpixelSEEDS object. Read more
Source§

fn get_label_contour_mask_def( &mut self, image: &mut impl ToOutputArray, ) -> Result<()>

Returns the mask of the superpixel segmentation stored in SuperpixelSEEDS object. Read more
Source§

impl SuperpixelSEEDSTraitConst for BoxedRefMut<'_, SuperpixelSEEDS>

Source§

fn as_raw_SuperpixelSEEDS( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl SuperpixelSLICTrait for BoxedRefMut<'_, SuperpixelSLIC>

Source§

fn as_raw_mut_SuperpixelSLIC( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn iterate(&mut self, num_iterations: i32) -> Result<()>

Calculates the superpixel segmentation on a given image with the initialized parameters in the SuperpixelSLIC object. Read more
Source§

fn iterate_def(&mut self) -> Result<()>

Calculates the superpixel segmentation on a given image with the initialized parameters in the SuperpixelSLIC object. Read more
Source§

fn enforce_label_connectivity(&mut self, min_element_size: i32) -> Result<()>

Enforce label connectivity. Read more
Source§

fn enforce_label_connectivity_def(&mut self) -> Result<()>

Enforce label connectivity. Read more
Source§

impl SuperpixelSLICTraitConst for BoxedRefMut<'_, SuperpixelSLIC>

Source§

fn as_raw_SuperpixelSLIC( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_number_of_superpixels(&self) -> Result<i32>

Calculates the actual amount of superpixels on a given segmentation computed and stored in SuperpixelSLIC object.
Source§

fn get_labels(&self, labels_out: &mut impl ToOutputArray) -> Result<()>

Returns the segmentation labeling of the image. Read more
Source§

fn get_label_contour_mask( &self, image: &mut impl ToOutputArray, thick_line: bool, ) -> Result<()>

Returns the mask of the superpixel segmentation stored in SuperpixelSLIC object. Read more
Source§

fn get_label_contour_mask_def( &self, image: &mut impl ToOutputArray, ) -> Result<()>

Returns the mask of the superpixel segmentation stored in SuperpixelSLIC object. Read more
Source§

impl SwishLayerTrait for BoxedRefMut<'_, SwishLayer>

Source§

fn as_raw_mut_SwishLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl SwishLayerTraitConst for BoxedRefMut<'_, SwishLayer>

Source§

fn as_raw_SwishLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl SyntheticSequenceGeneratorTrait for BoxedRefMut<'_, SyntheticSequenceGenerator>

Source§

fn as_raw_mut_SyntheticSequenceGenerator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn get_next_frame( &mut self, frame: &mut impl ToOutputArray, gt_mask: &mut impl ToOutputArray, ) -> Result<()>

Obtain the next frame in the sequence. Read more
Source§

impl SyntheticSequenceGeneratorTraitConst for BoxedRefMut<'_, SyntheticSequenceGenerator>

Source§

fn as_raw_SyntheticSequenceGenerator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl TBMRTrait for BoxedRefMut<'_, TBMR>

Source§

fn as_raw_mut_TBMR( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_min_area(&mut self, min_area: i32) -> Result<()>

Source§

fn set_max_area_relative(&mut self, max_area: f32) -> Result<()>

Source§

fn set_scale_factor(&mut self, scale_factor: f32) -> Result<()>

Source§

fn set_n_scales(&mut self, n_scales: i32) -> Result<()>

Source§

impl TBMRTraitConst for BoxedRefMut<'_, TBMR>

Source§

fn as_raw_TBMR(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_min_area(&self) -> Result<i32>

Source§

fn get_max_area_relative(&self) -> Result<f32>

Source§

fn get_scale_factor(&self) -> Result<f32>

Source§

fn get_n_scales(&self) -> Result<i32>

Source§

fn get_default_name(&self) -> Result<String>

Source§

impl TEBLIDTrait for BoxedRefMut<'_, TEBLID>

Source§

fn as_raw_mut_TEBLID( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl TEBLIDTraitConst for BoxedRefMut<'_, TEBLID>

Source§

fn as_raw_TEBLID(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_default_name(&self) -> Result<String>

Source§

impl TanHLayerTrait for BoxedRefMut<'_, TanHLayer>

Source§

fn as_raw_mut_TanHLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl TanHLayerTraitConst for BoxedRefMut<'_, TanHLayer>

Source§

fn as_raw_TanHLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl TanLayerTrait for BoxedRefMut<'_, TanLayer>

Source§

fn as_raw_mut_TanLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl TanLayerTraitConst for BoxedRefMut<'_, TanLayer>

Source§

fn as_raw_TanLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl TargetArchsTrait for BoxedRefMut<'_, TargetArchs>

Source§

fn as_raw_mut_TargetArchs( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl TargetArchsTraitConst for BoxedRefMut<'_, TargetArchs>

Source§

fn as_raw_TargetArchs(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl TextDetectionModelTrait for BoxedRefMut<'_, TextDetectionModel>

Source§

fn as_raw_mut_TextDetectionModel( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl TextDetectionModelTrait for BoxedRefMut<'_, TextDetectionModel_DB>

Source§

fn as_raw_mut_TextDetectionModel( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl TextDetectionModelTrait for BoxedRefMut<'_, TextDetectionModel_EAST>

Source§

fn as_raw_mut_TextDetectionModel( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl TextDetectionModelTraitConst for BoxedRefMut<'_, TextDetectionModel>

Source§

fn as_raw_TextDetectionModel( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn detect_with_confidences( &self, frame: &impl ToInputArray, detections: &mut Vector<Vector<Point>>, confidences: &mut Vector<f32>, ) -> Result<()>

Performs detection Read more
Source§

fn detect( &self, frame: &impl ToInputArray, detections: &mut Vector<Vector<Point>>, ) -> Result<()>

Performs detection Read more
Source§

fn detect_text_rectangles( &self, frame: &impl ToInputArray, detections: &mut Vector<RotatedRect>, confidences: &mut Vector<f32>, ) -> Result<()>

Performs detection Read more
Source§

fn detect_text_rectangles_1( &self, frame: &impl ToInputArray, detections: &mut Vector<RotatedRect>, ) -> Result<()>

Performs detection Read more
Source§

impl TextDetectionModelTraitConst for BoxedRefMut<'_, TextDetectionModel_DB>

Source§

fn as_raw_TextDetectionModel( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn detect_with_confidences( &self, frame: &impl ToInputArray, detections: &mut Vector<Vector<Point>>, confidences: &mut Vector<f32>, ) -> Result<()>

Performs detection Read more
Source§

fn detect( &self, frame: &impl ToInputArray, detections: &mut Vector<Vector<Point>>, ) -> Result<()>

Performs detection Read more
Source§

fn detect_text_rectangles( &self, frame: &impl ToInputArray, detections: &mut Vector<RotatedRect>, confidences: &mut Vector<f32>, ) -> Result<()>

Performs detection Read more
Source§

fn detect_text_rectangles_1( &self, frame: &impl ToInputArray, detections: &mut Vector<RotatedRect>, ) -> Result<()>

Performs detection Read more
Source§

impl TextDetectionModelTraitConst for BoxedRefMut<'_, TextDetectionModel_EAST>

Source§

fn as_raw_TextDetectionModel( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn detect_with_confidences( &self, frame: &impl ToInputArray, detections: &mut Vector<Vector<Point>>, confidences: &mut Vector<f32>, ) -> Result<()>

Performs detection Read more
Source§

fn detect( &self, frame: &impl ToInputArray, detections: &mut Vector<Vector<Point>>, ) -> Result<()>

Performs detection Read more
Source§

fn detect_text_rectangles( &self, frame: &impl ToInputArray, detections: &mut Vector<RotatedRect>, confidences: &mut Vector<f32>, ) -> Result<()>

Performs detection Read more
Source§

fn detect_text_rectangles_1( &self, frame: &impl ToInputArray, detections: &mut Vector<RotatedRect>, ) -> Result<()>

Performs detection Read more
Source§

impl TextDetectionModel_DBTrait for BoxedRefMut<'_, TextDetectionModel_DB>

Source§

fn as_raw_mut_TextDetectionModel_DB( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_binary_threshold( &mut self, binary_threshold: f32, ) -> Result<TextDetectionModel_DB>

Source§

fn set_polygon_threshold( &mut self, polygon_threshold: f32, ) -> Result<TextDetectionModel_DB>

Source§

fn set_unclip_ratio( &mut self, unclip_ratio: f64, ) -> Result<TextDetectionModel_DB>

Source§

fn set_max_candidates( &mut self, max_candidates: i32, ) -> Result<TextDetectionModel_DB>

Source§

impl TextDetectionModel_DBTraitConst for BoxedRefMut<'_, TextDetectionModel_DB>

Source§

fn as_raw_TextDetectionModel_DB( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_binary_threshold(&self) -> Result<f32>

Source§

fn get_polygon_threshold(&self) -> Result<f32>

Source§

fn get_unclip_ratio(&self) -> Result<f64>

Source§

fn get_max_candidates(&self) -> Result<i32>

Source§

impl TextDetectionModel_EASTTrait for BoxedRefMut<'_, TextDetectionModel_EAST>

Source§

fn as_raw_mut_TextDetectionModel_EAST( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_confidence_threshold( &mut self, conf_threshold: f32, ) -> Result<TextDetectionModel_EAST>

Set the detection confidence threshold Read more
Source§

fn set_nms_threshold( &mut self, nms_threshold: f32, ) -> Result<TextDetectionModel_EAST>

Set the detection NMS filter threshold Read more
Source§

impl TextDetectionModel_EASTTraitConst for BoxedRefMut<'_, TextDetectionModel_EAST>

Source§

fn as_raw_TextDetectionModel_EAST( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_confidence_threshold(&self) -> Result<f32>

Get the detection confidence threshold
Source§

fn get_nms_threshold(&self) -> Result<f32>

Get the detection confidence threshold
Source§

impl TextDetectorCNNTrait for BoxedRefMut<'_, TextDetectorCNN>

Source§

fn as_raw_mut_TextDetectorCNN( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn detect( &mut self, input_image: &impl ToInputArray, bbox: &mut Vector<Rect>, confidence: &mut Vector<f32>, ) -> Result<()>

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Read more
Source§

impl TextDetectorCNNTraitConst for BoxedRefMut<'_, TextDetectorCNN>

Source§

fn as_raw_TextDetectorCNN( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl TextDetectorTrait for BoxedRefMut<'_, TextDetector>

Source§

fn as_raw_mut_TextDetector( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn detect( &mut self, input_image: &impl ToInputArray, bbox: &mut Vector<Rect>, confidence: &mut Vector<f32>, ) -> Result<()>

Method that provides a quick and simple interface to detect text inside an image Read more
Source§

impl TextDetectorTrait for BoxedRefMut<'_, TextDetectorCNN>

Source§

fn as_raw_mut_TextDetector( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn detect( &mut self, input_image: &impl ToInputArray, bbox: &mut Vector<Rect>, confidence: &mut Vector<f32>, ) -> Result<()>

Method that provides a quick and simple interface to detect text inside an image Read more
Source§

impl TextDetectorTraitConst for BoxedRefMut<'_, TextDetector>

Source§

fn as_raw_TextDetector(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl TextDetectorTraitConst for BoxedRefMut<'_, TextDetectorCNN>

Source§

fn as_raw_TextDetector(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl TextRecognitionModelTrait for BoxedRefMut<'_, TextRecognitionModel>

Source§

fn as_raw_mut_TextRecognitionModel( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_decode_type(&mut self, decode_type: &str) -> Result<TextRecognitionModel>

Set the decoding method of translating the network output into string Read more
Set the decoding method options for "CTC-prefix-beam-search" decode usage Read more
Source§

fn set_decode_opts_ctc_prefix_beam_search_def( &mut self, beam_size: i32, ) -> Result<TextRecognitionModel>

Set the decoding method options for "CTC-prefix-beam-search" decode usage Read more
Source§

fn set_vocabulary( &mut self, vocabulary: &Vector<String>, ) -> Result<TextRecognitionModel>

Set the vocabulary for recognition. Read more
Source§

impl TextRecognitionModelTraitConst for BoxedRefMut<'_, TextRecognitionModel>

Source§

fn as_raw_TextRecognitionModel( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_decode_type(&self) -> Result<String>

Get the decoding method Read more
Source§

fn get_vocabulary(&self) -> Result<Vector<String>>

Get the vocabulary for recognition. Read more
Source§

fn recognize(&self, frame: &impl ToInputArray) -> Result<String>

Given the @p input frame, create input blob, run net and return recognition result Read more
Source§

fn recognize_1( &self, frame: &impl ToInputArray, roi_rects: &impl ToInputArray, results: &mut Vector<String>, ) -> Result<()>

Given the @p input frame, create input blob, run net and return recognition result Read more
Source§

impl TextTrait for BoxedRefMut<'_, Text>

Source§

fn as_raw_mut_Text( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

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

The text string to be drawn
Source§

fn set_org(&mut self, val: Point)

The bottom-left corner of the text string in the image
Source§

fn set_ff(&mut self, val: i32)

The font type, see #HersheyFonts
Source§

fn set_fs(&mut self, val: f64)

The font scale factor that is multiplied by the font-specific base size
Source§

fn set_color(&mut self, val: Scalar)

The text color
Source§

fn set_thick(&mut self, val: i32)

The thickness of the lines used to draw a text
Source§

fn set_lt(&mut self, val: i32)

The line type. See #LineTypes
Source§

fn set_bottom_left_origin(&mut self, val: bool)

When true, the image data origin is at the bottom-left corner. Otherwise, it is at the top-left corner
Source§

impl TextTraitConst for BoxedRefMut<'_, Text>

Source§

fn as_raw_Text(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn text(&self) -> String

The text string to be drawn
Source§

fn org(&self) -> Point

The bottom-left corner of the text string in the image
Source§

fn ff(&self) -> i32

The font type, see #HersheyFonts
Source§

fn fs(&self) -> f64

The font scale factor that is multiplied by the font-specific base size
Source§

fn color(&self) -> Scalar

The text color
Source§

fn thick(&self) -> i32

The thickness of the lines used to draw a text
Source§

fn lt(&self) -> i32

The line type. See #LineTypes
Source§

fn bottom_left_origin(&self) -> bool

When true, the image data origin is at the bottom-left corner. Otherwise, it is at the top-left corner
Source§

impl Texture2DTrait for BoxedRefMut<'_, Texture2D>

Source§

fn as_raw_mut_Texture2D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn create( &mut self, arows: i32, acols: i32, aformat: Texture2D_Format, auto_release: bool, ) -> Result<()>

Allocates memory for ogl::Texture2D object. Read more
Source§

fn create_def( &mut self, arows: i32, acols: i32, aformat: Texture2D_Format, ) -> Result<()>

Allocates memory for ogl::Texture2D object. Read more
Source§

fn create_1( &mut self, asize: Size, aformat: Texture2D_Format, auto_release: bool, ) -> Result<()>

Allocates memory for ogl::Texture2D object. Read more
Source§

fn create_def_1(&mut self, asize: Size, aformat: Texture2D_Format) -> Result<()>

@overload Read more
Source§

fn release(&mut self) -> Result<()>

Decrements the reference counter and destroys the texture object if needed. Read more
Source§

fn set_auto_release(&mut self, flag: bool) -> Result<()>

Sets auto release mode. Read more
Source§

fn copy_from( &mut self, arr: &impl ToInputArray, auto_release: bool, ) -> Result<()>

Copies from host/device memory to OpenGL texture. Read more
Source§

fn copy_from_def(&mut self, arr: &impl ToInputArray) -> Result<()>

Copies from host/device memory to OpenGL texture. Read more
Source§

impl Texture2DTraitConst for BoxedRefMut<'_, Texture2D>

Source§

fn as_raw_Texture2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn copy_to( &self, arr: &mut impl ToOutputArray, ddepth: i32, auto_release: bool, ) -> Result<()>

Copies from OpenGL texture to host/device memory or another OpenGL texture object. Read more
Source§

fn copy_to_def(&self, arr: &mut impl ToOutputArray) -> Result<()>

Copies from OpenGL texture to host/device memory or another OpenGL texture object. Read more
Source§

fn bind(&self) -> Result<()>

Binds texture to current active texture unit for GL_TEXTURE_2D target.
Source§

fn rows(&self) -> Result<i32>

Source§

fn cols(&self) -> Result<i32>

Source§

fn size(&self) -> Result<Size>

Source§

fn empty(&self) -> Result<bool>

Source§

fn format(&self) -> Result<Texture2D_Format>

Source§

fn tex_id(&self) -> Result<u32>

get OpenGL opject id
Source§

impl ThinPlateSplineShapeTransformerTrait for BoxedRefMut<'_, ThinPlateSplineShapeTransformer>

Source§

fn as_raw_mut_ThinPlateSplineShapeTransformer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_regularization_parameter(&mut self, beta: f64) -> Result<()>

Set the regularization parameter for relaxing the exact interpolation requirements of the TPS algorithm. Read more
Source§

impl ThinPlateSplineShapeTransformerTraitConst for BoxedRefMut<'_, ThinPlateSplineShapeTransformer>

Source§

fn as_raw_ThinPlateSplineShapeTransformer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_regularization_parameter(&self) -> Result<f64>

Source§

impl ThresholdedReluLayerTrait for BoxedRefMut<'_, ThresholdedReluLayer>

Source§

fn as_raw_mut_ThresholdedReluLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_alpha(&mut self, val: f32)

Source§

impl ThresholdedReluLayerTraitConst for BoxedRefMut<'_, ThresholdedReluLayer>

Source§

fn as_raw_ThresholdedReluLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn alpha(&self) -> f32

Source§

impl TickMeterTrait for BoxedRefMut<'_, TickMeter>

Source§

fn as_raw_mut_TickMeter( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn start(&mut self) -> Result<()>

starts counting ticks.
Source§

fn stop(&mut self) -> Result<()>

stops counting ticks.
Source§

fn reset(&mut self) -> Result<()>

resets internal values.
Source§

impl TickMeterTraitConst for BoxedRefMut<'_, TickMeter>

Source§

fn as_raw_TickMeter(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_time_ticks(&self) -> Result<i64>

returns counted ticks.
Source§

fn get_time_micro(&self) -> Result<f64>

returns passed time in microseconds.
Source§

fn get_time_milli(&self) -> Result<f64>

returns passed time in milliseconds.
Source§

fn get_time_sec(&self) -> Result<f64>

returns passed time in seconds.
Source§

fn get_last_time_ticks(&self) -> Result<i64>

returns counted ticks of the last iteration.
Source§

fn get_last_time_micro(&self) -> Result<f64>

returns passed time of the last iteration in microseconds.
Source§

fn get_last_time_milli(&self) -> Result<f64>

returns passed time of the last iteration in milliseconds.
Source§

fn get_last_time_sec(&self) -> Result<f64>

returns passed time of the last iteration in seconds.
Source§

fn get_counter(&self) -> Result<i64>

returns internal counter value.
Source§

fn get_fps(&self) -> Result<f64>

returns average FPS (frames per second) value.
Source§

fn get_avg_time_sec(&self) -> Result<f64>

returns average time in seconds
Source§

fn get_avg_time_milli(&self) -> Result<f64>

returns average time in milliseconds
Source§

impl TileLayerTrait for BoxedRefMut<'_, TileLayer>

Source§

fn as_raw_mut_TileLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl TileLayerTraitConst for BoxedRefMut<'_, TileLayer>

Source§

fn as_raw_TileLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl TimerTrait for BoxedRefMut<'_, Timer>

Source§

fn as_raw_mut_Timer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn start(&mut self) -> Result<()>

Source§

fn stop(&mut self) -> Result<()>

Source§

impl TimerTraitConst for BoxedRefMut<'_, Timer>

Source§

fn as_raw_Timer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn duration_ns(&self) -> Result<u64>

Source§

impl ToFileMotionWriterTrait for BoxedRefMut<'_, ToFileMotionWriter>

Source§

fn as_raw_mut_ToFileMotionWriter( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_motion_model(&mut self, val: MotionModel) -> Result<()>

Source§

fn set_frame_mask(&mut self, mask: &impl ToInputArray) -> Result<()>

Source§

fn estimate( &mut self, frame0: &impl MatTraitConst, frame1: &impl MatTraitConst, ok: &mut bool, ) -> Result<Mat>

C++ default parameters Read more
Source§

fn estimate_def( &mut self, frame0: &impl MatTraitConst, frame1: &impl MatTraitConst, ) -> Result<Mat>

Source§

impl ToFileMotionWriterTraitConst for BoxedRefMut<'_, ToFileMotionWriter>

Source§

fn as_raw_ToFileMotionWriter( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn motion_model(&self) -> Result<MotionModel>

Source§

impl<T: Boxed + ToInputArray> ToInputArray for &BoxedRefMut<'_, T>

Source§

impl<T: Boxed + ToInputArray> ToInputArray for BoxedRefMut<'_, T>

Source§

impl<T: Boxed + ToInputOutputArray> ToInputOutputArray for &mut BoxedRefMut<'_, T>

Source§

impl<T: Boxed + ToInputOutputArray> ToInputOutputArray for BoxedRefMut<'_, T>

Source§

impl<T: Boxed + ToOutputArray> ToOutputArray for &mut BoxedRefMut<'_, T>

Source§

impl<T: Boxed + ToOutputArray> ToOutputArray for BoxedRefMut<'_, T>

Source§

impl TonemapDragoTrait for BoxedRefMut<'_, TonemapDrago>

Source§

fn as_raw_mut_TonemapDrago( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_saturation(&mut self, saturation: f32) -> Result<()>

Source§

fn set_bias(&mut self, bias: f32) -> Result<()>

Source§

impl TonemapDragoTraitConst for BoxedRefMut<'_, TonemapDrago>

Source§

fn as_raw_TonemapDrago(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_saturation(&self) -> Result<f32>

Source§

fn get_bias(&self) -> Result<f32>

Source§

impl TonemapDurandTrait for BoxedRefMut<'_, TonemapDurand>

Source§

fn as_raw_mut_TonemapDurand( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_saturation(&mut self, saturation: f32) -> Result<()>

Source§

fn set_contrast(&mut self, contrast: f32) -> Result<()>

Source§

fn set_sigma_space(&mut self, sigma_space: f32) -> Result<()>

Source§

fn set_sigma_color(&mut self, sigma_color: f32) -> Result<()>

Source§

impl TonemapDurandTraitConst for BoxedRefMut<'_, TonemapDurand>

Source§

fn as_raw_TonemapDurand( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_saturation(&self) -> Result<f32>

Source§

fn get_contrast(&self) -> Result<f32>

Source§

fn get_sigma_space(&self) -> Result<f32>

Source§

fn get_sigma_color(&self) -> Result<f32>

Source§

impl TonemapMantiukTrait for BoxedRefMut<'_, TonemapMantiuk>

Source§

fn as_raw_mut_TonemapMantiuk( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_scale(&mut self, scale: f32) -> Result<()>

Source§

fn set_saturation(&mut self, saturation: f32) -> Result<()>

Source§

impl TonemapMantiukTraitConst for BoxedRefMut<'_, TonemapMantiuk>

Source§

fn as_raw_TonemapMantiuk( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_scale(&self) -> Result<f32>

Source§

fn get_saturation(&self) -> Result<f32>

Source§

impl TonemapReinhardTrait for BoxedRefMut<'_, TonemapReinhard>

Source§

fn as_raw_mut_TonemapReinhard( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_intensity(&mut self, intensity: f32) -> Result<()>

Source§

fn set_light_adaptation(&mut self, light_adapt: f32) -> Result<()>

Source§

fn set_color_adaptation(&mut self, color_adapt: f32) -> Result<()>

Source§

impl TonemapReinhardTraitConst for BoxedRefMut<'_, TonemapReinhard>

Source§

fn as_raw_TonemapReinhard( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_intensity(&self) -> Result<f32>

Source§

fn get_light_adaptation(&self) -> Result<f32>

Source§

fn get_color_adaptation(&self) -> Result<f32>

Source§

impl TonemapTrait for BoxedRefMut<'_, Tonemap>

Source§

fn as_raw_mut_Tonemap( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn process( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, ) -> Result<()>

Tonemaps image Read more
Source§

fn set_gamma(&mut self, gamma: f32) -> Result<()>

Source§

impl TonemapTrait for BoxedRefMut<'_, TonemapDrago>

Source§

fn as_raw_mut_Tonemap( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn process( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, ) -> Result<()>

Tonemaps image Read more
Source§

fn set_gamma(&mut self, gamma: f32) -> Result<()>

Source§

impl TonemapTrait for BoxedRefMut<'_, TonemapDurand>

Source§

fn as_raw_mut_Tonemap( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn process( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, ) -> Result<()>

Tonemaps image Read more
Source§

fn set_gamma(&mut self, gamma: f32) -> Result<()>

Source§

impl TonemapTrait for BoxedRefMut<'_, TonemapMantiuk>

Source§

fn as_raw_mut_Tonemap( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn process( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, ) -> Result<()>

Tonemaps image Read more
Source§

fn set_gamma(&mut self, gamma: f32) -> Result<()>

Source§

impl TonemapTrait for BoxedRefMut<'_, TonemapReinhard>

Source§

fn as_raw_mut_Tonemap( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn process( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, ) -> Result<()>

Tonemaps image Read more
Source§

fn set_gamma(&mut self, gamma: f32) -> Result<()>

Source§

impl TonemapTraitConst for BoxedRefMut<'_, Tonemap>

Source§

fn as_raw_Tonemap(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_gamma(&self) -> Result<f32>

Source§

impl TonemapTraitConst for BoxedRefMut<'_, TonemapDrago>

Source§

fn as_raw_Tonemap(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_gamma(&self) -> Result<f32>

Source§

impl TonemapTraitConst for BoxedRefMut<'_, TonemapDurand>

Source§

fn as_raw_Tonemap(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_gamma(&self) -> Result<f32>

Source§

impl TonemapTraitConst for BoxedRefMut<'_, TonemapMantiuk>

Source§

fn as_raw_Tonemap(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_gamma(&self) -> Result<f32>

Source§

impl TonemapTraitConst for BoxedRefMut<'_, TonemapReinhard>

Source§

fn as_raw_Tonemap(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_gamma(&self) -> Result<f32>

Source§

impl TopKLayerTrait for BoxedRefMut<'_, TopKLayer>

Source§

fn as_raw_mut_TopKLayer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl TopKLayerTraitConst for BoxedRefMut<'_, TopKLayer>

Source§

fn as_raw_TopKLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl TrackerCSRTTrait for BoxedRefMut<'_, TrackerCSRT>

Source§

fn as_raw_mut_TrackerCSRT( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_initial_mask(&mut self, mask: &impl ToInputArray) -> Result<()>

Source§

impl TrackerCSRTTraitConst for BoxedRefMut<'_, TrackerCSRT>

Source§

fn as_raw_TrackerCSRT(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl TrackerCSRT_ParamsTrait for BoxedRefMut<'_, TrackerCSRT_Params>

Source§

fn as_raw_mut_TrackerCSRT_Params( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

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 BoxedRefMut<'_, TrackerCSRT_Params>

Source§

fn as_raw_TrackerCSRT_Params( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

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 TrackerDaSiamRPNTrait for BoxedRefMut<'_, TrackerDaSiamRPN>

Source§

fn as_raw_mut_TrackerDaSiamRPN( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn get_tracking_score(&mut self) -> Result<f32>

Return tracking score
Source§

impl TrackerDaSiamRPNTraitConst for BoxedRefMut<'_, TrackerDaSiamRPN>

Source§

fn as_raw_TrackerDaSiamRPN( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl TrackerDaSiamRPN_ParamsTrait for BoxedRefMut<'_, TrackerDaSiamRPN_Params>

Source§

fn as_raw_mut_TrackerDaSiamRPN_Params( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

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

Source§

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

Source§

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

Source§

fn set_backend(&mut self, val: i32)

Source§

fn set_target(&mut self, val: i32)

Source§

impl TrackerDaSiamRPN_ParamsTraitConst for BoxedRefMut<'_, TrackerDaSiamRPN_Params>

Source§

fn as_raw_TrackerDaSiamRPN_Params( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn model(&self) -> String

Source§

fn kernel_cls1(&self) -> String

Source§

fn kernel_r1(&self) -> String

Source§

fn backend(&self) -> i32

Source§

fn target(&self) -> i32

Source§

impl TrackerGOTURNTrait for BoxedRefMut<'_, TrackerGOTURN>

Source§

fn as_raw_mut_TrackerGOTURN( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl TrackerGOTURNTraitConst for BoxedRefMut<'_, TrackerGOTURN>

Source§

fn as_raw_TrackerGOTURN( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl TrackerGOTURN_ParamsTrait for BoxedRefMut<'_, TrackerGOTURN_Params>

Source§

fn as_raw_mut_TrackerGOTURN_Params( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

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

Source§

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

Source§

impl TrackerGOTURN_ParamsTraitConst for BoxedRefMut<'_, TrackerGOTURN_Params>

Source§

fn as_raw_TrackerGOTURN_Params( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn model_txt(&self) -> String

Source§

fn model_bin(&self) -> String

Source§

impl TrackerKCFTrait for BoxedRefMut<'_, TrackerKCF>

Source§

fn as_raw_mut_TrackerKCF( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_feature_extractor( &mut self, callback: TrackerKCF_FeatureExtractorCallbackFN, pca_func: bool, ) -> Result<()>

C++ default parameters Read more
Source§

fn set_feature_extractor_def( &mut self, callback: TrackerKCF_FeatureExtractorCallbackFN, ) -> Result<()>

Source§

impl TrackerKCFTraitConst for BoxedRefMut<'_, TrackerKCF>

Source§

fn as_raw_TrackerKCF(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl TrackerMILTrait for BoxedRefMut<'_, TrackerMIL>

Source§

fn as_raw_mut_TrackerMIL( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl TrackerMILTraitConst for BoxedRefMut<'_, TrackerMIL>

Source§

fn as_raw_TrackerMIL(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl TrackerNanoTrait for BoxedRefMut<'_, TrackerNano>

Source§

fn as_raw_mut_TrackerNano( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn get_tracking_score(&mut self) -> Result<f32>

Return tracking score
Source§

impl TrackerNanoTraitConst for BoxedRefMut<'_, TrackerNano>

Source§

fn as_raw_TrackerNano(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl TrackerNano_ParamsTrait for BoxedRefMut<'_, TrackerNano_Params>

Source§

fn as_raw_mut_TrackerNano_Params( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

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

Source§

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

Source§

fn set_backend(&mut self, val: i32)

Source§

fn set_target(&mut self, val: i32)

Source§

impl TrackerNano_ParamsTraitConst for BoxedRefMut<'_, TrackerNano_Params>

Source§

fn as_raw_TrackerNano_Params( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn backbone(&self) -> String

Source§

fn neckhead(&self) -> String

Source§

fn backend(&self) -> i32

Source§

fn target(&self) -> i32

Source§

impl TrackerTrait for BoxedRefMut<'_, Tracker>

Source§

fn as_raw_mut_Tracker( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn init(&mut self, image: &impl ToInputArray, bounding_box: Rect) -> Result<()>

Initialize the tracker with a known bounding box that surrounded the target Read more
Source§

fn update( &mut self, image: &impl ToInputArray, bounding_box: &mut Rect, ) -> Result<bool>

Update the tracker, find the new most likely bounding box for the target Read more
Source§

impl TrackerTrait for BoxedRefMut<'_, TrackerCSRT>

Source§

fn as_raw_mut_Tracker( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn init(&mut self, image: &impl ToInputArray, bounding_box: Rect) -> Result<()>

Initialize the tracker with a known bounding box that surrounded the target Read more
Source§

fn update( &mut self, image: &impl ToInputArray, bounding_box: &mut Rect, ) -> Result<bool>

Update the tracker, find the new most likely bounding box for the target Read more
Source§

impl TrackerTrait for BoxedRefMut<'_, TrackerDaSiamRPN>

Source§

fn as_raw_mut_Tracker( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn init(&mut self, image: &impl ToInputArray, bounding_box: Rect) -> Result<()>

Initialize the tracker with a known bounding box that surrounded the target Read more
Source§

fn update( &mut self, image: &impl ToInputArray, bounding_box: &mut Rect, ) -> Result<bool>

Update the tracker, find the new most likely bounding box for the target Read more
Source§

impl TrackerTrait for BoxedRefMut<'_, TrackerGOTURN>

Source§

fn as_raw_mut_Tracker( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn init(&mut self, image: &impl ToInputArray, bounding_box: Rect) -> Result<()>

Initialize the tracker with a known bounding box that surrounded the target Read more
Source§

fn update( &mut self, image: &impl ToInputArray, bounding_box: &mut Rect, ) -> Result<bool>

Update the tracker, find the new most likely bounding box for the target Read more
Source§

impl TrackerTrait for BoxedRefMut<'_, TrackerKCF>

Source§

fn as_raw_mut_Tracker( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn init(&mut self, image: &impl ToInputArray, bounding_box: Rect) -> Result<()>

Initialize the tracker with a known bounding box that surrounded the target Read more
Source§

fn update( &mut self, image: &impl ToInputArray, bounding_box: &mut Rect, ) -> Result<bool>

Update the tracker, find the new most likely bounding box for the target Read more
Source§

impl TrackerTrait for BoxedRefMut<'_, TrackerMIL>

Source§

fn as_raw_mut_Tracker( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn init(&mut self, image: &impl ToInputArray, bounding_box: Rect) -> Result<()>

Initialize the tracker with a known bounding box that surrounded the target Read more
Source§

fn update( &mut self, image: &impl ToInputArray, bounding_box: &mut Rect, ) -> Result<bool>

Update the tracker, find the new most likely bounding box for the target Read more
Source§

impl TrackerTrait for BoxedRefMut<'_, TrackerNano>

Source§

fn as_raw_mut_Tracker( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn init(&mut self, image: &impl ToInputArray, bounding_box: Rect) -> Result<()>

Initialize the tracker with a known bounding box that surrounded the target Read more
Source§

fn update( &mut self, image: &impl ToInputArray, bounding_box: &mut Rect, ) -> Result<bool>

Update the tracker, find the new most likely bounding box for the target Read more
Source§

impl TrackerTrait for BoxedRefMut<'_, TrackerVit>

Source§

fn as_raw_mut_Tracker( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn init(&mut self, image: &impl ToInputArray, bounding_box: Rect) -> Result<()>

Initialize the tracker with a known bounding box that surrounded the target Read more
Source§

fn update( &mut self, image: &impl ToInputArray, bounding_box: &mut Rect, ) -> Result<bool>

Update the tracker, find the new most likely bounding box for the target Read more
Source§

impl TrackerTraitConst for BoxedRefMut<'_, Tracker>

Source§

fn as_raw_Tracker(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl TrackerTraitConst for BoxedRefMut<'_, TrackerCSRT>

Source§

fn as_raw_Tracker(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl TrackerTraitConst for BoxedRefMut<'_, TrackerDaSiamRPN>

Source§

fn as_raw_Tracker(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl TrackerTraitConst for BoxedRefMut<'_, TrackerGOTURN>

Source§

fn as_raw_Tracker(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl TrackerTraitConst for BoxedRefMut<'_, TrackerKCF>

Source§

fn as_raw_Tracker(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl TrackerTraitConst for BoxedRefMut<'_, TrackerMIL>

Source§

fn as_raw_Tracker(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl TrackerTraitConst for BoxedRefMut<'_, TrackerNano>

Source§

fn as_raw_Tracker(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl TrackerTraitConst for BoxedRefMut<'_, TrackerVit>

Source§

fn as_raw_Tracker(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl TrackerVitTrait for BoxedRefMut<'_, TrackerVit>

Source§

fn as_raw_mut_TrackerVit( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn get_tracking_score(&mut self) -> Result<f32>

Return tracking score
Source§

impl TrackerVitTraitConst for BoxedRefMut<'_, TrackerVit>

Source§

fn as_raw_TrackerVit(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl TrackerVit_ParamsTrait for BoxedRefMut<'_, TrackerVit_Params>

Source§

fn as_raw_mut_TrackerVit_Params( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

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

Source§

fn set_backend(&mut self, val: i32)

Source§

fn set_target(&mut self, val: i32)

Source§

fn set_meanvalue(&mut self, val: Scalar)

Source§

fn set_stdvalue(&mut self, val: Scalar)

Source§

fn set_tracking_score_threshold(&mut self, val: f32)

Source§

impl TrackerVit_ParamsTraitConst for BoxedRefMut<'_, TrackerVit_Params>

Source§

fn as_raw_TrackerVit_Params( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn net(&self) -> String

Source§

fn backend(&self) -> i32

Source§

fn target(&self) -> i32

Source§

fn meanvalue(&self) -> Scalar

Source§

fn stdvalue(&self) -> Scalar

Source§

fn tracking_score_threshold(&self) -> f32

Source§

impl TrainDataTrait for BoxedRefMut<'_, TrainData>

Source§

fn as_raw_mut_TrainData( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_train_test_split(&mut self, count: i32, shuffle: bool) -> Result<()>

Splits the training data into the training and test parts Read more
Source§

fn set_train_test_split_def(&mut self, count: i32) -> Result<()>

Splits the training data into the training and test parts Read more
Source§

fn set_train_test_split_ratio( &mut self, ratio: f64, shuffle: bool, ) -> Result<()>

Splits the training data into the training and test parts Read more
Source§

fn set_train_test_split_ratio_def(&mut self, ratio: f64) -> Result<()>

Splits the training data into the training and test parts Read more
Source§

fn shuffle_train_test(&mut self) -> Result<()>

Source§

impl TrainDataTraitConst for BoxedRefMut<'_, TrainData>

Source§

fn as_raw_TrainData(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_layout(&self) -> Result<i32>

Source§

fn get_n_train_samples(&self) -> Result<i32>

Source§

fn get_n_test_samples(&self) -> Result<i32>

Source§

fn get_n_samples(&self) -> Result<i32>

Source§

fn get_n_vars(&self) -> Result<i32>

Source§

fn get_n_all_vars(&self) -> Result<i32>

Source§

fn get_sample( &self, var_idx: &impl ToInputArray, sidx: i32, buf: &mut f32, ) -> Result<()>

Source§

fn get_samples(&self) -> Result<Mat>

Source§

fn get_missing(&self) -> Result<Mat>

Source§

fn get_train_samples( &self, layout: i32, compress_samples: bool, compress_vars: bool, ) -> Result<Mat>

Returns matrix of train samples Read more
Source§

fn get_train_samples_def(&self) -> Result<Mat>

Returns matrix of train samples Read more
Source§

fn get_train_responses(&self) -> Result<Mat>

Returns the vector of responses Read more
Source§

fn get_train_norm_cat_responses(&self) -> Result<Mat>

Returns the vector of normalized categorical responses Read more
Source§

fn get_test_responses(&self) -> Result<Mat>

Source§

fn get_test_norm_cat_responses(&self) -> Result<Mat>

Source§

fn get_responses(&self) -> Result<Mat>

Source§

fn get_norm_cat_responses(&self) -> Result<Mat>

Source§

fn get_sample_weights(&self) -> Result<Mat>

Source§

fn get_train_sample_weights(&self) -> Result<Mat>

Source§

fn get_test_sample_weights(&self) -> Result<Mat>

Source§

fn get_var_idx(&self) -> Result<Mat>

Source§

fn get_var_type(&self) -> Result<Mat>

Source§

fn get_var_symbol_flags(&self) -> Result<Mat>

Source§

fn get_response_type(&self) -> Result<i32>

Source§

fn get_train_sample_idx(&self) -> Result<Mat>

Source§

fn get_test_sample_idx(&self) -> Result<Mat>

Source§

fn get_values( &self, vi: i32, sidx: &impl ToInputArray, values: &mut f32, ) -> Result<()>

Source§

fn get_norm_cat_values( &self, vi: i32, sidx: &impl ToInputArray, values: &mut i32, ) -> Result<()>

Source§

fn get_default_subst_values(&self) -> Result<Mat>

Source§

fn get_cat_count(&self, vi: i32) -> Result<i32>

Source§

fn get_class_labels(&self) -> Result<Mat>

Returns the vector of class labels Read more
Source§

fn get_cat_ofs(&self) -> Result<Mat>

Source§

fn get_cat_map(&self) -> Result<Mat>

Source§

fn get_test_samples(&self) -> Result<Mat>

Returns matrix of test samples
Source§

fn get_names(&self, names: &mut Vector<String>) -> Result<()>

Returns vector of symbolic names captured in loadFromCSV()
Source§

impl TransientAreasSegmentationModuleTrait for BoxedRefMut<'_, TransientAreasSegmentationModule>

Source§

fn as_raw_mut_TransientAreasSegmentationModule( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn get_size(&mut self) -> Result<Size>

return the sze of the manage input and output images
Source§

fn setup_from_file( &mut self, segmentation_parameter_file: &str, apply_default_setup_on_failure: bool, ) -> Result<()>

try to open an XML segmentation parameters file to adjust current segmentation instance setup Read more
Source§

fn setup_from_file_def(&mut self) -> Result<()>

try to open an XML segmentation parameters file to adjust current segmentation instance setup Read more
Source§

fn setup_from_storage( &mut self, fs: &mut impl FileStorageTrait, apply_default_setup_on_failure: bool, ) -> Result<()>

try to open an XML segmentation parameters file to adjust current segmentation instance setup Read more
Source§

fn setup_from_storage_def( &mut self, fs: &mut impl FileStorageTrait, ) -> Result<()>

try to open an XML segmentation parameters file to adjust current segmentation instance setup Read more
Source§

fn setup(&mut self, new_parameters: SegmentationParameters) -> Result<()>

try to open an XML segmentation parameters file to adjust current segmentation instance setup Read more
Source§

fn get_parameters(&mut self) -> Result<SegmentationParameters>

return the current parameters setup
Source§

fn print_setup(&mut self) -> Result<String>

parameters setup display method Read more
Source§

fn run( &mut self, input_to_segment: &impl ToInputArray, channel_index: i32, ) -> Result<()>

main processing method, get result using methods getSegmentationPicture() Read more
Source§

fn run_def(&mut self, input_to_segment: &impl ToInputArray) -> Result<()>

main processing method, get result using methods getSegmentationPicture() Read more
Source§

fn get_segmentation_picture( &mut self, transient_areas: &mut impl ToOutputArray, ) -> Result<()>

access function return the last segmentation result: a boolean picture which is resampled between 0 and 255 for a display purpose
Source§

fn clear_all_buffers(&mut self) -> Result<()>

cleans all the buffers of the instance
Source§

impl TransientAreasSegmentationModuleTraitConst for BoxedRefMut<'_, TransientAreasSegmentationModule>

Source§

fn as_raw_TransientAreasSegmentationModule( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &str) -> Result<()>

write xml/yml formated parameters information Read more
Source§

fn write_to_storage(&self, fs: &mut impl FileStorageTrait) -> Result<()>

write xml/yml formated parameters information Read more
Source§

impl TranslationBasedLocalOutlierRejectorTrait for BoxedRefMut<'_, TranslationBasedLocalOutlierRejector>

Source§

fn as_raw_mut_TranslationBasedLocalOutlierRejector( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_cell_size(&mut self, val: Size) -> Result<()>

Source§

fn set_ransac_params(&mut self, val: impl RansacParamsTrait) -> Result<()>

Source§

fn process( &mut self, frame_size: Size, points0: &impl ToInputArray, points1: &impl ToInputArray, mask: &mut impl ToOutputArray, ) -> Result<()>

Source§

impl TranslationBasedLocalOutlierRejectorTraitConst for BoxedRefMut<'_, TranslationBasedLocalOutlierRejector>

Source§

fn as_raw_TranslationBasedLocalOutlierRejector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn cell_size(&self) -> Result<Size>

Source§

fn ransac_params(&self) -> Result<RansacParams>

Source§

impl TransverseMercatorWarperTrait for BoxedRefMut<'_, TransverseMercatorWarper>

Source§

fn as_raw_mut_TransverseMercatorWarper( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl TransverseMercatorWarperTraitConst for BoxedRefMut<'_, TransverseMercatorWarper>

Source§

fn as_raw_TransverseMercatorWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn create(&self, scale: f32) -> Result<Ptr<Detail_RotationWarper>>

Source§

impl TwoPassStabilizerTrait for BoxedRefMut<'_, TwoPassStabilizer>

Source§

fn as_raw_mut_TwoPassStabilizer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_motion_stabilizer(&mut self, val: Ptr<IMotionStabilizer>) -> Result<()>

Source§

fn set_wobble_suppressor( &mut self, val: Ptr<WobbleSuppressorBase>, ) -> Result<()>

Source§

fn set_estimate_trim_ratio(&mut self, val: bool) -> Result<()>

Source§

fn reset(&mut self) -> Result<()>

Source§

fn next_frame(&mut self) -> Result<Mat>

Source§

impl TwoPassStabilizerTraitConst for BoxedRefMut<'_, TwoPassStabilizer>

Source§

impl UMatDataTrait for BoxedRefMut<'_, UMatData>

Source§

fn as_raw_mut_UMatData( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_urefcount(&mut self, val: i32)

Source§

fn set_refcount(&mut self, val: i32)

Source§

fn data_mut(&mut self) -> *mut u8

Source§

unsafe fn set_data(&mut self, val: *const u8)

Source§

fn origdata_mut(&mut self) -> *mut u8

Source§

unsafe fn set_origdata(&mut self, val: *const u8)

Source§

fn set_size(&mut self, val: size_t)

Source§

fn set_flags(&mut self, val: UMatData_MemoryFlag)

Source§

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

Source§

unsafe fn set_handle(&mut self, val: *const c_void)

Source§

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

Source§

unsafe fn set_userdata(&mut self, val: *const c_void)

Source§

fn set_allocator_flags_(&mut self, val: i32)

Source§

fn set_mapcount(&mut self, val: i32)

Source§

fn original_umat_data(&mut self) -> UMatData

Source§

fn set_original_umat_data(&mut self, val: &impl UMatDataTraitConst)

Source§

fn lock(&mut self) -> Result<()>

Source§

fn unlock(&mut self) -> Result<()>

Source§

fn mark_host_copy_obsolete(&mut self, flag: bool) -> Result<()>

Source§

fn mark_device_copy_obsolete(&mut self, flag: bool) -> Result<()>

Source§

fn mark_device_mem_mapped(&mut self, flag: bool) -> Result<()>

Source§

impl UMatDataTraitConst for BoxedRefMut<'_, UMatData>

Source§

fn as_raw_UMatData(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn urefcount(&self) -> i32

Source§

fn refcount(&self) -> i32

Source§

fn data(&self) -> *const u8

Source§

fn origdata(&self) -> *const u8

Source§

fn size(&self) -> size_t

Source§

fn flags(&self) -> UMatData_MemoryFlag

Source§

fn allocator_flags_(&self) -> i32

Source§

fn mapcount(&self) -> i32

Source§

fn host_copy_obsolete(&self) -> Result<bool>

Source§

fn device_copy_obsolete(&self) -> Result<bool>

Source§

fn device_mem_mapped(&self) -> Result<bool>

Source§

fn copy_on_map(&self) -> Result<bool>

Source§

fn temp_umat(&self) -> Result<bool>

Source§

fn temp_copied_umat(&self) -> Result<bool>

Source§

impl UMatTrait for BoxedRefMut<'_, UMat>

Source§

fn as_raw_mut_UMat( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_flags(&mut self, val: i32)

! includes several bit-fields: Read more
Source§

fn set_dims(&mut self, val: i32)

the matrix dimensionality, >= 2
Source§

fn set_rows(&mut self, val: i32)

number of rows in the matrix; -1 when the matrix has more than 2 dimensions
Source§

fn set_cols(&mut self, val: i32)

number of columns in the matrix; -1 when the matrix has more than 2 dimensions
Source§

fn set_usage_flags(&mut self, val: UMatUsageFlags)

usage flags for allocator; recommend do not set directly, instead set during construct/create/getUMat
Source§

fn u(&mut self) -> UMatData

black-box container of UMat data
Source§

fn set_u(&mut self, val: &impl UMatDataTraitConst)

black-box container of UMat data
Source§

fn set_offset(&mut self, val: size_t)

offset of the submatrix (or 0)
Source§

fn set_mat_size(&mut self, val: MatSize<'_>)

dimensional size of the matrix; accessible in various formats
Source§

fn set(&mut self, m: &impl UMatTraitConst) -> Result<()>

assignment operators
Source§

fn row_mut(&mut self, y: i32) -> Result<BoxedRefMut<'_, UMat>>

returns a new matrix header for the specified row
Source§

fn col_mut(&mut self, x: i32) -> Result<BoxedRefMut<'_, UMat>>

returns a new matrix header for the specified column
Source§

fn row_bounds_mut( &mut self, startrow: i32, endrow: i32, ) -> Result<BoxedRefMut<'_, UMat>>

… for the specified row span
Source§

fn row_range_mut( &mut self, r: &impl RangeTraitConst, ) -> Result<BoxedRefMut<'_, UMat>>

Source§

fn col_bounds_mut( &mut self, startcol: i32, endcol: i32, ) -> Result<BoxedRefMut<'_, UMat>>

… for the specified column span
Source§

fn col_range_mut( &mut self, r: &impl RangeTraitConst, ) -> Result<BoxedRefMut<'_, UMat>>

Source§

fn diag_def_mut(&mut self) -> Result<BoxedRefMut<'_, UMat>>

… for the specified diagonal (d=0 - the main diagonal, Read more
Source§

fn diag_mut(&mut self, d: i32) -> Result<BoxedRefMut<'_, UMat>>

… for the specified diagonal (d=0 - the main diagonal, Read more
Source§

fn set_scalar(&mut self, s: Scalar) -> Result<()>

sets every matrix element to s
Source§

fn set_to( &mut self, value: &impl ToInputArray, mask: &impl ToInputArray, ) -> Result<UMat>

sets some of the matrix elements to s, according to the mask Read more
Source§

fn set_to_def(&mut self, value: &impl ToInputArray) -> Result<UMat>

sets some of the matrix elements to s, according to the mask Read more
Source§

fn reshape_def_mut(&mut self, cn: i32) -> Result<BoxedRefMut<'_, UMat>>

creates alternative matrix header for the same data, with different Read more
Source§

fn reshape_mut(&mut self, cn: i32, rows: i32) -> Result<BoxedRefMut<'_, UMat>>

creates alternative matrix header for the same data, with different Read more
Source§

fn reshape_nd_mut( &mut self, cn: i32, newsz: &[i32], ) -> Result<BoxedRefMut<'_, UMat>>

Source§

unsafe fn create_rows_cols( &mut self, rows: i32, cols: i32, typ: i32, usage_flags: UMatUsageFlags, ) -> Result<()>

allocates new matrix data unless the matrix already has specified size and type. Read more
Source§

fn create_rows_cols_def(&mut self, rows: i32, cols: i32, typ: i32) -> Result<()>

allocates new matrix data unless the matrix already has specified size and type. Read more
Source§

unsafe fn create_size( &mut self, size: Size, typ: i32, usage_flags: UMatUsageFlags, ) -> Result<()>

C++ default parameters Read more
Source§

fn create_size_def(&mut self, size: Size, typ: i32) -> Result<()>

Source§

unsafe fn create_nd( &mut self, sizes: &[i32], typ: i32, usage_flags: UMatUsageFlags, ) -> Result<()>

C++ default parameters Read more
Source§

fn create_nd_def(&mut self, sizes: &[i32], typ: i32) -> Result<()>

Source§

unsafe fn create_nd_vec( &mut self, sizes: &Vector<i32>, typ: i32, usage_flags: UMatUsageFlags, ) -> Result<()>

C++ default parameters Read more
Source§

fn create_nd_vec_def(&mut self, sizes: &Vector<i32>, typ: i32) -> Result<()>

Source§

unsafe fn addref(&mut self) -> Result<()>

increases the reference counter; use with care to avoid memleaks
Source§

unsafe fn release(&mut self) -> Result<()>

decreases reference counter;
Source§

fn deallocate(&mut self) -> Result<()>

deallocates the matrix data
Source§

fn adjust_roi( &mut self, dtop: i32, dbottom: i32, dleft: i32, dright: i32, ) -> Result<UMat>

moves/resizes the current matrix ROI inside the parent matrix.
Source§

fn rowscols_mut( &mut self, row_range: impl RangeTrait, col_range: impl RangeTrait, ) -> Result<BoxedRefMut<'_, UMat>>

extracts a rectangular sub-matrix
Source§

fn roi_mut(&mut self, roi: Rect) -> Result<BoxedRefMut<'_, UMat>>

Source§

fn ranges_mut( &mut self, ranges: &Vector<Range>, ) -> Result<BoxedRefMut<'_, UMat>>

Source§

fn set_1(&mut self, m: UMat) -> Result<()>

Source§

fn update_continuity_flag(&mut self) -> Result<()>

internal use method: updates the continuity flag
Source§

impl UMatTraitConst for BoxedRefMut<'_, UMat>

Source§

fn as_raw_UMat(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn flags(&self) -> i32

! includes several bit-fields: Read more
Source§

fn dims(&self) -> i32

the matrix dimensionality, >= 2
Source§

fn rows(&self) -> i32

number of rows in the matrix; -1 when the matrix has more than 2 dimensions
Source§

fn cols(&self) -> i32

number of columns in the matrix; -1 when the matrix has more than 2 dimensions
Source§

fn usage_flags(&self) -> UMatUsageFlags

usage flags for allocator; recommend do not set directly, instead set during construct/create/getUMat
Source§

fn offset(&self) -> size_t

offset of the submatrix (or 0)
Source§

fn mat_size(&self) -> MatSize<'_>

dimensional size of the matrix; accessible in various formats
Source§

fn mat_step(&self) -> MatStep

number of bytes each matrix element/row/plane/dimension occupies
Source§

fn get_mat(&self, flags: AccessFlag) -> Result<Mat>

Source§

fn row(&self, y: i32) -> Result<BoxedRef<'_, UMat>>

returns a new matrix header for the specified row
Source§

fn col(&self, x: i32) -> Result<BoxedRef<'_, UMat>>

returns a new matrix header for the specified column
Source§

fn row_bounds(&self, startrow: i32, endrow: i32) -> Result<BoxedRef<'_, UMat>>

… for the specified row span
Source§

fn row_range(&self, r: &impl RangeTraitConst) -> Result<BoxedRef<'_, UMat>>

Source§

fn col_bounds(&self, startcol: i32, endcol: i32) -> Result<BoxedRef<'_, UMat>>

… for the specified column span
Source§

fn col_range(&self, r: &impl RangeTraitConst) -> Result<BoxedRef<'_, UMat>>

Source§

fn diag(&self, d: i32) -> Result<BoxedRef<'_, UMat>>

… for the specified diagonal (d=0 - the main diagonal, Read more
Source§

fn diag_def(&self) -> Result<BoxedRef<'_, UMat>>

… for the specified diagonal (d=0 - the main diagonal, Read more
Source§

fn try_clone(&self) -> Result<UMat>

returns deep copy of the matrix, i.e. the data is copied
Source§

fn copy_to(&self, m: &mut impl ToOutputArray) -> Result<()>

copies the matrix content to “m”.
Source§

fn copy_to_masked( &self, m: &mut impl ToOutputArray, mask: &impl ToInputArray, ) -> Result<()>

copies those matrix elements to “m” that are marked with non-zero mask elements.
Source§

fn convert_to( &self, m: &mut impl ToOutputArray, rtype: i32, alpha: f64, beta: f64, ) -> Result<()>

converts matrix to another datatype with optional scaling. See cvConvertScale. Read more
Source§

fn convert_to_def(&self, m: &mut impl ToOutputArray, rtype: i32) -> Result<()>

converts matrix to another datatype with optional scaling. See cvConvertScale. Read more
Source§

fn assign_to(&self, m: &mut impl UMatTrait, typ: i32) -> Result<()>

C++ default parameters Read more
Source§

fn assign_to_def(&self, m: &mut impl UMatTrait) -> Result<()>

Source§

fn reshape(&self, cn: i32, rows: i32) -> Result<BoxedRef<'_, UMat>>

creates alternative matrix header for the same data, with different Read more
Source§

fn reshape_def(&self, cn: i32) -> Result<BoxedRef<'_, UMat>>

creates alternative matrix header for the same data, with different Read more
Source§

fn reshape_nd(&self, cn: i32, newsz: &[i32]) -> Result<BoxedRef<'_, UMat>>

Source§

fn t(&self) -> Result<UMat>

matrix transposition by means of matrix expressions
Source§

fn inv(&self, method: i32) -> Result<UMat>

matrix inversion by means of matrix expressions Read more
Source§

fn inv_def(&self) -> Result<UMat>

matrix inversion by means of matrix expressions Read more
Source§

fn mul(&self, m: &impl ToInputArray, scale: f64) -> Result<UMat>

per-element matrix multiplication by means of matrix expressions Read more
Source§

fn mul_def(&self, m: &impl ToInputArray) -> Result<UMat>

per-element matrix multiplication by means of matrix expressions Read more
Source§

fn dot(&self, m: &impl ToInputArray) -> Result<f64>

computes dot-product
Source§

fn locate_roi(&self, whole_size: &mut Size, ofs: &mut Point) -> Result<()>

locates matrix header within a parent matrix. See below
Source§

fn rowscols( &self, row_range: impl RangeTrait, col_range: impl RangeTrait, ) -> Result<BoxedRef<'_, UMat>>

extracts a rectangular sub-matrix
Source§

fn roi(&self, roi: Rect) -> Result<BoxedRef<'_, UMat>>

Source§

fn ranges(&self, ranges: &Vector<Range>) -> Result<BoxedRef<'_, UMat>>

Source§

fn is_continuous(&self) -> bool

returns true iff the matrix data is continuous
Source§

fn is_submatrix(&self) -> bool

returns true if the matrix is a submatrix of another matrix
Source§

fn elem_size(&self) -> Result<size_t>

returns element size in bytes,
Source§

fn elem_size1(&self) -> size_t

returns the size of element channel in bytes.
Source§

fn typ(&self) -> i32

returns element type, similar to CV_MAT_TYPE(cvmat->type)
Source§

fn depth(&self) -> i32

returns element type, similar to CV_MAT_DEPTH(cvmat->type)
Source§

fn channels(&self) -> i32

returns element type, similar to CV_MAT_CN(cvmat->type)
Source§

fn step1(&self, i: i32) -> Result<size_t>

returns step/elemSize1() Read more
Source§

fn step1_def(&self) -> Result<size_t>

returns step/elemSize1() Read more
Source§

fn empty(&self) -> bool

returns true if matrix data is NULL
Source§

fn total(&self) -> size_t

returns the total number of matrix elements
Source§

fn check_vector( &self, elem_channels: i32, depth: i32, require_continuous: bool, ) -> Result<i32>

returns N if the matrix is 1-channel (N x ptdim) or ptdim-channel (1 x N) or (N x 1); negative number otherwise Read more
Source§

fn check_vector_def(&self, elem_channels: i32) -> Result<i32>

returns N if the matrix is 1-channel (N x ptdim) or ptdim-channel (1 x N) or (N x 1); negative number otherwise Read more
Source§

fn handle(&self, access_flags: AccessFlag) -> Result<*mut c_void>

! Returns the OpenCL buffer handle on which UMat operates on. The UMat instance should be kept alive during the use of the handle to prevent the buffer to be returned to the OpenCV buffer pool.
Source§

fn ndoffset(&self, ofs: &mut size_t) -> Result<()>

Source§

fn size(&self) -> Result<Size>

Source§

impl VGGTrait for BoxedRefMut<'_, VGG>

Source§

fn as_raw_mut_VGG( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_sigma(&mut self, isigma: f32) -> Result<()>

Source§

fn set_use_normalize_image(&mut self, img_normalize: bool) -> Result<()>

Source§

fn set_use_scale_orientation( &mut self, use_scale_orientation: bool, ) -> Result<()>

Source§

fn set_scale_factor(&mut self, scale_factor: f32) -> Result<()>

Source§

fn set_use_normalize_descriptor(&mut self, dsc_normalize: bool) -> Result<()>

Source§

impl VGGTraitConst for BoxedRefMut<'_, VGG>

Source§

impl VariationalRefinementTrait for BoxedRefMut<'_, VariationalRefinement>

Source§

fn as_raw_mut_VariationalRefinement( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn calc_uv( &mut self, i0: &impl ToInputArray, i1: &impl ToInputArray, flow_u: &mut impl ToInputOutputArray, flow_v: &mut impl ToInputOutputArray, ) -> Result<()>

[calc] function overload to handle separate horizontal (u) and vertical (v) flow components (to avoid extra splits/merges)
Source§

fn set_fixed_point_iterations(&mut self, val: i32) -> Result<()>

Number of outer (fixed-point) iterations in the minimization procedure. Read more
Source§

fn set_sor_iterations(&mut self, val: i32) -> Result<()>

Number of inner successive over-relaxation (SOR) iterations in the minimization procedure to solve the respective linear system. Read more
Source§

fn set_omega(&mut self, val: f32) -> Result<()>

Relaxation factor in SOR Read more
Source§

fn set_alpha(&mut self, val: f32) -> Result<()>

Weight of the smoothness term Read more
Source§

fn set_delta(&mut self, val: f32) -> Result<()>

Weight of the color constancy term Read more
Source§

fn set_gamma(&mut self, val: f32) -> Result<()>

Weight of the gradient constancy term Read more
Source§

fn set_epsilon(&mut self, val: f32) -> Result<()>

Norm value shift for robust penalizer Read more
Source§

impl VariationalRefinementTraitConst for BoxedRefMut<'_, VariationalRefinement>

Source§

fn as_raw_VariationalRefinement( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_fixed_point_iterations(&self) -> Result<i32>

Number of outer (fixed-point) iterations in the minimization procedure. Read more
Source§

fn get_sor_iterations(&self) -> Result<i32>

Number of inner successive over-relaxation (SOR) iterations in the minimization procedure to solve the respective linear system. Read more
Source§

fn get_omega(&self) -> Result<f32>

Relaxation factor in SOR Read more
Source§

fn get_alpha(&self) -> Result<f32>

Weight of the smoothness term Read more
Source§

fn get_delta(&self) -> Result<f32>

Weight of the color constancy term Read more
Source§

fn get_gamma(&self) -> Result<f32>

Weight of the gradient constancy term Read more
Source§

fn get_epsilon(&self) -> Result<f32>

Norm value shift for robust penalizer Read more
Source§

impl VideoCaptureTrait for BoxedRefMut<'_, VideoCapture>

Source§

fn as_raw_mut_VideoCapture( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn open_file(&mut self, filename: &str, api_preference: i32) -> Result<bool>

Opens a video file or a capturing device or an IP video stream for video capturing. Read more
Source§

fn open_file_def(&mut self, filename: &str) -> Result<bool>

Opens a video file or a capturing device or an IP video stream for video capturing. Read more
Source§

fn open_file_with_params( &mut self, filename: &str, api_preference: i32, params: &Vector<i32>, ) -> Result<bool>

Opens a video file or a capturing device or an IP video stream for video capturing with API Preference and parameters Read more
Source§

fn open(&mut self, index: i32, api_preference: i32) -> Result<bool>

Opens a camera for video capturing Read more
Source§

fn open_def(&mut self, index: i32) -> Result<bool>

Opens a camera for video capturing Read more
Source§

fn open_with_params( &mut self, index: i32, api_preference: i32, params: &Vector<i32>, ) -> Result<bool>

Opens a camera for video capturing with API Preference and parameters Read more
Source§

fn open_1( &mut self, source: &Ptr<IStreamReader>, api_preference: i32, params: &Vector<i32>, ) -> Result<bool>

Opens a video using data stream. Read more
Source§

fn release(&mut self) -> Result<()>

Closes video file or capturing device. Read more
Source§

fn grab(&mut self) -> Result<bool>

Grabs the next frame from video file or capturing device. Read more
Source§

fn retrieve( &mut self, image: &mut impl ToOutputArray, flag: i32, ) -> Result<bool>

Decodes and returns the grabbed video frame. Read more
Source§

fn retrieve_def(&mut self, image: &mut impl ToOutputArray) -> Result<bool>

Decodes and returns the grabbed video frame. Read more
Source§

fn read(&mut self, image: &mut impl ToOutputArray) -> Result<bool>

Grabs, decodes and returns the next video frame. Read more
Source§

fn set(&mut self, prop_id: i32, value: f64) -> Result<bool>

Sets a property in the VideoCapture. Read more
Source§

fn set_exception_mode(&mut self, enable: bool) -> Result<()>

Switches exceptions mode Read more
Source§

impl VideoCaptureTraitConst for BoxedRefMut<'_, VideoCapture>

Source§

fn as_raw_VideoCapture(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn is_opened(&self) -> Result<bool>

Returns true if video capturing has been initialized already. Read more
Source§

fn get(&self, prop_id: i32) -> Result<f64>

Returns the specified VideoCapture property Read more
Source§

fn get_backend_name(&self) -> Result<String>

Returns used backend API name Read more
Source§

fn get_exception_mode(&self) -> Result<bool>

query if exception mode is active
Source§

impl VideoFileSourceTrait for BoxedRefMut<'_, VideoFileSource>

Source§

fn as_raw_mut_VideoFileSource( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn reset(&mut self) -> Result<()>

Source§

fn next_frame(&mut self) -> Result<Mat>

Source§

fn width(&mut self) -> Result<i32>

Source§

fn height(&mut self) -> Result<i32>

Source§

fn count(&mut self) -> Result<i32>

Source§

fn fps(&mut self) -> Result<f64>

Source§

impl VideoFileSourceTraitConst for BoxedRefMut<'_, VideoFileSource>

Source§

fn as_raw_VideoFileSource( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl VideoWriterTrait for BoxedRefMut<'_, VideoWriter>

Source§

fn as_raw_mut_VideoWriter( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn open( &mut self, filename: &str, fourcc: i32, fps: f64, frame_size: Size, is_color: bool, ) -> Result<bool>

Initializes or reinitializes video writer. Read more
Source§

fn open_def( &mut self, filename: &str, fourcc: i32, fps: f64, frame_size: Size, ) -> Result<bool>

Initializes or reinitializes video writer. Read more
Source§

fn open_with_backend( &mut self, filename: &str, api_preference: i32, fourcc: i32, fps: f64, frame_size: Size, is_color: bool, ) -> Result<bool>

Initializes or reinitializes video writer. Read more
Source§

fn open_with_backend_def( &mut self, filename: &str, api_preference: i32, fourcc: i32, fps: f64, frame_size: Size, ) -> Result<bool>

@overload Read more
Source§

fn open_1( &mut self, filename: &str, fourcc: i32, fps: f64, frame_size: Size, params: &Vector<i32>, ) -> Result<bool>

Initializes or reinitializes video writer. Read more
Source§

fn open_2( &mut self, filename: &str, api_preference: i32, fourcc: i32, fps: f64, frame_size: Size, params: &Vector<i32>, ) -> Result<bool>

Initializes or reinitializes video writer. Read more
Source§

fn release(&mut self) -> Result<()>

Closes the video writer. Read more
Source§

fn write(&mut self, image: &impl ToInputArray) -> Result<()>

Writes the next video frame Read more
Source§

fn set(&mut self, prop_id: i32, value: f64) -> Result<bool>

Sets a property in the VideoWriter. Read more
Source§

impl VideoWriterTraitConst for BoxedRefMut<'_, VideoWriter>

Source§

fn as_raw_VideoWriter(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn is_opened(&self) -> Result<bool>

Returns true if video writer has been successfully initialized.
Source§

fn get(&self, prop_id: i32) -> Result<f64>

Returns the specified VideoWriter property Read more
Source§

fn get_backend_name(&self) -> Result<String>

Returns used backend API name Read more
Source§

impl Viz3dTrait for BoxedRefMut<'_, Viz3d>

Source§

fn as_raw_mut_Viz3d( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set(&mut self, unnamed: &impl Viz3dTraitConst) -> Result<()>

Source§

fn show_widget( &mut self, id: &str, widget: &impl WidgetTraitConst, pose: Affine3d, ) -> Result<()>

Shows a widget in the window. Read more
Source§

fn show_widget_def( &mut self, id: &str, widget: &impl WidgetTraitConst, ) -> Result<()>

Shows a widget in the window. Read more
Source§

fn remove_widget(&mut self, id: &str) -> Result<()>

Removes a widget from the window. Read more
Source§

fn remove_all_widgets(&mut self) -> Result<()>

Removes all widgets from the window.
Source§

fn show_image( &mut self, image: &impl ToInputArray, window_size: Size, ) -> Result<()>

Removed all widgets and displays image scaled to whole window area. Read more
Source§

fn show_image_def(&mut self, image: &impl ToInputArray) -> Result<()>

Removed all widgets and displays image scaled to whole window area. Read more
Source§

fn set_widget_pose(&mut self, id: &str, pose: Affine3d) -> Result<()>

Sets pose of a widget in the window. Read more
Source§

fn update_widget_pose(&mut self, id: &str, pose: Affine3d) -> Result<()>

Updates pose of a widget in the window by pre-multiplying its current pose. Read more
Source§

fn set_camera(&mut self, camera: &impl CameraTraitConst) -> Result<()>

Sets the intrinsic parameters of the viewer using Camera. Read more
Source§

fn set_viewer_pose(&mut self, pose: Affine3d) -> Result<()>

Sets pose of the viewer. Read more
Source§

fn reset_camera_viewpoint(&mut self, id: &str) -> Result<()>

Resets camera viewpoint to a 3D widget in the scene. Read more
Source§

fn reset_camera(&mut self) -> Result<()>

Resets camera.
Source§

fn convert_to_window_coordinates( &mut self, pt: Point3d, window_coord: &mut Point3d, ) -> Result<()>

Transforms a point in world coordinate system to window coordinate system. Read more
Source§

fn conver_to_3d_ray( &mut self, window_coord: Point3d, origin: &mut Point3d, direction: &mut Vec3d, ) -> Result<()>

Transforms a point in window coordinate system to a 3D ray in world coordinate system. Read more
Source§

fn set_window_size(&mut self, window_size: Size) -> Result<()>

Sets the size of the window. Read more
Source§

fn save_screenshot(&mut self, file: &str) -> Result<()>

Saves screenshot of the current scene. Read more
Source§

fn set_window_position(&mut self, window_position: Point) -> Result<()>

Sets the position of the window in the screen. Read more
Source§

fn set_full_screen(&mut self, mode: bool) -> Result<()>

Sets or unsets full-screen rendering mode. Read more
Source§

fn set_full_screen_def(&mut self) -> Result<()>

Sets or unsets full-screen rendering mode. Read more
Source§

fn set_background_color( &mut self, color: &impl ColorTraitConst, color2: &impl ColorTraitConst, ) -> Result<()>

Sets background color. Read more
Source§

fn set_background_color_def(&mut self) -> Result<()>

Sets background color. Read more
Source§

fn set_background_texture(&mut self, image: &impl ToInputArray) -> Result<()>

C++ default parameters Read more
Source§

fn set_background_texture_def(&mut self) -> Result<()>

Source§

fn set_background_mesh_lab(&mut self) -> Result<()>

Source§

fn spin(&mut self) -> Result<()>

The window renders and starts the event loop.
Source§

fn spin_once(&mut self, time: i32, force_redraw: bool) -> Result<()>

Starts the event loop for a given time. Read more
Source§

fn spin_once_def(&mut self) -> Result<()>

Starts the event loop for a given time. Read more
Source§

fn set_off_screen_rendering(&mut self) -> Result<()>

Create a window in memory instead of on the screen.
Source§

fn remove_all_lights(&mut self) -> Result<()>

Remove all lights from the current scene.
Source§

fn add_light( &mut self, position: Vec3d, focal_point: Vec3d, color: &impl ColorTraitConst, diffuse_color: &impl ColorTraitConst, ambient_color: &impl ColorTraitConst, specular_color: &impl ColorTraitConst, ) -> Result<()>

Add a light in the scene. Read more
Source§

fn add_light_def(&mut self, position: Vec3d) -> Result<()>

Add a light in the scene. Read more
Source§

fn close(&mut self) -> Result<()>

Source§

fn register_keyboard_callback( &mut self, callback: Viz3d_KeyboardCallback, ) -> Result<()>

Sets keyboard handler. Read more
Source§

fn register_mouse_callback( &mut self, callback: Viz3d_MouseCallback, ) -> Result<()>

Sets mouse handler. Read more
Source§

fn set_rendering_property( &mut self, id: &str, property: i32, value: f64, ) -> Result<()>

Sets rendering property of a widget. Read more
Source§

fn get_rendering_property(&mut self, id: &str, property: i32) -> Result<f64>

Returns rendering property of a widget. Read more
Source§

fn set_representation(&mut self, representation: i32) -> Result<()>

Sets geometry representation of the widgets to surface, wireframe or points. Read more
Source§

fn set_global_warnings(&mut self, enabled: bool) -> Result<()>

C++ default parameters Read more
Source§

fn set_global_warnings_def(&mut self) -> Result<()>

Source§

impl Viz3dTraitConst for BoxedRefMut<'_, Viz3d>

Source§

fn as_raw_Viz3d(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_widget(&self, id: &str) -> Result<Widget>

Retrieves a widget from the window. Read more
Source§

fn get_widget_pose(&self, id: &str) -> Result<Affine3d>

Returns the current pose of a widget in the window. Read more
Source§

fn get_camera(&self) -> Result<Camera>

Returns a camera object that contains intrinsic parameters of the current viewer.
Source§

fn get_viewer_pose(&self) -> Result<Affine3d>

Returns the current pose of the viewer.
Source§

fn get_window_size(&self) -> Result<Size>

Returns the current size of the window.
Source§

fn get_window_name(&self) -> Result<String>

Returns the name of the window which has been set in the constructor. Viz - is prepended to the name if necessary.
Source§

fn get_screenshot(&self) -> Result<Mat>

Returns the Mat screenshot of the current scene.
Source§

fn was_stopped(&self) -> Result<bool>

Returns whether the event loop has been stopped.
Source§

impl WArrowTrait for BoxedRefMut<'_, WArrow>

Source§

fn as_raw_mut_WArrow( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl WArrowTraitConst for BoxedRefMut<'_, WArrow>

Source§

fn as_raw_WArrow(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl WBDetectorTrait for BoxedRefMut<'_, WBDetector>

Source§

fn as_raw_mut_WBDetector( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn read(&mut self, node: &impl FileNodeTraitConst) -> Result<()>

Read detector from FileNode. Read more
Source§

fn train(&mut self, pos_samples: &str, neg_imgs: &str) -> Result<()>

Train WaldBoost detector Read more
Source§

fn detect( &mut self, img: &impl MatTraitConst, bboxes: &mut Vector<Rect>, confidences: &mut Vector<f64>, ) -> Result<()>

Detect objects on image using WaldBoost detector Read more
Source§

impl WBDetectorTraitConst for BoxedRefMut<'_, WBDetector>

Source§

fn as_raw_WBDetector(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Write detector to FileStorage. Read more
Source§

impl WCameraPositionTrait for BoxedRefMut<'_, WCameraPosition>

Source§

fn as_raw_mut_WCameraPosition( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl WCameraPositionTraitConst for BoxedRefMut<'_, WCameraPosition>

Source§

fn as_raw_WCameraPosition( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl WCircleTrait for BoxedRefMut<'_, WCircle>

Source§

fn as_raw_mut_WCircle( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl WCircleTraitConst for BoxedRefMut<'_, WCircle>

Source§

fn as_raw_WCircle(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl WCloudCollectionTrait for BoxedRefMut<'_, WCloudCollection>

Source§

fn as_raw_mut_WCloudCollection( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn add_cloud( &mut self, cloud: &impl ToInputArray, colors: &impl ToInputArray, pose: Affine3d, ) -> Result<()>

Adds a cloud to the collection. Read more
Source§

fn add_cloud_def( &mut self, cloud: &impl ToInputArray, colors: &impl ToInputArray, ) -> Result<()>

Adds a cloud to the collection. Read more
Source§

fn add_cloud_1( &mut self, cloud: &impl ToInputArray, color: &impl ColorTraitConst, pose: Affine3d, ) -> Result<()>

Adds a cloud to the collection. Read more
Source§

fn add_cloud_def_1(&mut self, cloud: &impl ToInputArray) -> Result<()>

Adds a cloud to the collection. Read more
Source§

fn finalize(&mut self) -> Result<()>

Finalizes cloud data by repacking to single cloud. Read more
Source§

impl WCloudCollectionTraitConst for BoxedRefMut<'_, WCloudCollection>

Source§

fn as_raw_WCloudCollection( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl WCloudNormalsTrait for BoxedRefMut<'_, WCloudNormals>

Source§

fn as_raw_mut_WCloudNormals( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl WCloudNormalsTraitConst for BoxedRefMut<'_, WCloudNormals>

Source§

fn as_raw_WCloudNormals( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl WCloudTrait for BoxedRefMut<'_, WCloud>

Source§

fn as_raw_mut_WCloud( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl WCloudTraitConst for BoxedRefMut<'_, WCloud>

Source§

fn as_raw_WCloud(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl WConeTrait for BoxedRefMut<'_, WCone>

Source§

fn as_raw_mut_WCone( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl WConeTraitConst for BoxedRefMut<'_, WCone>

Source§

fn as_raw_WCone(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl WCoordinateSystemTrait for BoxedRefMut<'_, WCoordinateSystem>

Source§

fn as_raw_mut_WCoordinateSystem( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl WCoordinateSystemTraitConst for BoxedRefMut<'_, WCoordinateSystem>

Source§

fn as_raw_WCoordinateSystem( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl WCubeTrait for BoxedRefMut<'_, WCube>

Source§

fn as_raw_mut_WCube( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl WCubeTraitConst for BoxedRefMut<'_, WCube>

Source§

fn as_raw_WCube(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl WCylinderTrait for BoxedRefMut<'_, WCylinder>

Source§

fn as_raw_mut_WCylinder( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl WCylinderTraitConst for BoxedRefMut<'_, WCylinder>

Source§

fn as_raw_WCylinder(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl WGridTrait for BoxedRefMut<'_, WGrid>

Source§

fn as_raw_mut_WGrid( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl WGridTraitConst for BoxedRefMut<'_, WGrid>

Source§

fn as_raw_WGrid(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl WImage3DTrait for BoxedRefMut<'_, WImage3D>

Source§

fn as_raw_mut_WImage3D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_image(&mut self, image: &impl ToInputArray) -> Result<()>

Sets the image content of the widget. Read more
Source§

fn set_size(&mut self, size: Size) -> Result<()>

Sets the image size of the widget. Read more
Source§

impl WImage3DTraitConst for BoxedRefMut<'_, WImage3D>

Source§

fn as_raw_WImage3D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl WImageOverlayTrait for BoxedRefMut<'_, WImageOverlay>

Source§

fn as_raw_mut_WImageOverlay( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_image(&mut self, image: &impl ToInputArray) -> Result<()>

Sets the image content of the widget. Read more
Source§

impl WImageOverlayTraitConst for BoxedRefMut<'_, WImageOverlay>

Source§

fn as_raw_WImageOverlay( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl WLineTrait for BoxedRefMut<'_, WLine>

Source§

fn as_raw_mut_WLine( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl WLineTraitConst for BoxedRefMut<'_, WLine>

Source§

fn as_raw_WLine(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl WMeshTrait for BoxedRefMut<'_, WMesh>

Source§

fn as_raw_mut_WMesh( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl WMeshTraitConst for BoxedRefMut<'_, WMesh>

Source§

fn as_raw_WMesh(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl WPaintedCloudTrait for BoxedRefMut<'_, WPaintedCloud>

Source§

fn as_raw_mut_WPaintedCloud( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl WPaintedCloudTraitConst for BoxedRefMut<'_, WPaintedCloud>

Source§

fn as_raw_WPaintedCloud( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl WPlaneTrait for BoxedRefMut<'_, WPlane>

Source§

fn as_raw_mut_WPlane( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl WPlaneTraitConst for BoxedRefMut<'_, WPlane>

Source§

fn as_raw_WPlane(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl WPolyLineTrait for BoxedRefMut<'_, WPolyLine>

Source§

fn as_raw_mut_WPolyLine( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl WPolyLineTraitConst for BoxedRefMut<'_, WPolyLine>

Source§

fn as_raw_WPolyLine(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl WSphereTrait for BoxedRefMut<'_, WSphere>

Source§

fn as_raw_mut_WSphere( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl WSphereTraitConst for BoxedRefMut<'_, WSphere>

Source§

fn as_raw_WSphere(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl WText3DTrait for BoxedRefMut<'_, WText3D>

Source§

fn as_raw_mut_WText3D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_text(&mut self, text: &str) -> Result<()>

Sets the text content of the widget. Read more
Source§

impl WText3DTraitConst for BoxedRefMut<'_, WText3D>

Source§

fn as_raw_WText3D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_text(&self) -> Result<String>

Returns the current text content of the widget.
Source§

impl WTextTrait for BoxedRefMut<'_, WText>

Source§

fn as_raw_mut_WText( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_text(&mut self, text: &str) -> Result<()>

Sets the text content of the widget. Read more
Source§

impl WTextTraitConst for BoxedRefMut<'_, WText>

Source§

fn as_raw_WText(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_text(&self) -> Result<String>

Returns the current text content of the widget.
Source§

impl WTrajectoryFrustumsTrait for BoxedRefMut<'_, WTrajectoryFrustums>

Source§

fn as_raw_mut_WTrajectoryFrustums( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl WTrajectoryFrustumsTraitConst for BoxedRefMut<'_, WTrajectoryFrustums>

Source§

fn as_raw_WTrajectoryFrustums( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl WTrajectorySpheresTrait for BoxedRefMut<'_, WTrajectorySpheres>

Source§

fn as_raw_mut_WTrajectorySpheres( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl WTrajectorySpheresTraitConst for BoxedRefMut<'_, WTrajectorySpheres>

Source§

fn as_raw_WTrajectorySpheres( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl WTrajectoryTrait for BoxedRefMut<'_, WTrajectory>

Source§

fn as_raw_mut_WTrajectory( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl WTrajectoryTraitConst for BoxedRefMut<'_, WTrajectory>

Source§

fn as_raw_WTrajectory(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl WWidgetMergerTrait for BoxedRefMut<'_, WWidgetMerger>

Source§

fn as_raw_mut_WWidgetMerger( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn add_widget( &mut self, widget: &impl Widget3DTraitConst, pose: Affine3d, ) -> Result<()>

Add widget to merge with optional position change Read more
Source§

fn add_widget_def(&mut self, widget: &impl Widget3DTraitConst) -> Result<()>

Add widget to merge with optional position change Read more
Source§

fn finalize(&mut self) -> Result<()>

Repacks internal structure to single widget
Source§

impl WWidgetMergerTraitConst for BoxedRefMut<'_, WWidgetMerger>

Source§

fn as_raw_WWidgetMerger( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl WarperCreatorTrait for BoxedRefMut<'_, AffineWarper>

Source§

fn as_raw_mut_WarperCreator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl WarperCreatorTrait for BoxedRefMut<'_, CompressedRectilinearPortraitWarper>

Source§

fn as_raw_mut_WarperCreator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl WarperCreatorTrait for BoxedRefMut<'_, CompressedRectilinearWarper>

Source§

fn as_raw_mut_WarperCreator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl WarperCreatorTrait for BoxedRefMut<'_, CylindricalWarper>

Source§

fn as_raw_mut_WarperCreator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl WarperCreatorTrait for BoxedRefMut<'_, CylindricalWarperGpu>

Source§

fn as_raw_mut_WarperCreator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl WarperCreatorTrait for BoxedRefMut<'_, FisheyeWarper>

Source§

fn as_raw_mut_WarperCreator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl WarperCreatorTrait for BoxedRefMut<'_, MercatorWarper>

Source§

fn as_raw_mut_WarperCreator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl WarperCreatorTrait for BoxedRefMut<'_, PaniniPortraitWarper>

Source§

fn as_raw_mut_WarperCreator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl WarperCreatorTrait for BoxedRefMut<'_, PaniniWarper>

Source§

fn as_raw_mut_WarperCreator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl WarperCreatorTrait for BoxedRefMut<'_, PlaneWarper>

Source§

fn as_raw_mut_WarperCreator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl WarperCreatorTrait for BoxedRefMut<'_, PlaneWarperGpu>

Source§

fn as_raw_mut_WarperCreator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl WarperCreatorTrait for BoxedRefMut<'_, SphericalWarper>

Source§

fn as_raw_mut_WarperCreator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl WarperCreatorTrait for BoxedRefMut<'_, SphericalWarperGpu>

Source§

fn as_raw_mut_WarperCreator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl WarperCreatorTrait for BoxedRefMut<'_, StereographicWarper>

Source§

fn as_raw_mut_WarperCreator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl WarperCreatorTrait for BoxedRefMut<'_, TransverseMercatorWarper>

Source§

fn as_raw_mut_WarperCreator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl WarperCreatorTrait for BoxedRefMut<'_, WarperCreator>

Source§

fn as_raw_mut_WarperCreator( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl WarperCreatorTraitConst for BoxedRefMut<'_, AffineWarper>

Source§

fn as_raw_WarperCreator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn create(&self, scale: f32) -> Result<Ptr<Detail_RotationWarper>>

Source§

impl WarperCreatorTraitConst for BoxedRefMut<'_, CompressedRectilinearPortraitWarper>

Source§

fn as_raw_WarperCreator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn create(&self, scale: f32) -> Result<Ptr<Detail_RotationWarper>>

Source§

impl WarperCreatorTraitConst for BoxedRefMut<'_, CompressedRectilinearWarper>

Source§

fn as_raw_WarperCreator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn create(&self, scale: f32) -> Result<Ptr<Detail_RotationWarper>>

Source§

impl WarperCreatorTraitConst for BoxedRefMut<'_, CylindricalWarper>

Source§

fn as_raw_WarperCreator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn create(&self, scale: f32) -> Result<Ptr<Detail_RotationWarper>>

Source§

impl WarperCreatorTraitConst for BoxedRefMut<'_, CylindricalWarperGpu>

Source§

fn as_raw_WarperCreator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn create(&self, scale: f32) -> Result<Ptr<Detail_RotationWarper>>

Source§

impl WarperCreatorTraitConst for BoxedRefMut<'_, FisheyeWarper>

Source§

fn as_raw_WarperCreator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn create(&self, scale: f32) -> Result<Ptr<Detail_RotationWarper>>

Source§

impl WarperCreatorTraitConst for BoxedRefMut<'_, MercatorWarper>

Source§

fn as_raw_WarperCreator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn create(&self, scale: f32) -> Result<Ptr<Detail_RotationWarper>>

Source§

impl WarperCreatorTraitConst for BoxedRefMut<'_, PaniniPortraitWarper>

Source§

fn as_raw_WarperCreator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn create(&self, scale: f32) -> Result<Ptr<Detail_RotationWarper>>

Source§

impl WarperCreatorTraitConst for BoxedRefMut<'_, PaniniWarper>

Source§

fn as_raw_WarperCreator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn create(&self, scale: f32) -> Result<Ptr<Detail_RotationWarper>>

Source§

impl WarperCreatorTraitConst for BoxedRefMut<'_, PlaneWarper>

Source§

fn as_raw_WarperCreator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn create(&self, scale: f32) -> Result<Ptr<Detail_RotationWarper>>

Source§

impl WarperCreatorTraitConst for BoxedRefMut<'_, PlaneWarperGpu>

Source§

fn as_raw_WarperCreator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn create(&self, scale: f32) -> Result<Ptr<Detail_RotationWarper>>

Source§

impl WarperCreatorTraitConst for BoxedRefMut<'_, SphericalWarper>

Source§

fn as_raw_WarperCreator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn create(&self, scale: f32) -> Result<Ptr<Detail_RotationWarper>>

Source§

impl WarperCreatorTraitConst for BoxedRefMut<'_, SphericalWarperGpu>

Source§

fn as_raw_WarperCreator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn create(&self, scale: f32) -> Result<Ptr<Detail_RotationWarper>>

Source§

impl WarperCreatorTraitConst for BoxedRefMut<'_, StereographicWarper>

Source§

fn as_raw_WarperCreator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn create(&self, scale: f32) -> Result<Ptr<Detail_RotationWarper>>

Source§

impl WarperCreatorTraitConst for BoxedRefMut<'_, TransverseMercatorWarper>

Source§

fn as_raw_WarperCreator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn create(&self, scale: f32) -> Result<Ptr<Detail_RotationWarper>>

Source§

impl WarperCreatorTraitConst for BoxedRefMut<'_, WarperCreator>

Source§

fn as_raw_WarperCreator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn create(&self, scale: f32) -> Result<Ptr<Detail_RotationWarper>>

Source§

impl WeChatQRCodeTrait for BoxedRefMut<'_, WeChatQRCode>

Source§

fn as_raw_mut_WeChatQRCode( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn detect_and_decode( &mut self, img: &impl ToInputArray, points: &mut impl ToOutputArray, ) -> Result<Vector<String>>

Both detects and decodes QR code. To simplify the usage, there is a only API: detectAndDecode Read more
Source§

fn detect_and_decode_def( &mut self, img: &impl ToInputArray, ) -> Result<Vector<String>>

Both detects and decodes QR code. To simplify the usage, there is a only API: detectAndDecode Read more
Source§

fn set_scale_factor(&mut self, _scaling_factor: f32) -> Result<()>

set scale factor QR code detector use neural network to detect QR. Before running the neural network, the input image is pre-processed by scaling. By default, the input image is scaled to an image with an area of 160000 pixels. The scale factor allows to use custom scale the input image: width = scaleFactorwidth height = scaleFactorwidth Read more
Source§

fn get_scale_factor(&mut self) -> Result<f32>

Source§

impl WeChatQRCodeTraitConst for BoxedRefMut<'_, WeChatQRCode>

Source§

fn as_raw_WeChatQRCode(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl WeightingDeblurerTrait for BoxedRefMut<'_, WeightingDeblurer>

Source§

fn as_raw_mut_WeightingDeblurer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_sensitivity(&mut self, val: f32) -> Result<()>

Source§

fn deblur( &mut self, idx: i32, frame: &mut impl MatTrait, range: &impl RangeTraitConst, ) -> Result<()>

Source§

impl WeightingDeblurerTraitConst for BoxedRefMut<'_, WeightingDeblurer>

Source§

fn as_raw_WeightingDeblurer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn sensitivity(&self) -> Result<f32>

Source§

impl WhiteBalancerTrait for BoxedRefMut<'_, GrayworldWB>

Source§

fn as_raw_mut_WhiteBalancer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn balance_white( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, ) -> Result<()>

Applies white balancing to the input image Read more
Source§

impl WhiteBalancerTrait for BoxedRefMut<'_, LearningBasedWB>

Source§

fn as_raw_mut_WhiteBalancer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn balance_white( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, ) -> Result<()>

Applies white balancing to the input image Read more
Source§

impl WhiteBalancerTrait for BoxedRefMut<'_, SimpleWB>

Source§

fn as_raw_mut_WhiteBalancer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn balance_white( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, ) -> Result<()>

Applies white balancing to the input image Read more
Source§

impl WhiteBalancerTrait for BoxedRefMut<'_, WhiteBalancer>

Source§

fn as_raw_mut_WhiteBalancer( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn balance_white( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, ) -> Result<()>

Applies white balancing to the input image Read more
Source§

impl WhiteBalancerTraitConst for BoxedRefMut<'_, GrayworldWB>

Source§

fn as_raw_WhiteBalancer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl WhiteBalancerTraitConst for BoxedRefMut<'_, LearningBasedWB>

Source§

fn as_raw_WhiteBalancer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl WhiteBalancerTraitConst for BoxedRefMut<'_, SimpleWB>

Source§

fn as_raw_WhiteBalancer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl WhiteBalancerTraitConst for BoxedRefMut<'_, WhiteBalancer>

Source§

fn as_raw_WhiteBalancer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Widget2DTrait for BoxedRefMut<'_, WImageOverlay>

Source§

fn as_raw_mut_Widget2D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_color(&mut self, color: &impl ColorTraitConst) -> Result<()>

Sets the color of the widget. Read more
Source§

impl Widget2DTrait for BoxedRefMut<'_, WText>

Source§

fn as_raw_mut_Widget2D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_color(&mut self, color: &impl ColorTraitConst) -> Result<()>

Sets the color of the widget. Read more
Source§

impl Widget2DTrait for BoxedRefMut<'_, Widget2D>

Source§

fn as_raw_mut_Widget2D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_color(&mut self, color: &impl ColorTraitConst) -> Result<()>

Sets the color of the widget. Read more
Source§

impl Widget2DTraitConst for BoxedRefMut<'_, WImageOverlay>

Source§

fn as_raw_Widget2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Widget2DTraitConst for BoxedRefMut<'_, WText>

Source§

fn as_raw_Widget2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Widget2DTraitConst for BoxedRefMut<'_, Widget2D>

Source§

fn as_raw_Widget2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl Widget3DTrait for BoxedRefMut<'_, WArrow>

Source§

fn as_raw_mut_Widget3D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_pose(&mut self, pose: Affine3d) -> Result<()>

Sets pose of the widget. Read more
Source§

fn update_pose(&mut self, pose: Affine3d) -> Result<()>

Updates pose of the widget by pre-multiplying its current pose. Read more
Source§

fn apply_transform(&mut self, transform: Affine3d) -> Result<()>

Transforms internal widget data (i.e. points, normals) using the given transform. Read more
Source§

fn set_color(&mut self, color: &impl ColorTraitConst) -> Result<()>

Sets the color of the widget. Read more
Source§

impl Widget3DTrait for BoxedRefMut<'_, WCameraPosition>

Source§

fn as_raw_mut_Widget3D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_pose(&mut self, pose: Affine3d) -> Result<()>

Sets pose of the widget. Read more
Source§

fn update_pose(&mut self, pose: Affine3d) -> Result<()>

Updates pose of the widget by pre-multiplying its current pose. Read more
Source§

fn apply_transform(&mut self, transform: Affine3d) -> Result<()>

Transforms internal widget data (i.e. points, normals) using the given transform. Read more
Source§

fn set_color(&mut self, color: &impl ColorTraitConst) -> Result<()>

Sets the color of the widget. Read more
Source§

impl Widget3DTrait for BoxedRefMut<'_, WCircle>

Source§

fn as_raw_mut_Widget3D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_pose(&mut self, pose: Affine3d) -> Result<()>

Sets pose of the widget. Read more
Source§

fn update_pose(&mut self, pose: Affine3d) -> Result<()>

Updates pose of the widget by pre-multiplying its current pose. Read more
Source§

fn apply_transform(&mut self, transform: Affine3d) -> Result<()>

Transforms internal widget data (i.e. points, normals) using the given transform. Read more
Source§

fn set_color(&mut self, color: &impl ColorTraitConst) -> Result<()>

Sets the color of the widget. Read more
Source§

impl Widget3DTrait for BoxedRefMut<'_, WCloud>

Source§

fn as_raw_mut_Widget3D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_pose(&mut self, pose: Affine3d) -> Result<()>

Sets pose of the widget. Read more
Source§

fn update_pose(&mut self, pose: Affine3d) -> Result<()>

Updates pose of the widget by pre-multiplying its current pose. Read more
Source§

fn apply_transform(&mut self, transform: Affine3d) -> Result<()>

Transforms internal widget data (i.e. points, normals) using the given transform. Read more
Source§

fn set_color(&mut self, color: &impl ColorTraitConst) -> Result<()>

Sets the color of the widget. Read more
Source§

impl Widget3DTrait for BoxedRefMut<'_, WCloudCollection>

Source§

fn as_raw_mut_Widget3D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_pose(&mut self, pose: Affine3d) -> Result<()>

Sets pose of the widget. Read more
Source§

fn update_pose(&mut self, pose: Affine3d) -> Result<()>

Updates pose of the widget by pre-multiplying its current pose. Read more
Source§

fn apply_transform(&mut self, transform: Affine3d) -> Result<()>

Transforms internal widget data (i.e. points, normals) using the given transform. Read more
Source§

fn set_color(&mut self, color: &impl ColorTraitConst) -> Result<()>

Sets the color of the widget. Read more
Source§

impl Widget3DTrait for BoxedRefMut<'_, WCloudNormals>

Source§

fn as_raw_mut_Widget3D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_pose(&mut self, pose: Affine3d) -> Result<()>

Sets pose of the widget. Read more
Source§

fn update_pose(&mut self, pose: Affine3d) -> Result<()>

Updates pose of the widget by pre-multiplying its current pose. Read more
Source§

fn apply_transform(&mut self, transform: Affine3d) -> Result<()>

Transforms internal widget data (i.e. points, normals) using the given transform. Read more
Source§

fn set_color(&mut self, color: &impl ColorTraitConst) -> Result<()>

Sets the color of the widget. Read more
Source§

impl Widget3DTrait for BoxedRefMut<'_, WCone>

Source§

fn as_raw_mut_Widget3D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_pose(&mut self, pose: Affine3d) -> Result<()>

Sets pose of the widget. Read more
Source§

fn update_pose(&mut self, pose: Affine3d) -> Result<()>

Updates pose of the widget by pre-multiplying its current pose. Read more
Source§

fn apply_transform(&mut self, transform: Affine3d) -> Result<()>

Transforms internal widget data (i.e. points, normals) using the given transform. Read more
Source§

fn set_color(&mut self, color: &impl ColorTraitConst) -> Result<()>

Sets the color of the widget. Read more
Source§

impl Widget3DTrait for BoxedRefMut<'_, WCoordinateSystem>

Source§

fn as_raw_mut_Widget3D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_pose(&mut self, pose: Affine3d) -> Result<()>

Sets pose of the widget. Read more
Source§

fn update_pose(&mut self, pose: Affine3d) -> Result<()>

Updates pose of the widget by pre-multiplying its current pose. Read more
Source§

fn apply_transform(&mut self, transform: Affine3d) -> Result<()>

Transforms internal widget data (i.e. points, normals) using the given transform. Read more
Source§

fn set_color(&mut self, color: &impl ColorTraitConst) -> Result<()>

Sets the color of the widget. Read more
Source§

impl Widget3DTrait for BoxedRefMut<'_, WCube>

Source§

fn as_raw_mut_Widget3D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_pose(&mut self, pose: Affine3d) -> Result<()>

Sets pose of the widget. Read more
Source§

fn update_pose(&mut self, pose: Affine3d) -> Result<()>

Updates pose of the widget by pre-multiplying its current pose. Read more
Source§

fn apply_transform(&mut self, transform: Affine3d) -> Result<()>

Transforms internal widget data (i.e. points, normals) using the given transform. Read more
Source§

fn set_color(&mut self, color: &impl ColorTraitConst) -> Result<()>

Sets the color of the widget. Read more
Source§

impl Widget3DTrait for BoxedRefMut<'_, WCylinder>

Source§

fn as_raw_mut_Widget3D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_pose(&mut self, pose: Affine3d) -> Result<()>

Sets pose of the widget. Read more
Source§

fn update_pose(&mut self, pose: Affine3d) -> Result<()>

Updates pose of the widget by pre-multiplying its current pose. Read more
Source§

fn apply_transform(&mut self, transform: Affine3d) -> Result<()>

Transforms internal widget data (i.e. points, normals) using the given transform. Read more
Source§

fn set_color(&mut self, color: &impl ColorTraitConst) -> Result<()>

Sets the color of the widget. Read more
Source§

impl Widget3DTrait for BoxedRefMut<'_, WGrid>

Source§

fn as_raw_mut_Widget3D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_pose(&mut self, pose: Affine3d) -> Result<()>

Sets pose of the widget. Read more
Source§

fn update_pose(&mut self, pose: Affine3d) -> Result<()>

Updates pose of the widget by pre-multiplying its current pose. Read more
Source§

fn apply_transform(&mut self, transform: Affine3d) -> Result<()>

Transforms internal widget data (i.e. points, normals) using the given transform. Read more
Source§

fn set_color(&mut self, color: &impl ColorTraitConst) -> Result<()>

Sets the color of the widget. Read more
Source§

impl Widget3DTrait for BoxedRefMut<'_, WImage3D>

Source§

fn as_raw_mut_Widget3D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_pose(&mut self, pose: Affine3d) -> Result<()>

Sets pose of the widget. Read more
Source§

fn update_pose(&mut self, pose: Affine3d) -> Result<()>

Updates pose of the widget by pre-multiplying its current pose. Read more
Source§

fn apply_transform(&mut self, transform: Affine3d) -> Result<()>

Transforms internal widget data (i.e. points, normals) using the given transform. Read more
Source§

fn set_color(&mut self, color: &impl ColorTraitConst) -> Result<()>

Sets the color of the widget. Read more
Source§

impl Widget3DTrait for BoxedRefMut<'_, WLine>

Source§

fn as_raw_mut_Widget3D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_pose(&mut self, pose: Affine3d) -> Result<()>

Sets pose of the widget. Read more
Source§

fn update_pose(&mut self, pose: Affine3d) -> Result<()>

Updates pose of the widget by pre-multiplying its current pose. Read more
Source§

fn apply_transform(&mut self, transform: Affine3d) -> Result<()>

Transforms internal widget data (i.e. points, normals) using the given transform. Read more
Source§

fn set_color(&mut self, color: &impl ColorTraitConst) -> Result<()>

Sets the color of the widget. Read more
Source§

impl Widget3DTrait for BoxedRefMut<'_, WMesh>

Source§

fn as_raw_mut_Widget3D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_pose(&mut self, pose: Affine3d) -> Result<()>

Sets pose of the widget. Read more
Source§

fn update_pose(&mut self, pose: Affine3d) -> Result<()>

Updates pose of the widget by pre-multiplying its current pose. Read more
Source§

fn apply_transform(&mut self, transform: Affine3d) -> Result<()>

Transforms internal widget data (i.e. points, normals) using the given transform. Read more
Source§

fn set_color(&mut self, color: &impl ColorTraitConst) -> Result<()>

Sets the color of the widget. Read more
Source§

impl Widget3DTrait for BoxedRefMut<'_, WPaintedCloud>

Source§

fn as_raw_mut_Widget3D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_pose(&mut self, pose: Affine3d) -> Result<()>

Sets pose of the widget. Read more
Source§

fn update_pose(&mut self, pose: Affine3d) -> Result<()>

Updates pose of the widget by pre-multiplying its current pose. Read more
Source§

fn apply_transform(&mut self, transform: Affine3d) -> Result<()>

Transforms internal widget data (i.e. points, normals) using the given transform. Read more
Source§

fn set_color(&mut self, color: &impl ColorTraitConst) -> Result<()>

Sets the color of the widget. Read more
Source§

impl Widget3DTrait for BoxedRefMut<'_, WPlane>

Source§

fn as_raw_mut_Widget3D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_pose(&mut self, pose: Affine3d) -> Result<()>

Sets pose of the widget. Read more
Source§

fn update_pose(&mut self, pose: Affine3d) -> Result<()>

Updates pose of the widget by pre-multiplying its current pose. Read more
Source§

fn apply_transform(&mut self, transform: Affine3d) -> Result<()>

Transforms internal widget data (i.e. points, normals) using the given transform. Read more
Source§

fn set_color(&mut self, color: &impl ColorTraitConst) -> Result<()>

Sets the color of the widget. Read more
Source§

impl Widget3DTrait for BoxedRefMut<'_, WPolyLine>

Source§

fn as_raw_mut_Widget3D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_pose(&mut self, pose: Affine3d) -> Result<()>

Sets pose of the widget. Read more
Source§

fn update_pose(&mut self, pose: Affine3d) -> Result<()>

Updates pose of the widget by pre-multiplying its current pose. Read more
Source§

fn apply_transform(&mut self, transform: Affine3d) -> Result<()>

Transforms internal widget data (i.e. points, normals) using the given transform. Read more
Source§

fn set_color(&mut self, color: &impl ColorTraitConst) -> Result<()>

Sets the color of the widget. Read more
Source§

impl Widget3DTrait for BoxedRefMut<'_, WSphere>

Source§

fn as_raw_mut_Widget3D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_pose(&mut self, pose: Affine3d) -> Result<()>

Sets pose of the widget. Read more
Source§

fn update_pose(&mut self, pose: Affine3d) -> Result<()>

Updates pose of the widget by pre-multiplying its current pose. Read more
Source§

fn apply_transform(&mut self, transform: Affine3d) -> Result<()>

Transforms internal widget data (i.e. points, normals) using the given transform. Read more
Source§

fn set_color(&mut self, color: &impl ColorTraitConst) -> Result<()>

Sets the color of the widget. Read more
Source§

impl Widget3DTrait for BoxedRefMut<'_, WText3D>

Source§

fn as_raw_mut_Widget3D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_pose(&mut self, pose: Affine3d) -> Result<()>

Sets pose of the widget. Read more
Source§

fn update_pose(&mut self, pose: Affine3d) -> Result<()>

Updates pose of the widget by pre-multiplying its current pose. Read more
Source§

fn apply_transform(&mut self, transform: Affine3d) -> Result<()>

Transforms internal widget data (i.e. points, normals) using the given transform. Read more
Source§

fn set_color(&mut self, color: &impl ColorTraitConst) -> Result<()>

Sets the color of the widget. Read more
Source§

impl Widget3DTrait for BoxedRefMut<'_, WTrajectory>

Source§

fn as_raw_mut_Widget3D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_pose(&mut self, pose: Affine3d) -> Result<()>

Sets pose of the widget. Read more
Source§

fn update_pose(&mut self, pose: Affine3d) -> Result<()>

Updates pose of the widget by pre-multiplying its current pose. Read more
Source§

fn apply_transform(&mut self, transform: Affine3d) -> Result<()>

Transforms internal widget data (i.e. points, normals) using the given transform. Read more
Source§

fn set_color(&mut self, color: &impl ColorTraitConst) -> Result<()>

Sets the color of the widget. Read more
Source§

impl Widget3DTrait for BoxedRefMut<'_, WTrajectoryFrustums>

Source§

fn as_raw_mut_Widget3D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_pose(&mut self, pose: Affine3d) -> Result<()>

Sets pose of the widget. Read more
Source§

fn update_pose(&mut self, pose: Affine3d) -> Result<()>

Updates pose of the widget by pre-multiplying its current pose. Read more
Source§

fn apply_transform(&mut self, transform: Affine3d) -> Result<()>

Transforms internal widget data (i.e. points, normals) using the given transform. Read more
Source§

fn set_color(&mut self, color: &impl ColorTraitConst) -> Result<()>

Sets the color of the widget. Read more
Source§

impl Widget3DTrait for BoxedRefMut<'_, WTrajectorySpheres>

Source§

fn as_raw_mut_Widget3D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_pose(&mut self, pose: Affine3d) -> Result<()>

Sets pose of the widget. Read more
Source§

fn update_pose(&mut self, pose: Affine3d) -> Result<()>

Updates pose of the widget by pre-multiplying its current pose. Read more
Source§

fn apply_transform(&mut self, transform: Affine3d) -> Result<()>

Transforms internal widget data (i.e. points, normals) using the given transform. Read more
Source§

fn set_color(&mut self, color: &impl ColorTraitConst) -> Result<()>

Sets the color of the widget. Read more
Source§

impl Widget3DTrait for BoxedRefMut<'_, WWidgetMerger>

Source§

fn as_raw_mut_Widget3D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_pose(&mut self, pose: Affine3d) -> Result<()>

Sets pose of the widget. Read more
Source§

fn update_pose(&mut self, pose: Affine3d) -> Result<()>

Updates pose of the widget by pre-multiplying its current pose. Read more
Source§

fn apply_transform(&mut self, transform: Affine3d) -> Result<()>

Transforms internal widget data (i.e. points, normals) using the given transform. Read more
Source§

fn set_color(&mut self, color: &impl ColorTraitConst) -> Result<()>

Sets the color of the widget. Read more
Source§

impl Widget3DTrait for BoxedRefMut<'_, Widget3D>

Source§

fn as_raw_mut_Widget3D( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_pose(&mut self, pose: Affine3d) -> Result<()>

Sets pose of the widget. Read more
Source§

fn update_pose(&mut self, pose: Affine3d) -> Result<()>

Updates pose of the widget by pre-multiplying its current pose. Read more
Source§

fn apply_transform(&mut self, transform: Affine3d) -> Result<()>

Transforms internal widget data (i.e. points, normals) using the given transform. Read more
Source§

fn set_color(&mut self, color: &impl ColorTraitConst) -> Result<()>

Sets the color of the widget. Read more
Source§

impl Widget3DTraitConst for BoxedRefMut<'_, WArrow>

Source§

fn as_raw_Widget3D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_pose(&self) -> Result<Affine3d>

Returns the current pose of the widget.
Source§

impl Widget3DTraitConst for BoxedRefMut<'_, WCameraPosition>

Source§

fn as_raw_Widget3D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_pose(&self) -> Result<Affine3d>

Returns the current pose of the widget.
Source§

impl Widget3DTraitConst for BoxedRefMut<'_, WCircle>

Source§

fn as_raw_Widget3D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_pose(&self) -> Result<Affine3d>

Returns the current pose of the widget.
Source§

impl Widget3DTraitConst for BoxedRefMut<'_, WCloud>

Source§

fn as_raw_Widget3D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_pose(&self) -> Result<Affine3d>

Returns the current pose of the widget.
Source§

impl Widget3DTraitConst for BoxedRefMut<'_, WCloudCollection>

Source§

fn as_raw_Widget3D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_pose(&self) -> Result<Affine3d>

Returns the current pose of the widget.
Source§

impl Widget3DTraitConst for BoxedRefMut<'_, WCloudNormals>

Source§

fn as_raw_Widget3D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_pose(&self) -> Result<Affine3d>

Returns the current pose of the widget.
Source§

impl Widget3DTraitConst for BoxedRefMut<'_, WCone>

Source§

fn as_raw_Widget3D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_pose(&self) -> Result<Affine3d>

Returns the current pose of the widget.
Source§

impl Widget3DTraitConst for BoxedRefMut<'_, WCoordinateSystem>

Source§

fn as_raw_Widget3D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_pose(&self) -> Result<Affine3d>

Returns the current pose of the widget.
Source§

impl Widget3DTraitConst for BoxedRefMut<'_, WCube>

Source§

fn as_raw_Widget3D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_pose(&self) -> Result<Affine3d>

Returns the current pose of the widget.
Source§

impl Widget3DTraitConst for BoxedRefMut<'_, WCylinder>

Source§

fn as_raw_Widget3D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_pose(&self) -> Result<Affine3d>

Returns the current pose of the widget.
Source§

impl Widget3DTraitConst for BoxedRefMut<'_, WGrid>

Source§

fn as_raw_Widget3D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_pose(&self) -> Result<Affine3d>

Returns the current pose of the widget.
Source§

impl Widget3DTraitConst for BoxedRefMut<'_, WImage3D>

Source§

fn as_raw_Widget3D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_pose(&self) -> Result<Affine3d>

Returns the current pose of the widget.
Source§

impl Widget3DTraitConst for BoxedRefMut<'_, WLine>

Source§

fn as_raw_Widget3D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_pose(&self) -> Result<Affine3d>

Returns the current pose of the widget.
Source§

impl Widget3DTraitConst for BoxedRefMut<'_, WMesh>

Source§

fn as_raw_Widget3D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_pose(&self) -> Result<Affine3d>

Returns the current pose of the widget.
Source§

impl Widget3DTraitConst for BoxedRefMut<'_, WPaintedCloud>

Source§

fn as_raw_Widget3D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_pose(&self) -> Result<Affine3d>

Returns the current pose of the widget.
Source§

impl Widget3DTraitConst for BoxedRefMut<'_, WPlane>

Source§

fn as_raw_Widget3D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_pose(&self) -> Result<Affine3d>

Returns the current pose of the widget.
Source§

impl Widget3DTraitConst for BoxedRefMut<'_, WPolyLine>

Source§

fn as_raw_Widget3D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_pose(&self) -> Result<Affine3d>

Returns the current pose of the widget.
Source§

impl Widget3DTraitConst for BoxedRefMut<'_, WSphere>

Source§

fn as_raw_Widget3D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_pose(&self) -> Result<Affine3d>

Returns the current pose of the widget.
Source§

impl Widget3DTraitConst for BoxedRefMut<'_, WText3D>

Source§

fn as_raw_Widget3D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_pose(&self) -> Result<Affine3d>

Returns the current pose of the widget.
Source§

impl Widget3DTraitConst for BoxedRefMut<'_, WTrajectory>

Source§

fn as_raw_Widget3D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_pose(&self) -> Result<Affine3d>

Returns the current pose of the widget.
Source§

impl Widget3DTraitConst for BoxedRefMut<'_, WTrajectoryFrustums>

Source§

fn as_raw_Widget3D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_pose(&self) -> Result<Affine3d>

Returns the current pose of the widget.
Source§

impl Widget3DTraitConst for BoxedRefMut<'_, WTrajectorySpheres>

Source§

fn as_raw_Widget3D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_pose(&self) -> Result<Affine3d>

Returns the current pose of the widget.
Source§

impl Widget3DTraitConst for BoxedRefMut<'_, WWidgetMerger>

Source§

fn as_raw_Widget3D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_pose(&self) -> Result<Affine3d>

Returns the current pose of the widget.
Source§

impl Widget3DTraitConst for BoxedRefMut<'_, Widget3D>

Source§

fn as_raw_Widget3D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_pose(&self) -> Result<Affine3d>

Returns the current pose of the widget.
Source§

impl WidgetTrait for BoxedRefMut<'_, WArrow>

Source§

fn as_raw_mut_Widget( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set(&mut self, other: &impl WidgetTraitConst) -> Result<()>

Source§

fn set_rendering_property(&mut self, property: i32, value: f64) -> Result<()>

Sets rendering property of the widget. Read more
Source§

impl WidgetTrait for BoxedRefMut<'_, WCameraPosition>

Source§

fn as_raw_mut_Widget( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set(&mut self, other: &impl WidgetTraitConst) -> Result<()>

Source§

fn set_rendering_property(&mut self, property: i32, value: f64) -> Result<()>

Sets rendering property of the widget. Read more
Source§

impl WidgetTrait for BoxedRefMut<'_, WCircle>

Source§

fn as_raw_mut_Widget( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set(&mut self, other: &impl WidgetTraitConst) -> Result<()>

Source§

fn set_rendering_property(&mut self, property: i32, value: f64) -> Result<()>

Sets rendering property of the widget. Read more
Source§

impl WidgetTrait for BoxedRefMut<'_, WCloud>

Source§

fn as_raw_mut_Widget( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set(&mut self, other: &impl WidgetTraitConst) -> Result<()>

Source§

fn set_rendering_property(&mut self, property: i32, value: f64) -> Result<()>

Sets rendering property of the widget. Read more
Source§

impl WidgetTrait for BoxedRefMut<'_, WCloudCollection>

Source§

fn as_raw_mut_Widget( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set(&mut self, other: &impl WidgetTraitConst) -> Result<()>

Source§

fn set_rendering_property(&mut self, property: i32, value: f64) -> Result<()>

Sets rendering property of the widget. Read more
Source§

impl WidgetTrait for BoxedRefMut<'_, WCloudNormals>

Source§

fn as_raw_mut_Widget( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set(&mut self, other: &impl WidgetTraitConst) -> Result<()>

Source§

fn set_rendering_property(&mut self, property: i32, value: f64) -> Result<()>

Sets rendering property of the widget. Read more
Source§

impl WidgetTrait for BoxedRefMut<'_, WCone>

Source§

fn as_raw_mut_Widget( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set(&mut self, other: &impl WidgetTraitConst) -> Result<()>

Source§

fn set_rendering_property(&mut self, property: i32, value: f64) -> Result<()>

Sets rendering property of the widget. Read more
Source§

impl WidgetTrait for BoxedRefMut<'_, WCoordinateSystem>

Source§

fn as_raw_mut_Widget( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set(&mut self, other: &impl WidgetTraitConst) -> Result<()>

Source§

fn set_rendering_property(&mut self, property: i32, value: f64) -> Result<()>

Sets rendering property of the widget. Read more
Source§

impl WidgetTrait for BoxedRefMut<'_, WCube>

Source§

fn as_raw_mut_Widget( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set(&mut self, other: &impl WidgetTraitConst) -> Result<()>

Source§

fn set_rendering_property(&mut self, property: i32, value: f64) -> Result<()>

Sets rendering property of the widget. Read more
Source§

impl WidgetTrait for BoxedRefMut<'_, WCylinder>

Source§

fn as_raw_mut_Widget( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set(&mut self, other: &impl WidgetTraitConst) -> Result<()>

Source§

fn set_rendering_property(&mut self, property: i32, value: f64) -> Result<()>

Sets rendering property of the widget. Read more
Source§

impl WidgetTrait for BoxedRefMut<'_, WGrid>

Source§

fn as_raw_mut_Widget( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set(&mut self, other: &impl WidgetTraitConst) -> Result<()>

Source§

fn set_rendering_property(&mut self, property: i32, value: f64) -> Result<()>

Sets rendering property of the widget. Read more
Source§

impl WidgetTrait for BoxedRefMut<'_, WImage3D>

Source§

fn as_raw_mut_Widget( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set(&mut self, other: &impl WidgetTraitConst) -> Result<()>

Source§

fn set_rendering_property(&mut self, property: i32, value: f64) -> Result<()>

Sets rendering property of the widget. Read more
Source§

impl WidgetTrait for BoxedRefMut<'_, WImageOverlay>

Source§

fn as_raw_mut_Widget( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set(&mut self, other: &impl WidgetTraitConst) -> Result<()>

Source§

fn set_rendering_property(&mut self, property: i32, value: f64) -> Result<()>

Sets rendering property of the widget. Read more
Source§

impl WidgetTrait for BoxedRefMut<'_, WLine>

Source§

fn as_raw_mut_Widget( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set(&mut self, other: &impl WidgetTraitConst) -> Result<()>

Source§

fn set_rendering_property(&mut self, property: i32, value: f64) -> Result<()>

Sets rendering property of the widget. Read more
Source§

impl WidgetTrait for BoxedRefMut<'_, WMesh>

Source§

fn as_raw_mut_Widget( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set(&mut self, other: &impl WidgetTraitConst) -> Result<()>

Source§

fn set_rendering_property(&mut self, property: i32, value: f64) -> Result<()>

Sets rendering property of the widget. Read more
Source§

impl WidgetTrait for BoxedRefMut<'_, WPaintedCloud>

Source§

fn as_raw_mut_Widget( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set(&mut self, other: &impl WidgetTraitConst) -> Result<()>

Source§

fn set_rendering_property(&mut self, property: i32, value: f64) -> Result<()>

Sets rendering property of the widget. Read more
Source§

impl WidgetTrait for BoxedRefMut<'_, WPlane>

Source§

fn as_raw_mut_Widget( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set(&mut self, other: &impl WidgetTraitConst) -> Result<()>

Source§

fn set_rendering_property(&mut self, property: i32, value: f64) -> Result<()>

Sets rendering property of the widget. Read more
Source§

impl WidgetTrait for BoxedRefMut<'_, WPolyLine>

Source§

fn as_raw_mut_Widget( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set(&mut self, other: &impl WidgetTraitConst) -> Result<()>

Source§

fn set_rendering_property(&mut self, property: i32, value: f64) -> Result<()>

Sets rendering property of the widget. Read more
Source§

impl WidgetTrait for BoxedRefMut<'_, WSphere>

Source§

fn as_raw_mut_Widget( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set(&mut self, other: &impl WidgetTraitConst) -> Result<()>

Source§

fn set_rendering_property(&mut self, property: i32, value: f64) -> Result<()>

Sets rendering property of the widget. Read more
Source§

impl WidgetTrait for BoxedRefMut<'_, WText>

Source§

fn as_raw_mut_Widget( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set(&mut self, other: &impl WidgetTraitConst) -> Result<()>

Source§

fn set_rendering_property(&mut self, property: i32, value: f64) -> Result<()>

Sets rendering property of the widget. Read more
Source§

impl WidgetTrait for BoxedRefMut<'_, WText3D>

Source§

fn as_raw_mut_Widget( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set(&mut self, other: &impl WidgetTraitConst) -> Result<()>

Source§

fn set_rendering_property(&mut self, property: i32, value: f64) -> Result<()>

Sets rendering property of the widget. Read more
Source§

impl WidgetTrait for BoxedRefMut<'_, WTrajectory>

Source§

fn as_raw_mut_Widget( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set(&mut self, other: &impl WidgetTraitConst) -> Result<()>

Source§

fn set_rendering_property(&mut self, property: i32, value: f64) -> Result<()>

Sets rendering property of the widget. Read more
Source§

impl WidgetTrait for BoxedRefMut<'_, WTrajectoryFrustums>

Source§

fn as_raw_mut_Widget( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set(&mut self, other: &impl WidgetTraitConst) -> Result<()>

Source§

fn set_rendering_property(&mut self, property: i32, value: f64) -> Result<()>

Sets rendering property of the widget. Read more
Source§

impl WidgetTrait for BoxedRefMut<'_, WTrajectorySpheres>

Source§

fn as_raw_mut_Widget( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set(&mut self, other: &impl WidgetTraitConst) -> Result<()>

Source§

fn set_rendering_property(&mut self, property: i32, value: f64) -> Result<()>

Sets rendering property of the widget. Read more
Source§

impl WidgetTrait for BoxedRefMut<'_, WWidgetMerger>

Source§

fn as_raw_mut_Widget( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set(&mut self, other: &impl WidgetTraitConst) -> Result<()>

Source§

fn set_rendering_property(&mut self, property: i32, value: f64) -> Result<()>

Sets rendering property of the widget. Read more
Source§

impl WidgetTrait for BoxedRefMut<'_, Widget>

Source§

fn as_raw_mut_Widget( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set(&mut self, other: &impl WidgetTraitConst) -> Result<()>

Source§

fn set_rendering_property(&mut self, property: i32, value: f64) -> Result<()>

Sets rendering property of the widget. Read more
Source§

impl WidgetTrait for BoxedRefMut<'_, Widget2D>

Source§

fn as_raw_mut_Widget( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set(&mut self, other: &impl WidgetTraitConst) -> Result<()>

Source§

fn set_rendering_property(&mut self, property: i32, value: f64) -> Result<()>

Sets rendering property of the widget. Read more
Source§

impl WidgetTrait for BoxedRefMut<'_, Widget3D>

Source§

fn as_raw_mut_Widget( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set(&mut self, other: &impl WidgetTraitConst) -> Result<()>

Source§

fn set_rendering_property(&mut self, property: i32, value: f64) -> Result<()>

Sets rendering property of the widget. Read more
Source§

impl WidgetTraitConst for BoxedRefMut<'_, WArrow>

Source§

fn as_raw_Widget(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_rendering_property(&self, property: i32) -> Result<f64>

Returns rendering property of the widget. Read more
Source§

impl WidgetTraitConst for BoxedRefMut<'_, WCameraPosition>

Source§

fn as_raw_Widget(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_rendering_property(&self, property: i32) -> Result<f64>

Returns rendering property of the widget. Read more
Source§

impl WidgetTraitConst for BoxedRefMut<'_, WCircle>

Source§

fn as_raw_Widget(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_rendering_property(&self, property: i32) -> Result<f64>

Returns rendering property of the widget. Read more
Source§

impl WidgetTraitConst for BoxedRefMut<'_, WCloud>

Source§

fn as_raw_Widget(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_rendering_property(&self, property: i32) -> Result<f64>

Returns rendering property of the widget. Read more
Source§

impl WidgetTraitConst for BoxedRefMut<'_, WCloudCollection>

Source§

fn as_raw_Widget(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_rendering_property(&self, property: i32) -> Result<f64>

Returns rendering property of the widget. Read more
Source§

impl WidgetTraitConst for BoxedRefMut<'_, WCloudNormals>

Source§

fn as_raw_Widget(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_rendering_property(&self, property: i32) -> Result<f64>

Returns rendering property of the widget. Read more
Source§

impl WidgetTraitConst for BoxedRefMut<'_, WCone>

Source§

fn as_raw_Widget(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_rendering_property(&self, property: i32) -> Result<f64>

Returns rendering property of the widget. Read more
Source§

impl WidgetTraitConst for BoxedRefMut<'_, WCoordinateSystem>

Source§

fn as_raw_Widget(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_rendering_property(&self, property: i32) -> Result<f64>

Returns rendering property of the widget. Read more
Source§

impl WidgetTraitConst for BoxedRefMut<'_, WCube>

Source§

fn as_raw_Widget(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_rendering_property(&self, property: i32) -> Result<f64>

Returns rendering property of the widget. Read more
Source§

impl WidgetTraitConst for BoxedRefMut<'_, WCylinder>

Source§

fn as_raw_Widget(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_rendering_property(&self, property: i32) -> Result<f64>

Returns rendering property of the widget. Read more
Source§

impl WidgetTraitConst for BoxedRefMut<'_, WGrid>

Source§

fn as_raw_Widget(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_rendering_property(&self, property: i32) -> Result<f64>

Returns rendering property of the widget. Read more
Source§

impl WidgetTraitConst for BoxedRefMut<'_, WImage3D>

Source§

fn as_raw_Widget(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_rendering_property(&self, property: i32) -> Result<f64>

Returns rendering property of the widget. Read more
Source§

impl WidgetTraitConst for BoxedRefMut<'_, WImageOverlay>

Source§

fn as_raw_Widget(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_rendering_property(&self, property: i32) -> Result<f64>

Returns rendering property of the widget. Read more
Source§

impl WidgetTraitConst for BoxedRefMut<'_, WLine>

Source§

fn as_raw_Widget(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_rendering_property(&self, property: i32) -> Result<f64>

Returns rendering property of the widget. Read more
Source§

impl WidgetTraitConst for BoxedRefMut<'_, WMesh>

Source§

fn as_raw_Widget(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_rendering_property(&self, property: i32) -> Result<f64>

Returns rendering property of the widget. Read more
Source§

impl WidgetTraitConst for BoxedRefMut<'_, WPaintedCloud>

Source§

fn as_raw_Widget(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_rendering_property(&self, property: i32) -> Result<f64>

Returns rendering property of the widget. Read more
Source§

impl WidgetTraitConst for BoxedRefMut<'_, WPlane>

Source§

fn as_raw_Widget(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_rendering_property(&self, property: i32) -> Result<f64>

Returns rendering property of the widget. Read more
Source§

impl WidgetTraitConst for BoxedRefMut<'_, WPolyLine>

Source§

fn as_raw_Widget(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_rendering_property(&self, property: i32) -> Result<f64>

Returns rendering property of the widget. Read more
Source§

impl WidgetTraitConst for BoxedRefMut<'_, WSphere>

Source§

fn as_raw_Widget(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_rendering_property(&self, property: i32) -> Result<f64>

Returns rendering property of the widget. Read more
Source§

impl WidgetTraitConst for BoxedRefMut<'_, WText>

Source§

fn as_raw_Widget(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_rendering_property(&self, property: i32) -> Result<f64>

Returns rendering property of the widget. Read more
Source§

impl WidgetTraitConst for BoxedRefMut<'_, WText3D>

Source§

fn as_raw_Widget(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_rendering_property(&self, property: i32) -> Result<f64>

Returns rendering property of the widget. Read more
Source§

impl WidgetTraitConst for BoxedRefMut<'_, WTrajectory>

Source§

fn as_raw_Widget(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_rendering_property(&self, property: i32) -> Result<f64>

Returns rendering property of the widget. Read more
Source§

impl WidgetTraitConst for BoxedRefMut<'_, WTrajectoryFrustums>

Source§

fn as_raw_Widget(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_rendering_property(&self, property: i32) -> Result<f64>

Returns rendering property of the widget. Read more
Source§

impl WidgetTraitConst for BoxedRefMut<'_, WTrajectorySpheres>

Source§

fn as_raw_Widget(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_rendering_property(&self, property: i32) -> Result<f64>

Returns rendering property of the widget. Read more
Source§

impl WidgetTraitConst for BoxedRefMut<'_, WWidgetMerger>

Source§

fn as_raw_Widget(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_rendering_property(&self, property: i32) -> Result<f64>

Returns rendering property of the widget. Read more
Source§

impl WidgetTraitConst for BoxedRefMut<'_, Widget>

Source§

fn as_raw_Widget(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_rendering_property(&self, property: i32) -> Result<f64>

Returns rendering property of the widget. Read more
Source§

impl WidgetTraitConst for BoxedRefMut<'_, Widget2D>

Source§

fn as_raw_Widget(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_rendering_property(&self, property: i32) -> Result<f64>

Returns rendering property of the widget. Read more
Source§

impl WidgetTraitConst for BoxedRefMut<'_, Widget3D>

Source§

fn as_raw_Widget(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_rendering_property(&self, property: i32) -> Result<f64>

Returns rendering property of the widget. Read more
Source§

impl WindowSceneTrait for BoxedRefMut<'_, WindowScene>

Source§

fn as_raw_mut_WindowScene( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_background(&mut self, image: &impl ToInputArray) -> Result<()>

set window background to custom image/ color Read more
Source§

fn set_background_color(&mut self, color: Scalar) -> Result<()>

set window background to custom image/ color Read more
Source§

fn set_compositors(&mut self, names: &Vector<String>) -> Result<()>

enable an ordered chain of full-screen post processing effects Read more
Source§

fn create_entity( &mut self, name: &str, meshname: &str, tvec: &impl ToInputArray, rot: &impl ToInputArray, ) -> Result<()>

place an entity of a mesh in the scene Read more
Source§

fn create_entity_def(&mut self, name: &str, meshname: &str) -> Result<()>

place an entity of a mesh in the scene Read more
Source§

fn remove_entity(&mut self, name: &str) -> Result<()>

remove an entity from the scene Read more
Source§

fn set_entity_property( &mut self, name: &str, prop: i32, value: &str, sub_entity_idx: i32, ) -> Result<()>

set the property of an entity to the given value Read more
Source§

fn set_entity_property_def( &mut self, name: &str, prop: i32, value: &str, ) -> Result<()>

set the property of an entity to the given value Read more
Source§

fn set_entity_property_1( &mut self, name: &str, prop: i32, value: Scalar, ) -> Result<()>

set the property of an entity to the given value Read more
Source§

fn get_entity_property( &mut self, name: &str, prop: i32, value: &mut impl ToOutputArray, ) -> Result<()>

get the property of an entity Read more
Source§

fn create_camera_entity( &mut self, name: &str, k: &impl ToInputArray, imsize: Size, z_far: f32, tvec: &impl ToInputArray, rot: &impl ToInputArray, color: Scalar, ) -> Result<Rect2d>

convenience method to visualize a camera position Read more
Source§

fn create_camera_entity_def( &mut self, name: &str, k: &impl ToInputArray, imsize: Size, z_far: f32, ) -> Result<Rect2d>

convenience method to visualize a camera position Read more
Source§

fn create_light_entity( &mut self, name: &str, tvec: &impl ToInputArray, rot: &impl ToInputArray, diffuse_color: Scalar, specular_color: Scalar, ) -> Result<()>

creates a point light in the scene Read more
Source§

fn create_light_entity_def(&mut self, name: &str) -> Result<()>

creates a point light in the scene Read more
Source§

fn update_entity_pose( &mut self, name: &str, tvec: &impl ToInputArray, rot: &impl ToInputArray, ) -> Result<()>

update entity pose by transformation in the parent coordinate space. (pre-rotation) Read more
Source§

fn update_entity_pose_def(&mut self, name: &str) -> Result<()>

update entity pose by transformation in the parent coordinate space. (pre-rotation) Read more
Source§

fn set_entity_pose( &mut self, name: &str, tvec: &impl ToInputArray, rot: &impl ToInputArray, invert: bool, ) -> Result<()>

set entity pose in the world coordinate space. Read more
Source§

fn set_entity_pose_def(&mut self, name: &str) -> Result<()>

set entity pose in the world coordinate space. Read more
Source§

fn get_entity_pose( &mut self, name: &str, r: &mut impl ToOutputArray, tvec: &mut impl ToOutputArray, invert: bool, ) -> Result<()>

Retrieves the current pose of an entity Read more
Source§

fn get_entity_pose_def(&mut self, name: &str) -> Result<()>

Retrieves the current pose of an entity Read more
Source§

fn get_entity_animations( &mut self, name: &str, out: &mut Vector<String>, ) -> Result<()>

get a list of available entity animations Read more
Source§

fn play_entity_animation( &mut self, name: &str, animname: &str, loop_: bool, ) -> Result<()>

play entity animation Read more
Source§

fn play_entity_animation_def( &mut self, name: &str, animname: &str, ) -> Result<()>

play entity animation Read more
Source§

fn stop_entity_animation(&mut self, name: &str, animname: &str) -> Result<()>

stop entity animation Read more
Source§

fn get_screenshot(&mut self, frame: &mut impl ToOutputArray) -> Result<()>

read back the image generated by the last call to [waitKey]
Source§

fn get_compositor_texture( &mut self, compname: &str, texname: &str, out: &mut impl ToOutputArray, mrt_index: i32, ) -> Result<()>

read back the texture of an active compositor Read more
Source§

fn get_compositor_texture_def( &mut self, compname: &str, texname: &str, out: &mut impl ToOutputArray, ) -> Result<()>

read back the texture of an active compositor Read more
Source§

fn get_depth(&mut self, depth: &mut impl ToOutputArray) -> Result<()>

get the depth for the current frame. Read more
Source§

fn fix_camera_yaw_axis( &mut self, use_fixed: bool, up: &impl ToInputArray, ) -> Result<()>

convenience method to force the “up” axis to stay fixed Read more
Source§

fn fix_camera_yaw_axis_def(&mut self, use_fixed: bool) -> Result<()>

convenience method to force the “up” axis to stay fixed Read more
Source§

fn set_camera_pose( &mut self, tvec: &impl ToInputArray, rot: &impl ToInputArray, invert: bool, ) -> Result<()>

Sets the current camera pose Read more
Source§

fn set_camera_pose_def(&mut self) -> Result<()>

Sets the current camera pose Read more
Source§

fn set_camera_look_at( &mut self, target: &str, offset: &impl ToInputArray, ) -> Result<()>

convenience method to orient the camera to a specific entity Read more
Source§

fn set_camera_look_at_def(&mut self, target: &str) -> Result<()>

convenience method to orient the camera to a specific entity Read more
Source§

fn set_entity_look_at( &mut self, origin: &str, target: &str, offset: &impl ToInputArray, ) -> Result<()>

convenience method to orient an entity to a specific entity. If target is an empty string the entity looks at the given offset point Read more
Source§

fn set_entity_look_at_def(&mut self, origin: &str, target: &str) -> Result<()>

convenience method to orient an entity to a specific entity. If target is an empty string the entity looks at the given offset point Read more
Source§

fn get_camera_pose( &mut self, r: &mut impl ToOutputArray, tvec: &mut impl ToOutputArray, invert: bool, ) -> Result<()>

Retrieves the current camera pose Read more
Source§

fn get_camera_pose_def(&mut self) -> Result<()>

Retrieves the current camera pose Read more
Source§

fn set_camera_intrinsics( &mut self, k: &impl ToInputArray, imsize: Size, z_near: f32, z_far: f32, ) -> Result<()>

set intrinsics of the camera Read more
Source§

fn set_camera_intrinsics_def( &mut self, k: &impl ToInputArray, imsize: Size, ) -> Result<()>

set intrinsics of the camera Read more
Source§

fn update(&mut self) -> Result<()>

render this window, but do not swap buffers. Automatically called by [ovis::waitKey]
Source§

impl WindowSceneTraitConst for BoxedRefMut<'_, WindowScene>

Source§

fn as_raw_WindowScene(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl WobbleSuppressorBaseTrait for BoxedRefMut<'_, MoreAccurateMotionWobbleSuppressor>

Source§

fn as_raw_mut_WobbleSuppressorBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_motion_estimator( &mut self, val: Ptr<ImageMotionEstimatorBase>, ) -> Result<()>

Source§

fn suppress( &mut self, idx: i32, frame: &impl MatTraitConst, result: &mut impl MatTrait, ) -> Result<()>

Source§

fn set_frame_count(&mut self, val: i32) -> Result<()>

Source§

fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()>

Source§

fn set_motions2(&mut self, val: &Vector<Mat>) -> Result<()>

Source§

fn set_stabilization_motions(&mut self, val: &Vector<Mat>) -> Result<()>

Source§

impl WobbleSuppressorBaseTrait for BoxedRefMut<'_, MoreAccurateMotionWobbleSuppressorBase>

Source§

fn as_raw_mut_WobbleSuppressorBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_motion_estimator( &mut self, val: Ptr<ImageMotionEstimatorBase>, ) -> Result<()>

Source§

fn suppress( &mut self, idx: i32, frame: &impl MatTraitConst, result: &mut impl MatTrait, ) -> Result<()>

Source§

fn set_frame_count(&mut self, val: i32) -> Result<()>

Source§

fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()>

Source§

fn set_motions2(&mut self, val: &Vector<Mat>) -> Result<()>

Source§

fn set_stabilization_motions(&mut self, val: &Vector<Mat>) -> Result<()>

Source§

impl WobbleSuppressorBaseTrait for BoxedRefMut<'_, MoreAccurateMotionWobbleSuppressorGpu>

Source§

fn as_raw_mut_WobbleSuppressorBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_motion_estimator( &mut self, val: Ptr<ImageMotionEstimatorBase>, ) -> Result<()>

Source§

fn suppress( &mut self, idx: i32, frame: &impl MatTraitConst, result: &mut impl MatTrait, ) -> Result<()>

Source§

fn set_frame_count(&mut self, val: i32) -> Result<()>

Source§

fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()>

Source§

fn set_motions2(&mut self, val: &Vector<Mat>) -> Result<()>

Source§

fn set_stabilization_motions(&mut self, val: &Vector<Mat>) -> Result<()>

Source§

impl WobbleSuppressorBaseTrait for BoxedRefMut<'_, NullWobbleSuppressor>

Source§

fn as_raw_mut_WobbleSuppressorBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_motion_estimator( &mut self, val: Ptr<ImageMotionEstimatorBase>, ) -> Result<()>

Source§

fn suppress( &mut self, idx: i32, frame: &impl MatTraitConst, result: &mut impl MatTrait, ) -> Result<()>

Source§

fn set_frame_count(&mut self, val: i32) -> Result<()>

Source§

fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()>

Source§

fn set_motions2(&mut self, val: &Vector<Mat>) -> Result<()>

Source§

fn set_stabilization_motions(&mut self, val: &Vector<Mat>) -> Result<()>

Source§

impl WobbleSuppressorBaseTrait for BoxedRefMut<'_, WobbleSuppressorBase>

Source§

fn as_raw_mut_WobbleSuppressorBase( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_motion_estimator( &mut self, val: Ptr<ImageMotionEstimatorBase>, ) -> Result<()>

Source§

fn suppress( &mut self, idx: i32, frame: &impl MatTraitConst, result: &mut impl MatTrait, ) -> Result<()>

Source§

fn set_frame_count(&mut self, val: i32) -> Result<()>

Source§

fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()>

Source§

fn set_motions2(&mut self, val: &Vector<Mat>) -> Result<()>

Source§

fn set_stabilization_motions(&mut self, val: &Vector<Mat>) -> Result<()>

Source§

impl WobbleSuppressorBaseTraitConst for BoxedRefMut<'_, MoreAccurateMotionWobbleSuppressor>

Source§

fn as_raw_WobbleSuppressorBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn motion_estimator(&self) -> Result<Ptr<ImageMotionEstimatorBase>>

Source§

fn frame_count(&self) -> Result<i32>

Source§

fn motions(&self) -> Result<Vector<Mat>>

Source§

fn motions2(&self) -> Result<Vector<Mat>>

Source§

fn stabilization_motions(&self) -> Result<Vector<Mat>>

Source§

impl WobbleSuppressorBaseTraitConst for BoxedRefMut<'_, MoreAccurateMotionWobbleSuppressorBase>

Source§

fn as_raw_WobbleSuppressorBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn motion_estimator(&self) -> Result<Ptr<ImageMotionEstimatorBase>>

Source§

fn frame_count(&self) -> Result<i32>

Source§

fn motions(&self) -> Result<Vector<Mat>>

Source§

fn motions2(&self) -> Result<Vector<Mat>>

Source§

fn stabilization_motions(&self) -> Result<Vector<Mat>>

Source§

impl WobbleSuppressorBaseTraitConst for BoxedRefMut<'_, MoreAccurateMotionWobbleSuppressorGpu>

Source§

fn as_raw_WobbleSuppressorBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn motion_estimator(&self) -> Result<Ptr<ImageMotionEstimatorBase>>

Source§

fn frame_count(&self) -> Result<i32>

Source§

fn motions(&self) -> Result<Vector<Mat>>

Source§

fn motions2(&self) -> Result<Vector<Mat>>

Source§

fn stabilization_motions(&self) -> Result<Vector<Mat>>

Source§

impl WobbleSuppressorBaseTraitConst for BoxedRefMut<'_, NullWobbleSuppressor>

Source§

fn as_raw_WobbleSuppressorBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn motion_estimator(&self) -> Result<Ptr<ImageMotionEstimatorBase>>

Source§

fn frame_count(&self) -> Result<i32>

Source§

fn motions(&self) -> Result<Vector<Mat>>

Source§

fn motions2(&self) -> Result<Vector<Mat>>

Source§

fn stabilization_motions(&self) -> Result<Vector<Mat>>

Source§

impl WobbleSuppressorBaseTraitConst for BoxedRefMut<'_, WobbleSuppressorBase>

Source§

fn as_raw_WobbleSuppressorBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn motion_estimator(&self) -> Result<Ptr<ImageMotionEstimatorBase>>

Source§

fn frame_count(&self) -> Result<i32>

Source§

fn motions(&self) -> Result<Vector<Mat>>

Source§

fn motions2(&self) -> Result<Vector<Mat>>

Source§

fn stabilization_motions(&self) -> Result<Vector<Mat>>

Source§

impl WriteStructContextTrait for BoxedRefMut<'_, WriteStructContext>

Source§

fn as_raw_mut_WriteStructContext( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl WriteStructContextTraitConst for BoxedRefMut<'_, WriteStructContext>

Source§

fn as_raw_WriteStructContext( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl _InputArrayTrait for BoxedRefMut<'_, _InputArray>

Source§

fn as_raw_mut__InputArray( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl _InputArrayTrait for BoxedRefMut<'_, _InputOutputArray>

Source§

fn as_raw_mut__InputArray( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl _InputArrayTrait for BoxedRefMut<'_, _OutputArray>

Source§

fn as_raw_mut__InputArray( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl _InputArrayTraitConst for BoxedRefMut<'_, _InputArray>

Source§

fn as_raw__InputArray(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_mat(&self, idx: i32) -> Result<Mat>

C++ default parameters Read more
Source§

fn get_mat_def(&self) -> Result<Mat>

Source§

fn get_mat_(&self, idx: i32) -> Result<Mat>

C++ default parameters Read more
Source§

fn get_mat__def(&self) -> Result<Mat>

Source§

fn get_umat(&self, idx: i32) -> Result<UMat>

C++ default parameters Read more
Source§

fn get_umat_def(&self) -> Result<UMat>

Source§

fn get_mat_vector(&self, mv: &mut Vector<Mat>) -> Result<()>

Source§

fn get_umat_vector(&self, umv: &mut Vector<UMat>) -> Result<()>

Source§

fn get_gpu_mat_vector(&self, gpumv: &mut Vector<GpuMat>) -> Result<()>

Source§

fn get_gpu_mat(&self) -> Result<GpuMat>

Source§

fn get_o_gl_buffer(&self) -> Result<Buffer>

Source§

fn get_flags(&self) -> Result<i32>

Source§

fn get_obj(&self) -> Result<*mut c_void>

Source§

fn get_sz(&self) -> Result<Size>

Source§

fn kind(&self) -> Result<_InputArray_KindFlag>

Source§

fn dims(&self, i: i32) -> Result<i32>

C++ default parameters Read more
Source§

fn dims_def(&self) -> Result<i32>

Source§

fn cols(&self, i: i32) -> Result<i32>

C++ default parameters Read more
Source§

fn cols_def(&self) -> Result<i32>

Source§

fn rows(&self, i: i32) -> Result<i32>

C++ default parameters Read more
Source§

fn rows_def(&self) -> Result<i32>

Source§

fn size(&self, i: i32) -> Result<Size>

C++ default parameters Read more
Source§

fn size_def(&self) -> Result<Size>

Source§

fn sizend(&self, sz: &mut i32, i: i32) -> Result<i32>

C++ default parameters Read more
Source§

fn sizend_def(&self, sz: &mut i32) -> Result<i32>

Source§

fn same_size(&self, arr: &impl ToInputArray) -> Result<bool>

Source§

fn total(&self, i: i32) -> Result<size_t>

C++ default parameters Read more
Source§

fn total_def(&self) -> Result<size_t>

Source§

fn typ(&self, i: i32) -> Result<i32>

C++ default parameters Read more
Source§

fn typ_def(&self) -> Result<i32>

Source§

fn depth(&self, i: i32) -> Result<i32>

C++ default parameters Read more
Source§

fn depth_def(&self) -> Result<i32>

Source§

fn channels(&self, i: i32) -> Result<i32>

C++ default parameters Read more
Source§

fn channels_def(&self) -> Result<i32>

Source§

fn is_continuous(&self, i: i32) -> Result<bool>

C++ default parameters Read more
Source§

fn is_continuous_def(&self) -> Result<bool>

Source§

fn is_submatrix(&self, i: i32) -> Result<bool>

C++ default parameters Read more
Source§

fn is_submatrix_def(&self) -> Result<bool>

Source§

fn empty(&self) -> Result<bool>

Source§

fn copy_to(&self, arr: &mut impl ToOutputArray) -> Result<()>

Source§

fn copy_to_masked( &self, arr: &mut impl ToOutputArray, mask: &impl ToInputArray, ) -> Result<()>

Source§

fn offset(&self, i: i32) -> Result<size_t>

C++ default parameters Read more
Source§

fn offset_def(&self) -> Result<size_t>

Source§

fn step(&self, i: i32) -> Result<size_t>

C++ default parameters Read more
Source§

fn step_def(&self) -> Result<size_t>

Source§

fn is_mat(&self) -> Result<bool>

Source§

fn is_umat(&self) -> Result<bool>

Source§

fn is_mat_vector(&self) -> Result<bool>

Source§

fn is_umat_vector(&self) -> Result<bool>

Source§

fn is_matx(&self) -> Result<bool>

Source§

fn is_vector(&self) -> Result<bool>

Source§

fn is_gpu_mat(&self) -> Result<bool>

Source§

fn is_gpu_mat_vector(&self) -> Result<bool>

Source§

impl _InputArrayTraitConst for BoxedRefMut<'_, _InputOutputArray>

Source§

fn as_raw__InputArray(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_mat(&self, idx: i32) -> Result<Mat>

C++ default parameters Read more
Source§

fn get_mat_def(&self) -> Result<Mat>

Source§

fn get_mat_(&self, idx: i32) -> Result<Mat>

C++ default parameters Read more
Source§

fn get_mat__def(&self) -> Result<Mat>

Source§

fn get_umat(&self, idx: i32) -> Result<UMat>

C++ default parameters Read more
Source§

fn get_umat_def(&self) -> Result<UMat>

Source§

fn get_mat_vector(&self, mv: &mut Vector<Mat>) -> Result<()>

Source§

fn get_umat_vector(&self, umv: &mut Vector<UMat>) -> Result<()>

Source§

fn get_gpu_mat_vector(&self, gpumv: &mut Vector<GpuMat>) -> Result<()>

Source§

fn get_gpu_mat(&self) -> Result<GpuMat>

Source§

fn get_o_gl_buffer(&self) -> Result<Buffer>

Source§

fn get_flags(&self) -> Result<i32>

Source§

fn get_obj(&self) -> Result<*mut c_void>

Source§

fn get_sz(&self) -> Result<Size>

Source§

fn kind(&self) -> Result<_InputArray_KindFlag>

Source§

fn dims(&self, i: i32) -> Result<i32>

C++ default parameters Read more
Source§

fn dims_def(&self) -> Result<i32>

Source§

fn cols(&self, i: i32) -> Result<i32>

C++ default parameters Read more
Source§

fn cols_def(&self) -> Result<i32>

Source§

fn rows(&self, i: i32) -> Result<i32>

C++ default parameters Read more
Source§

fn rows_def(&self) -> Result<i32>

Source§

fn size(&self, i: i32) -> Result<Size>

C++ default parameters Read more
Source§

fn size_def(&self) -> Result<Size>

Source§

fn sizend(&self, sz: &mut i32, i: i32) -> Result<i32>

C++ default parameters Read more
Source§

fn sizend_def(&self, sz: &mut i32) -> Result<i32>

Source§

fn same_size(&self, arr: &impl ToInputArray) -> Result<bool>

Source§

fn total(&self, i: i32) -> Result<size_t>

C++ default parameters Read more
Source§

fn total_def(&self) -> Result<size_t>

Source§

fn typ(&self, i: i32) -> Result<i32>

C++ default parameters Read more
Source§

fn typ_def(&self) -> Result<i32>

Source§

fn depth(&self, i: i32) -> Result<i32>

C++ default parameters Read more
Source§

fn depth_def(&self) -> Result<i32>

Source§

fn channels(&self, i: i32) -> Result<i32>

C++ default parameters Read more
Source§

fn channels_def(&self) -> Result<i32>

Source§

fn is_continuous(&self, i: i32) -> Result<bool>

C++ default parameters Read more
Source§

fn is_continuous_def(&self) -> Result<bool>

Source§

fn is_submatrix(&self, i: i32) -> Result<bool>

C++ default parameters Read more
Source§

fn is_submatrix_def(&self) -> Result<bool>

Source§

fn empty(&self) -> Result<bool>

Source§

fn copy_to(&self, arr: &mut impl ToOutputArray) -> Result<()>

Source§

fn copy_to_masked( &self, arr: &mut impl ToOutputArray, mask: &impl ToInputArray, ) -> Result<()>

Source§

fn offset(&self, i: i32) -> Result<size_t>

C++ default parameters Read more
Source§

fn offset_def(&self) -> Result<size_t>

Source§

fn step(&self, i: i32) -> Result<size_t>

C++ default parameters Read more
Source§

fn step_def(&self) -> Result<size_t>

Source§

fn is_mat(&self) -> Result<bool>

Source§

fn is_umat(&self) -> Result<bool>

Source§

fn is_mat_vector(&self) -> Result<bool>

Source§

fn is_umat_vector(&self) -> Result<bool>

Source§

fn is_matx(&self) -> Result<bool>

Source§

fn is_vector(&self) -> Result<bool>

Source§

fn is_gpu_mat(&self) -> Result<bool>

Source§

fn is_gpu_mat_vector(&self) -> Result<bool>

Source§

impl _InputArrayTraitConst for BoxedRefMut<'_, _OutputArray>

Source§

fn as_raw__InputArray(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn get_mat(&self, idx: i32) -> Result<Mat>

C++ default parameters Read more
Source§

fn get_mat_def(&self) -> Result<Mat>

Source§

fn get_mat_(&self, idx: i32) -> Result<Mat>

C++ default parameters Read more
Source§

fn get_mat__def(&self) -> Result<Mat>

Source§

fn get_umat(&self, idx: i32) -> Result<UMat>

C++ default parameters Read more
Source§

fn get_umat_def(&self) -> Result<UMat>

Source§

fn get_mat_vector(&self, mv: &mut Vector<Mat>) -> Result<()>

Source§

fn get_umat_vector(&self, umv: &mut Vector<UMat>) -> Result<()>

Source§

fn get_gpu_mat_vector(&self, gpumv: &mut Vector<GpuMat>) -> Result<()>

Source§

fn get_gpu_mat(&self) -> Result<GpuMat>

Source§

fn get_o_gl_buffer(&self) -> Result<Buffer>

Source§

fn get_flags(&self) -> Result<i32>

Source§

fn get_obj(&self) -> Result<*mut c_void>

Source§

fn get_sz(&self) -> Result<Size>

Source§

fn kind(&self) -> Result<_InputArray_KindFlag>

Source§

fn dims(&self, i: i32) -> Result<i32>

C++ default parameters Read more
Source§

fn dims_def(&self) -> Result<i32>

Source§

fn cols(&self, i: i32) -> Result<i32>

C++ default parameters Read more
Source§

fn cols_def(&self) -> Result<i32>

Source§

fn rows(&self, i: i32) -> Result<i32>

C++ default parameters Read more
Source§

fn rows_def(&self) -> Result<i32>

Source§

fn size(&self, i: i32) -> Result<Size>

C++ default parameters Read more
Source§

fn size_def(&self) -> Result<Size>

Source§

fn sizend(&self, sz: &mut i32, i: i32) -> Result<i32>

C++ default parameters Read more
Source§

fn sizend_def(&self, sz: &mut i32) -> Result<i32>

Source§

fn same_size(&self, arr: &impl ToInputArray) -> Result<bool>

Source§

fn total(&self, i: i32) -> Result<size_t>

C++ default parameters Read more
Source§

fn total_def(&self) -> Result<size_t>

Source§

fn typ(&self, i: i32) -> Result<i32>

C++ default parameters Read more
Source§

fn typ_def(&self) -> Result<i32>

Source§

fn depth(&self, i: i32) -> Result<i32>

C++ default parameters Read more
Source§

fn depth_def(&self) -> Result<i32>

Source§

fn channels(&self, i: i32) -> Result<i32>

C++ default parameters Read more
Source§

fn channels_def(&self) -> Result<i32>

Source§

fn is_continuous(&self, i: i32) -> Result<bool>

C++ default parameters Read more
Source§

fn is_continuous_def(&self) -> Result<bool>

Source§

fn is_submatrix(&self, i: i32) -> Result<bool>

C++ default parameters Read more
Source§

fn is_submatrix_def(&self) -> Result<bool>

Source§

fn empty(&self) -> Result<bool>

Source§

fn copy_to(&self, arr: &mut impl ToOutputArray) -> Result<()>

Source§

fn copy_to_masked( &self, arr: &mut impl ToOutputArray, mask: &impl ToInputArray, ) -> Result<()>

Source§

fn offset(&self, i: i32) -> Result<size_t>

C++ default parameters Read more
Source§

fn offset_def(&self) -> Result<size_t>

Source§

fn step(&self, i: i32) -> Result<size_t>

C++ default parameters Read more
Source§

fn step_def(&self) -> Result<size_t>

Source§

fn is_mat(&self) -> Result<bool>

Source§

fn is_umat(&self) -> Result<bool>

Source§

fn is_mat_vector(&self) -> Result<bool>

Source§

fn is_umat_vector(&self) -> Result<bool>

Source§

fn is_matx(&self) -> Result<bool>

Source§

fn is_vector(&self) -> Result<bool>

Source§

fn is_gpu_mat(&self) -> Result<bool>

Source§

fn is_gpu_mat_vector(&self) -> Result<bool>

Source§

impl _InputOutputArrayTrait for BoxedRefMut<'_, _InputOutputArray>

Source§

fn as_raw_mut__InputOutputArray( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl _InputOutputArrayTraitConst for BoxedRefMut<'_, _InputOutputArray>

Source§

fn as_raw__InputOutputArray( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl _OutputArrayTrait for BoxedRefMut<'_, _InputOutputArray>

Source§

fn as_raw_mut__OutputArray( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl _OutputArrayTrait for BoxedRefMut<'_, _OutputArray>

Source§

fn as_raw_mut__OutputArray( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl _OutputArrayTraitConst for BoxedRefMut<'_, _InputOutputArray>

Source§

fn as_raw__OutputArray(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn fixed_size(&self) -> Result<bool>

Source§

fn fixed_type(&self) -> Result<bool>

Source§

fn needed(&self) -> Result<bool>

Source§

fn get_mat_ref(&self, i: i32) -> Result<Mat>

C++ default parameters Read more
Source§

fn get_mat_ref_def(&self) -> Result<Mat>

Source§

fn get_umat_ref(&self, i: i32) -> Result<UMat>

C++ default parameters Read more
Source§

fn get_umat_ref_def(&self) -> Result<UMat>

Source§

fn get_gpu_mat_ref(&self) -> Result<GpuMat>

Source§

fn get_gpu_mat_vec_ref(&self) -> Result<Vector<GpuMat>>

Source§

fn get_o_gl_buffer_ref(&self) -> Result<Buffer>

Source§

fn get_host_mem_ref(&self) -> Result<HostMem>

Source§

fn create_size( &self, sz: Size, typ: i32, i: i32, allow_transposed: bool, fixed_depth_mask: _OutputArray_DepthMask, ) -> Result<()>

C++ default parameters Read more
Source§

fn create_size_def(&self, sz: Size, typ: i32) -> Result<()>

Source§

fn create( &self, rows: i32, cols: i32, typ: i32, i: i32, allow_transposed: bool, fixed_depth_mask: _OutputArray_DepthMask, ) -> Result<()>

C++ default parameters Read more
Source§

fn create_def(&self, rows: i32, cols: i32, typ: i32) -> Result<()>

Source§

fn create_nd( &self, size: &[i32], typ: i32, i: i32, allow_transposed: bool, fixed_depth_mask: _OutputArray_DepthMask, ) -> Result<()>

C++ default parameters Read more
Source§

fn create_nd_def(&self, size: &[i32], typ: i32) -> Result<()>

Source§

unsafe fn create_same_size( &self, arr: &impl ToInputArray, mtype: i32, ) -> Result<()>

Source§

fn release(&self) -> Result<()>

Source§

fn clear(&self) -> Result<()>

Source§

fn set_to( &self, value: &impl ToInputArray, mask: &impl ToInputArray, ) -> Result<()>

C++ default parameters Read more
Source§

fn set_to_def(&self, value: &impl ToInputArray) -> Result<()>

Source§

fn reinterpret(&self, typ: i32) -> Result<Mat>

Source§

fn assign_umat(&self, u: &impl UMatTraitConst) -> Result<()>

Source§

fn assign_mat(&self, m: &impl MatTraitConst) -> Result<()>

Source§

fn assign_umat_vec(&self, v: &Vector<UMat>) -> Result<()>

Source§

fn assign_mat_vec(&self, v: &Vector<Mat>) -> Result<()>

Source§

fn move_umat(&self, u: &mut impl UMatTrait) -> Result<()>

Source§

fn move_mat(&self, m: &mut impl MatTrait) -> Result<()>

Source§

impl _OutputArrayTraitConst for BoxedRefMut<'_, _OutputArray>

Source§

fn as_raw__OutputArray(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn fixed_size(&self) -> Result<bool>

Source§

fn fixed_type(&self) -> Result<bool>

Source§

fn needed(&self) -> Result<bool>

Source§

fn get_mat_ref(&self, i: i32) -> Result<Mat>

C++ default parameters Read more
Source§

fn get_mat_ref_def(&self) -> Result<Mat>

Source§

fn get_umat_ref(&self, i: i32) -> Result<UMat>

C++ default parameters Read more
Source§

fn get_umat_ref_def(&self) -> Result<UMat>

Source§

fn get_gpu_mat_ref(&self) -> Result<GpuMat>

Source§

fn get_gpu_mat_vec_ref(&self) -> Result<Vector<GpuMat>>

Source§

fn get_o_gl_buffer_ref(&self) -> Result<Buffer>

Source§

fn get_host_mem_ref(&self) -> Result<HostMem>

Source§

fn create_size( &self, sz: Size, typ: i32, i: i32, allow_transposed: bool, fixed_depth_mask: _OutputArray_DepthMask, ) -> Result<()>

C++ default parameters Read more
Source§

fn create_size_def(&self, sz: Size, typ: i32) -> Result<()>

Source§

fn create( &self, rows: i32, cols: i32, typ: i32, i: i32, allow_transposed: bool, fixed_depth_mask: _OutputArray_DepthMask, ) -> Result<()>

C++ default parameters Read more
Source§

fn create_def(&self, rows: i32, cols: i32, typ: i32) -> Result<()>

Source§

fn create_nd( &self, size: &[i32], typ: i32, i: i32, allow_transposed: bool, fixed_depth_mask: _OutputArray_DepthMask, ) -> Result<()>

C++ default parameters Read more
Source§

fn create_nd_def(&self, size: &[i32], typ: i32) -> Result<()>

Source§

unsafe fn create_same_size( &self, arr: &impl ToInputArray, mtype: i32, ) -> Result<()>

Source§

fn release(&self) -> Result<()>

Source§

fn clear(&self) -> Result<()>

Source§

fn set_to( &self, value: &impl ToInputArray, mask: &impl ToInputArray, ) -> Result<()>

C++ default parameters Read more
Source§

fn set_to_def(&self, value: &impl ToInputArray) -> Result<()>

Source§

fn reinterpret(&self, typ: i32) -> Result<Mat>

Source§

fn assign_umat(&self, u: &impl UMatTraitConst) -> Result<()>

Source§

fn assign_mat(&self, m: &impl MatTraitConst) -> Result<()>

Source§

fn assign_umat_vec(&self, v: &Vector<UMat>) -> Result<()>

Source§

fn assign_mat_vec(&self, v: &Vector<Mat>) -> Result<()>

Source§

fn move_umat(&self, u: &mut impl UMatTrait) -> Result<()>

Source§

fn move_mat(&self, m: &mut impl MatTrait) -> Result<()>

Source§

impl _RangeTrait for BoxedRefMut<'_, _Range>

Source§

fn as_raw_mut__Range( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

impl _RangeTraitConst for BoxedRefMut<'_, _Range>

Source§

fn as_raw__Range(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl anyTrait for BoxedRefMut<'_, any>

Source§

fn as_raw_mut_any( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set(&mut self, unnamed: any)

Source§

fn set_1(&mut self, src: &impl anyTraitConst) -> Result<()>

Source§

impl anyTraitConst for BoxedRefMut<'_, any>

Source§

fn as_raw_any(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

impl use_onlyTrait for BoxedRefMut<'_, use_only>

Source§

fn as_raw_mut_use_only( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_pkg(&mut self, val: GKernelPackage)

Source§

impl use_onlyTraitConst for BoxedRefMut<'_, use_only>

Source§

fn as_raw_use_only(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn pkg(&self) -> GKernelPackage

Source§

impl use_threaded_executorTrait for BoxedRefMut<'_, use_threaded_executor>

Source§

fn as_raw_mut_use_threaded_executor( &mut self, ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Source§

fn set_num_threads(&mut self, val: u32)

Source§

impl use_threaded_executorTraitConst for BoxedRefMut<'_, use_threaded_executor>

Source§

fn as_raw_use_threaded_executor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend

Source§

fn num_threads(&self) -> u32

Auto Trait Implementations§

§

impl<'r, T> Freeze for BoxedRefMut<'r, T>
where T: Freeze,

§

impl<'r, T> RefUnwindSafe for BoxedRefMut<'r, T>
where T: RefUnwindSafe,

§

impl<'r, T> Send for BoxedRefMut<'r, T>
where T: Send,

§

impl<'r, T> Sync for BoxedRefMut<'r, T>
where T: Sync,

§

impl<'r, T> Unpin for BoxedRefMut<'r, T>
where T: Unpin,

§

impl<'r, T> !UnwindSafe for BoxedRefMut<'r, T>

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> 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<T> MatConstIteratorTraitManual for T

Source§

impl<T> MatTraitConstManual for T
where T: MatTraitConst + ?Sized,

Source§

unsafe fn at_unchecked<T: DataType>(&self, i0: i32) -> Result<&T>

Like Mat::at() but performs no bounds or type checks Read more
Source§

unsafe fn at_2d_unchecked<T: DataType>(&self, row: i32, col: i32) -> Result<&T>

Like Mat::at_2d() but performs no bounds or type checks Read more
Source§

unsafe fn at_pt_unchecked<T: DataType>(&self, pt: Point) -> Result<&T>

Like Mat::at_pt() but performs no bounds or type checks Read more
Source§

unsafe fn at_3d_unchecked<T: DataType>( &self, i0: i32, i1: i32, i2: i32, ) -> Result<&T>

Like Mat::at_3d() but performs no bounds or type checks Read more
Source§

unsafe fn at_nd_unchecked<T: DataType>(&self, idx: &[i32]) -> Result<&T>

Like Mat::at_nd() but performs no bounds or type checks Read more
Source§

fn at_row<T: DataType>(&self, row: i32) -> Result<&[T]>

Return a complete read-only row
Source§

unsafe fn at_row_unchecked<T: DataType>(&self, row: i32) -> Result<&[T]>

Like Mat::at_row() but performs no bounds or type checks Read more
Source§

fn is_allocated(&self) -> bool

Source§

fn data_bytes(&self) -> Result<&[u8]>

Returns underlying data array as byte slice, Mat must be continuous
Source§

fn data_typed<T: DataType>(&self) -> Result<&[T]>

Source§

unsafe fn data_typed_unchecked<T: DataType>(&self) -> Result<&[T]>

Safety Read more
Source§

fn to_vec_2d<T: DataType>(&self) -> Result<Vec<Vec<T>>>

Source§

fn iter<T: DataType>(&self) -> Result<MatIter<'_, T>>
where Self: Sized,

Returns an iterator over Mat elements and their positions
Source§

fn try_into_typed<T: DataType>(self) -> Result<Mat_<T>>
where Self: Sized, Mat_<T>: TryFrom<Self, Error = Error>,

Source§

impl<T> MatTraitManual for T
where T: MatTrait + ?Sized,

Source§

unsafe fn at_unchecked_mut<T: DataType>(&mut self, i0: i32) -> Result<&mut T>

Like Mat::at_mut() but performs no bounds or type checks Read more
Source§

unsafe fn at_2d_unchecked_mut<T: DataType>( &mut self, row: i32, col: i32, ) -> Result<&mut T>

Like Mat::at_2d_mut() but performs no bounds or type checks Read more
Source§

unsafe fn at_pt_unchecked_mut<T: DataType>( &mut self, pt: Point, ) -> Result<&mut T>

Like Mat::at_pt_mut() but performs no bounds or type checks Read more
Source§

unsafe fn at_3d_unchecked_mut<T: DataType>( &mut self, i0: i32, i1: i32, i2: i32, ) -> Result<&mut T>

Like Mat::at_3d_mut() but performs no bounds or type checks Read more
Source§

unsafe fn at_nd_unchecked_mut<T: DataType>( &mut self, idx: &[i32], ) -> Result<&mut T>

Like Mat::at_nd_mut() but performs no bounds or type checks Read more
Source§

fn at_row_mut<T: DataType>(&mut self, row: i32) -> Result<&mut [T]>

Return a complete writeable row
Source§

unsafe fn at_row_unchecked_mut<T: DataType>( &mut self, row: i32, ) -> Result<&mut [T]>

Like Mat::at_row_mut() but performs no bounds or type checks Read more
Source§

fn data_bytes_mut(&mut self) -> Result<&mut [u8]>

Returns underlying data array as mutable byte slice, Mat must be continuous.
Source§

fn data_typed_mut<T: DataType>(&mut self) -> Result<&mut [T]>

Source§

unsafe fn data_typed_unchecked_mut<T: DataType>(&mut self) -> Result<&mut [T]>

Safety Read more
Source§

fn iter_mut<T: DataType>(&mut self) -> Result<MatIterMut<'_, T>>
where Self: Sized,

Returns a mutable iterator over Mat elements and their positions
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.