pub struct BoxedRef<'r, T: Boxed> { /* private fields */ }
Expand description
Wrapper for the type implementing Boxed trait that allows to retain the lifetime of the referenced object.
This wrapper implements all traits that the underlying type does, but explicitly doesn’t implement Deref and
DerefMut to avoid being able to swap the reference out of the wrapper. It relies on
functions accepting generic arguments (e.g. impl MatTrait
or impl MatTraitConst
) which are implemented by both main struct
and its BoxedRef
(e.g. Mat and BoxedRef<Mat>
).
Implementations§
Trait Implementations§
Source§impl AKAZETraitConst for BoxedRef<'_, AKAZE>
impl AKAZETraitConst for BoxedRef<'_, AKAZE>
fn as_raw_AKAZE(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_descriptor_type(&self) -> Result<AKAZE_DescriptorType>
fn get_descriptor_size(&self) -> Result<i32>
fn get_descriptor_channels(&self) -> Result<i32>
fn get_threshold(&self) -> Result<f64>
fn get_n_octaves(&self) -> Result<i32>
fn get_n_octave_layers(&self) -> Result<i32>
fn get_diffusivity(&self) -> Result<KAZE_DiffusivityType>
fn get_default_name(&self) -> Result<String>
fn get_max_points(&self) -> Result<i32>
Source§impl ANN_MLPTraitConst for BoxedRef<'_, ANN_MLP>
impl ANN_MLPTraitConst for BoxedRef<'_, ANN_MLP>
fn as_raw_ANN_MLP(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_train_method(&self) -> Result<i32>
fn get_train_method(&self) -> Result<i32>
Returns current training method
Source§fn get_layer_sizes(&self) -> Result<Mat>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
fn get_anneal_ite_per_step(&self) -> Result<i32>
ANNEAL: Update iteration per step.
It must be >0 . Default value is 10. Read more
fn get_weights(&self, layer_idx: i32) -> Result<Mat>
Source§impl AbsLayerTraitConst for BoxedRef<'_, AbsLayer>
impl AbsLayerTraitConst for BoxedRef<'_, AbsLayer>
fn as_raw_AbsLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl AccumLayerTraitConst for BoxedRef<'_, AccumLayer>
impl AccumLayerTraitConst for BoxedRef<'_, AccumLayer>
fn as_raw_AccumLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl AcosLayerTraitConst for BoxedRef<'_, AcosLayer>
impl AcosLayerTraitConst for BoxedRef<'_, AcosLayer>
fn as_raw_AcosLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl AcoshLayerTraitConst for BoxedRef<'_, AcoshLayer>
impl AcoshLayerTraitConst for BoxedRef<'_, AcoshLayer>
fn as_raw_AcoshLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl ActivationLayerInt8TraitConst for BoxedRef<'_, ActivationLayerInt8>
impl ActivationLayerInt8TraitConst for BoxedRef<'_, ActivationLayerInt8>
fn as_raw_ActivationLayerInt8( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl ActivationLayerTraitConst for BoxedRef<'_, AbsLayer>
impl ActivationLayerTraitConst for BoxedRef<'_, AbsLayer>
fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>
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 BoxedRef<'_, AcosLayer>
impl ActivationLayerTraitConst for BoxedRef<'_, AcosLayer>
fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>
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 BoxedRef<'_, AcoshLayer>
impl ActivationLayerTraitConst for BoxedRef<'_, AcoshLayer>
fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>
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 BoxedRef<'_, ActivationLayer>
impl ActivationLayerTraitConst for BoxedRef<'_, ActivationLayer>
fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>
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 BoxedRef<'_, ActivationLayerInt8>
impl ActivationLayerTraitConst for BoxedRef<'_, ActivationLayerInt8>
fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>
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 BoxedRef<'_, AsinLayer>
impl ActivationLayerTraitConst for BoxedRef<'_, AsinLayer>
fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>
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 BoxedRef<'_, AsinhLayer>
impl ActivationLayerTraitConst for BoxedRef<'_, AsinhLayer>
fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>
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 BoxedRef<'_, AtanLayer>
impl ActivationLayerTraitConst for BoxedRef<'_, AtanLayer>
fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>
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 BoxedRef<'_, AtanhLayer>
impl ActivationLayerTraitConst for BoxedRef<'_, AtanhLayer>
fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>
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 BoxedRef<'_, BNLLLayer>
impl ActivationLayerTraitConst for BoxedRef<'_, BNLLLayer>
fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>
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 BoxedRef<'_, BatchNormLayer>
impl ActivationLayerTraitConst for BoxedRef<'_, BatchNormLayer>
fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>
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 BoxedRef<'_, BatchNormLayerInt8>
impl ActivationLayerTraitConst for BoxedRef<'_, BatchNormLayerInt8>
fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>
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 BoxedRef<'_, CeilLayer>
impl ActivationLayerTraitConst for BoxedRef<'_, CeilLayer>
fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>
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 BoxedRef<'_, CeluLayer>
impl ActivationLayerTraitConst for BoxedRef<'_, CeluLayer>
fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>
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 BoxedRef<'_, ChannelsPReLULayer>
impl ActivationLayerTraitConst for BoxedRef<'_, ChannelsPReLULayer>
fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>
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 BoxedRef<'_, CosLayer>
impl ActivationLayerTraitConst for BoxedRef<'_, CosLayer>
fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>
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 BoxedRef<'_, CoshLayer>
impl ActivationLayerTraitConst for BoxedRef<'_, CoshLayer>
fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>
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 BoxedRef<'_, ELULayer>
impl ActivationLayerTraitConst for BoxedRef<'_, ELULayer>
fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>
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 BoxedRef<'_, ErfLayer>
impl ActivationLayerTraitConst for BoxedRef<'_, ErfLayer>
fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>
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 BoxedRef<'_, ExpLayer>
impl ActivationLayerTraitConst for BoxedRef<'_, ExpLayer>
fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>
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 BoxedRef<'_, FloorLayer>
impl ActivationLayerTraitConst for BoxedRef<'_, FloorLayer>
fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>
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 BoxedRef<'_, GeluApproximationLayer>
impl ActivationLayerTraitConst for BoxedRef<'_, GeluApproximationLayer>
fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>
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 BoxedRef<'_, GeluLayer>
impl ActivationLayerTraitConst for BoxedRef<'_, GeluLayer>
fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>
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 BoxedRef<'_, HardSigmoidLayer>
impl ActivationLayerTraitConst for BoxedRef<'_, HardSigmoidLayer>
fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>
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 BoxedRef<'_, HardSwishLayer>
impl ActivationLayerTraitConst for BoxedRef<'_, HardSwishLayer>
fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>
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 BoxedRef<'_, LogLayer>
impl ActivationLayerTraitConst for BoxedRef<'_, LogLayer>
fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>
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 BoxedRef<'_, MishLayer>
impl ActivationLayerTraitConst for BoxedRef<'_, MishLayer>
fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>
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 BoxedRef<'_, NotLayer>
impl ActivationLayerTraitConst for BoxedRef<'_, NotLayer>
fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>
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 BoxedRef<'_, PowerLayer>
impl ActivationLayerTraitConst for BoxedRef<'_, PowerLayer>
fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>
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 BoxedRef<'_, ReLU6Layer>
impl ActivationLayerTraitConst for BoxedRef<'_, ReLU6Layer>
fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>
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 BoxedRef<'_, ReLULayer>
impl ActivationLayerTraitConst for BoxedRef<'_, ReLULayer>
fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>
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 BoxedRef<'_, ReciprocalLayer>
impl ActivationLayerTraitConst for BoxedRef<'_, ReciprocalLayer>
fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>
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 BoxedRef<'_, RoundLayer>
impl ActivationLayerTraitConst for BoxedRef<'_, RoundLayer>
fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>
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 BoxedRef<'_, SeluLayer>
impl ActivationLayerTraitConst for BoxedRef<'_, SeluLayer>
fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>
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 BoxedRef<'_, ShrinkLayer>
impl ActivationLayerTraitConst for BoxedRef<'_, ShrinkLayer>
fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>
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 BoxedRef<'_, SigmoidLayer>
impl ActivationLayerTraitConst for BoxedRef<'_, SigmoidLayer>
fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>
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 BoxedRef<'_, SignLayer>
impl ActivationLayerTraitConst for BoxedRef<'_, SignLayer>
fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>
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 BoxedRef<'_, SinLayer>
impl ActivationLayerTraitConst for BoxedRef<'_, SinLayer>
fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>
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 BoxedRef<'_, SinhLayer>
impl ActivationLayerTraitConst for BoxedRef<'_, SinhLayer>
fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>
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 BoxedRef<'_, SoftplusLayer>
impl ActivationLayerTraitConst for BoxedRef<'_, SoftplusLayer>
fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>
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 BoxedRef<'_, SoftsignLayer>
impl ActivationLayerTraitConst for BoxedRef<'_, SoftsignLayer>
fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>
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 BoxedRef<'_, SqrtLayer>
impl ActivationLayerTraitConst for BoxedRef<'_, SqrtLayer>
fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>
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 BoxedRef<'_, SwishLayer>
impl ActivationLayerTraitConst for BoxedRef<'_, SwishLayer>
fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>
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 BoxedRef<'_, TanHLayer>
impl ActivationLayerTraitConst for BoxedRef<'_, TanHLayer>
fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>
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 BoxedRef<'_, TanLayer>
impl ActivationLayerTraitConst for BoxedRef<'_, TanLayer>
fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>
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 BoxedRef<'_, ThresholdedReluLayer>
impl ActivationLayerTraitConst for BoxedRef<'_, ThresholdedReluLayer>
fn as_raw_ActivationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn forward_slice( &self, src: &[f32], dst: &mut [f32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>
fn forward_slice_1( &self, src: &[i32], lut: &[i32], dst: &mut [i32], out_plane_size: size_t, cn0: i32, cn1: i32, ) -> Result<()>
Source§impl AdaptiveManifoldFilterTraitConst for BoxedRef<'_, AdaptiveManifoldFilter>
impl AdaptiveManifoldFilterTraitConst for BoxedRef<'_, AdaptiveManifoldFilter>
fn as_raw_AdaptiveManifoldFilter( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl AffineFeature2DTraitConst for BoxedRef<'_, AffineFeature2D>
impl AffineFeature2DTraitConst for BoxedRef<'_, AffineFeature2D>
fn as_raw_AffineFeature2D( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl AffineFeature2DTraitConst for BoxedRef<'_, TBMR>
impl AffineFeature2DTraitConst for BoxedRef<'_, TBMR>
fn as_raw_AffineFeature2D( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl AffineFeatureTraitConst for BoxedRef<'_, AffineFeature>
impl AffineFeatureTraitConst for BoxedRef<'_, AffineFeature>
Source§impl AffineTransformerTraitConst for BoxedRef<'_, AffineTransformer>
impl AffineTransformerTraitConst for BoxedRef<'_, AffineTransformer>
fn as_raw_AffineTransformer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_full_affine(&self) -> Result<bool>
Source§impl AffineWarperTraitConst for BoxedRef<'_, AffineWarper>
impl AffineWarperTraitConst for BoxedRef<'_, AffineWarper>
fn as_raw_AffineWarper(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn create(&self, scale: f32) -> Result<Ptr<Detail_RotationWarper>>
Source§impl AgastFeatureDetectorTraitConst for BoxedRef<'_, AgastFeatureDetector>
impl AgastFeatureDetectorTraitConst for BoxedRef<'_, AgastFeatureDetector>
fn as_raw_AgastFeatureDetector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_threshold(&self) -> Result<i32>
fn get_nonmax_suppression(&self) -> Result<bool>
fn get_type(&self) -> Result<AgastFeatureDetector_DetectorType>
fn get_default_name(&self) -> Result<String>
Source§impl AlgorithmTraitConst for BoxedRef<'_, AKAZE>
impl AlgorithmTraitConst for BoxedRef<'_, AKAZE>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, ANN_MLP>
impl AlgorithmTraitConst for BoxedRef<'_, ANN_MLP>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, AbsLayer>
impl AlgorithmTraitConst for BoxedRef<'_, AbsLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, AccumLayer>
impl AlgorithmTraitConst for BoxedRef<'_, AccumLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, AcosLayer>
impl AlgorithmTraitConst for BoxedRef<'_, AcosLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, AcoshLayer>
impl AlgorithmTraitConst for BoxedRef<'_, AcoshLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, ActivationLayer>
impl AlgorithmTraitConst for BoxedRef<'_, ActivationLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, ActivationLayerInt8>
impl AlgorithmTraitConst for BoxedRef<'_, ActivationLayerInt8>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, AdaptiveManifoldFilter>
impl AlgorithmTraitConst for BoxedRef<'_, AdaptiveManifoldFilter>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, AffineFeature>
impl AlgorithmTraitConst for BoxedRef<'_, AffineFeature>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, AffineFeature2D>
impl AlgorithmTraitConst for BoxedRef<'_, AffineFeature2D>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, AffineTransformer>
impl AlgorithmTraitConst for BoxedRef<'_, AffineTransformer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, AgastFeatureDetector>
impl AlgorithmTraitConst for BoxedRef<'_, AgastFeatureDetector>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, Algorithm>
impl AlgorithmTraitConst for BoxedRef<'_, Algorithm>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, AlignExposures>
impl AlgorithmTraitConst for BoxedRef<'_, AlignExposures>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, AlignMTB>
impl AlgorithmTraitConst for BoxedRef<'_, AlignMTB>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, ArgLayer>
impl AlgorithmTraitConst for BoxedRef<'_, ArgLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, ArucoDetector>
impl AlgorithmTraitConst for BoxedRef<'_, ArucoDetector>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, AsinLayer>
impl AlgorithmTraitConst for BoxedRef<'_, AsinLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, AsinhLayer>
impl AlgorithmTraitConst for BoxedRef<'_, AsinhLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, AtanLayer>
impl AlgorithmTraitConst for BoxedRef<'_, AtanLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, AtanhLayer>
impl AlgorithmTraitConst for BoxedRef<'_, AtanhLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, AttentionLayer>
impl AlgorithmTraitConst for BoxedRef<'_, AttentionLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, AverageHash>
impl AlgorithmTraitConst for BoxedRef<'_, AverageHash>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, BEBLID>
impl AlgorithmTraitConst for BoxedRef<'_, BEBLID>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, BFMatcher>
impl AlgorithmTraitConst for BoxedRef<'_, BFMatcher>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, BIF>
impl AlgorithmTraitConst for BoxedRef<'_, BIF>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, BNLLLayer>
impl AlgorithmTraitConst for BoxedRef<'_, BNLLLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, BRISK>
impl AlgorithmTraitConst for BoxedRef<'_, BRISK>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, BackgroundSubtractor>
impl AlgorithmTraitConst for BoxedRef<'_, BackgroundSubtractor>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, BackgroundSubtractorCNT>
impl AlgorithmTraitConst for BoxedRef<'_, BackgroundSubtractorCNT>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, BackgroundSubtractorGMG>
impl AlgorithmTraitConst for BoxedRef<'_, BackgroundSubtractorGMG>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, BackgroundSubtractorGSOC>
impl AlgorithmTraitConst for BoxedRef<'_, BackgroundSubtractorGSOC>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, BackgroundSubtractorKNN>
impl AlgorithmTraitConst for BoxedRef<'_, BackgroundSubtractorKNN>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, BackgroundSubtractorLSBP>
impl AlgorithmTraitConst for BoxedRef<'_, BackgroundSubtractorLSBP>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, BackgroundSubtractorMOG>
impl AlgorithmTraitConst for BoxedRef<'_, BackgroundSubtractorMOG>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, BackgroundSubtractorMOG2>
impl AlgorithmTraitConst for BoxedRef<'_, BackgroundSubtractorMOG2>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, BaseCascadeClassifier>
impl AlgorithmTraitConst for BoxedRef<'_, BaseCascadeClassifier>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, BaseConvolutionLayer>
impl AlgorithmTraitConst for BoxedRef<'_, BaseConvolutionLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, BasicFaceRecognizer>
impl AlgorithmTraitConst for BoxedRef<'_, BasicFaceRecognizer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, BatchNormLayer>
impl AlgorithmTraitConst for BoxedRef<'_, BatchNormLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, BatchNormLayerInt8>
impl AlgorithmTraitConst for BoxedRef<'_, BatchNormLayerInt8>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, BinaryDescriptor>
impl AlgorithmTraitConst for BoxedRef<'_, BinaryDescriptor>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, BinaryDescriptorMatcher>
impl AlgorithmTraitConst for BoxedRef<'_, BinaryDescriptorMatcher>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, BlankLayer>
impl AlgorithmTraitConst for BoxedRef<'_, BlankLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, BlockMeanHash>
impl AlgorithmTraitConst for BoxedRef<'_, BlockMeanHash>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, Boost>
impl AlgorithmTraitConst for BoxedRef<'_, Boost>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, BoostDesc>
impl AlgorithmTraitConst for BoxedRef<'_, BoostDesc>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, BriefDescriptorExtractor>
impl AlgorithmTraitConst for BoxedRef<'_, BriefDescriptorExtractor>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, CLAHE>
impl AlgorithmTraitConst for BoxedRef<'_, CLAHE>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, CUDA_BackgroundSubtractorMOG>
impl AlgorithmTraitConst for BoxedRef<'_, CUDA_BackgroundSubtractorMOG>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, CUDA_BackgroundSubtractorMOG2>
impl AlgorithmTraitConst for BoxedRef<'_, CUDA_BackgroundSubtractorMOG2>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, CUDA_BroxOpticalFlow>
impl AlgorithmTraitConst for BoxedRef<'_, CUDA_BroxOpticalFlow>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, CUDA_CLAHE>
impl AlgorithmTraitConst for BoxedRef<'_, CUDA_CLAHE>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, CUDA_CannyEdgeDetector>
impl AlgorithmTraitConst for BoxedRef<'_, CUDA_CannyEdgeDetector>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, CUDA_CascadeClassifier>
impl AlgorithmTraitConst for BoxedRef<'_, CUDA_CascadeClassifier>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, CUDA_CornernessCriteria>
impl AlgorithmTraitConst for BoxedRef<'_, CUDA_CornernessCriteria>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, CUDA_CornersDetector>
impl AlgorithmTraitConst for BoxedRef<'_, CUDA_CornersDetector>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, CUDA_DenseOpticalFlow>
impl AlgorithmTraitConst for BoxedRef<'_, CUDA_DenseOpticalFlow>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, CUDA_DensePyrLKOpticalFlow>
impl AlgorithmTraitConst for BoxedRef<'_, CUDA_DensePyrLKOpticalFlow>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, CUDA_DescriptorMatcher>
impl AlgorithmTraitConst for BoxedRef<'_, CUDA_DescriptorMatcher>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, CUDA_DisparityBilateralFilter>
impl AlgorithmTraitConst for BoxedRef<'_, CUDA_DisparityBilateralFilter>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, CUDA_FarnebackOpticalFlow>
impl AlgorithmTraitConst for BoxedRef<'_, CUDA_FarnebackOpticalFlow>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, CUDA_FastFeatureDetector>
impl AlgorithmTraitConst for BoxedRef<'_, CUDA_FastFeatureDetector>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, CUDA_Feature2DAsync>
impl AlgorithmTraitConst for BoxedRef<'_, CUDA_Feature2DAsync>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, CUDA_HOG>
impl AlgorithmTraitConst for BoxedRef<'_, CUDA_HOG>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, CUDA_HoughCirclesDetector>
impl AlgorithmTraitConst for BoxedRef<'_, CUDA_HoughCirclesDetector>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, CUDA_HoughLinesDetector>
impl AlgorithmTraitConst for BoxedRef<'_, CUDA_HoughLinesDetector>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, CUDA_HoughSegmentDetector>
impl AlgorithmTraitConst for BoxedRef<'_, CUDA_HoughSegmentDetector>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, CUDA_NvidiaHWOpticalFlow>
impl AlgorithmTraitConst for BoxedRef<'_, CUDA_NvidiaHWOpticalFlow>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, CUDA_NvidiaOpticalFlow_1_0>
impl AlgorithmTraitConst for BoxedRef<'_, CUDA_NvidiaOpticalFlow_1_0>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, CUDA_NvidiaOpticalFlow_2_0>
impl AlgorithmTraitConst for BoxedRef<'_, CUDA_NvidiaOpticalFlow_2_0>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, CUDA_ORB>
impl AlgorithmTraitConst for BoxedRef<'_, CUDA_ORB>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, CUDA_OpticalFlowDual_TVL1>
impl AlgorithmTraitConst for BoxedRef<'_, CUDA_OpticalFlowDual_TVL1>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, CUDA_SparseOpticalFlow>
impl AlgorithmTraitConst for BoxedRef<'_, CUDA_SparseOpticalFlow>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, CUDA_SparsePyrLKOpticalFlow>
impl AlgorithmTraitConst for BoxedRef<'_, CUDA_SparsePyrLKOpticalFlow>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, CUDA_StereoBM>
impl AlgorithmTraitConst for BoxedRef<'_, CUDA_StereoBM>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, CUDA_StereoBeliefPropagation>
impl AlgorithmTraitConst for BoxedRef<'_, CUDA_StereoBeliefPropagation>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, CUDA_StereoConstantSpaceBP>
impl AlgorithmTraitConst for BoxedRef<'_, CUDA_StereoConstantSpaceBP>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, CUDA_StereoSGM>
impl AlgorithmTraitConst for BoxedRef<'_, CUDA_StereoSGM>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, CUDA_TemplateMatching>
impl AlgorithmTraitConst for BoxedRef<'_, CUDA_TemplateMatching>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, CalibrateCRF>
impl AlgorithmTraitConst for BoxedRef<'_, CalibrateCRF>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, CalibrateDebevec>
impl AlgorithmTraitConst for BoxedRef<'_, CalibrateDebevec>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, CalibrateRobertson>
impl AlgorithmTraitConst for BoxedRef<'_, CalibrateRobertson>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, CeilLayer>
impl AlgorithmTraitConst for BoxedRef<'_, CeilLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, CeluLayer>
impl AlgorithmTraitConst for BoxedRef<'_, CeluLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, ChannelsPReLULayer>
impl AlgorithmTraitConst for BoxedRef<'_, ChannelsPReLULayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, CharucoDetector>
impl AlgorithmTraitConst for BoxedRef<'_, CharucoDetector>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, ChiHistogramCostExtractor>
impl AlgorithmTraitConst for BoxedRef<'_, ChiHistogramCostExtractor>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, ColorMomentHash>
impl AlgorithmTraitConst for BoxedRef<'_, ColorMomentHash>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, CompareLayer>
impl AlgorithmTraitConst for BoxedRef<'_, CompareLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, ConcatLayer>
impl AlgorithmTraitConst for BoxedRef<'_, ConcatLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, ConjGradSolver>
impl AlgorithmTraitConst for BoxedRef<'_, ConjGradSolver>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, ConstLayer>
impl AlgorithmTraitConst for BoxedRef<'_, ConstLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, ContourFitting>
impl AlgorithmTraitConst for BoxedRef<'_, ContourFitting>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, Convolution>
impl AlgorithmTraitConst for BoxedRef<'_, Convolution>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, ConvolutionLayer>
impl AlgorithmTraitConst for BoxedRef<'_, ConvolutionLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, ConvolutionLayerInt8>
impl AlgorithmTraitConst for BoxedRef<'_, ConvolutionLayerInt8>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, CorrelationLayer>
impl AlgorithmTraitConst for BoxedRef<'_, CorrelationLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, CosLayer>
impl AlgorithmTraitConst for BoxedRef<'_, CosLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, CoshLayer>
impl AlgorithmTraitConst for BoxedRef<'_, CoshLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, CropAndResizeLayer>
impl AlgorithmTraitConst for BoxedRef<'_, CropAndResizeLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, CropLayer>
impl AlgorithmTraitConst for BoxedRef<'_, CropLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, CumSumLayer>
impl AlgorithmTraitConst for BoxedRef<'_, CumSumLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, CustomPattern>
impl AlgorithmTraitConst for BoxedRef<'_, CustomPattern>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, DAISY>
impl AlgorithmTraitConst for BoxedRef<'_, DAISY>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, DFT>
impl AlgorithmTraitConst for BoxedRef<'_, DFT>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, DISOpticalFlow>
impl AlgorithmTraitConst for BoxedRef<'_, DISOpticalFlow>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, DTFilter>
impl AlgorithmTraitConst for BoxedRef<'_, DTFilter>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, DTrees>
impl AlgorithmTraitConst for BoxedRef<'_, DTrees>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, DataAugmentationLayer>
impl AlgorithmTraitConst for BoxedRef<'_, DataAugmentationLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, DeconvolutionLayer>
impl AlgorithmTraitConst for BoxedRef<'_, DeconvolutionLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, DenseOpticalFlow>
impl AlgorithmTraitConst for BoxedRef<'_, DenseOpticalFlow>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, DenseRLOFOpticalFlow>
impl AlgorithmTraitConst for BoxedRef<'_, DenseRLOFOpticalFlow>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, DepthCleaner>
impl AlgorithmTraitConst for BoxedRef<'_, DepthCleaner>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, DepthToSpaceLayer>
impl AlgorithmTraitConst for BoxedRef<'_, DepthToSpaceLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, DequantizeLayer>
impl AlgorithmTraitConst for BoxedRef<'_, DequantizeLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, DescriptorMatcher>
impl AlgorithmTraitConst for BoxedRef<'_, DescriptorMatcher>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, DetectionOutputLayer>
impl AlgorithmTraitConst for BoxedRef<'_, DetectionOutputLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, DisparityFilter>
impl AlgorithmTraitConst for BoxedRef<'_, DisparityFilter>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, DisparityWLSFilter>
impl AlgorithmTraitConst for BoxedRef<'_, DisparityWLSFilter>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, DownhillSolver>
impl AlgorithmTraitConst for BoxedRef<'_, DownhillSolver>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, DualTVL1OpticalFlow>
impl AlgorithmTraitConst for BoxedRef<'_, DualTVL1OpticalFlow>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, ELULayer>
impl AlgorithmTraitConst for BoxedRef<'_, ELULayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, EM>
impl AlgorithmTraitConst for BoxedRef<'_, EM>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, EMDHistogramCostExtractor>
impl AlgorithmTraitConst for BoxedRef<'_, EMDHistogramCostExtractor>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, EMDL1HistogramCostExtractor>
impl AlgorithmTraitConst for BoxedRef<'_, EMDL1HistogramCostExtractor>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, ERFilter>
impl AlgorithmTraitConst for BoxedRef<'_, ERFilter>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, EdgeAwareInterpolator>
impl AlgorithmTraitConst for BoxedRef<'_, EdgeAwareInterpolator>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, EdgeBoxes>
impl AlgorithmTraitConst for BoxedRef<'_, EdgeBoxes>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, EdgeDrawing>
impl AlgorithmTraitConst for BoxedRef<'_, EdgeDrawing>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, EigenFaceRecognizer>
impl AlgorithmTraitConst for BoxedRef<'_, EigenFaceRecognizer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, EinsumLayer>
impl AlgorithmTraitConst for BoxedRef<'_, EinsumLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, EltwiseLayer>
impl AlgorithmTraitConst for BoxedRef<'_, EltwiseLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, EltwiseLayerInt8>
impl AlgorithmTraitConst for BoxedRef<'_, EltwiseLayerInt8>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, ErfLayer>
impl AlgorithmTraitConst for BoxedRef<'_, ErfLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, ExpLayer>
impl AlgorithmTraitConst for BoxedRef<'_, ExpLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, ExpandLayer>
impl AlgorithmTraitConst for BoxedRef<'_, ExpandLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, FREAK>
impl AlgorithmTraitConst for BoxedRef<'_, FREAK>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, FaceRecognizer>
impl AlgorithmTraitConst for BoxedRef<'_, FaceRecognizer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, Facemark>
impl AlgorithmTraitConst for BoxedRef<'_, Facemark>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, FacemarkAAM>
impl AlgorithmTraitConst for BoxedRef<'_, FacemarkAAM>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, FacemarkKazemi>
impl AlgorithmTraitConst for BoxedRef<'_, FacemarkKazemi>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, FacemarkLBF>
impl AlgorithmTraitConst for BoxedRef<'_, FacemarkLBF>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, FacemarkTrain>
impl AlgorithmTraitConst for BoxedRef<'_, FacemarkTrain>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, FarnebackOpticalFlow>
impl AlgorithmTraitConst for BoxedRef<'_, FarnebackOpticalFlow>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, FastBilateralSolverFilter>
impl AlgorithmTraitConst for BoxedRef<'_, FastBilateralSolverFilter>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, FastFeatureDetector>
impl AlgorithmTraitConst for BoxedRef<'_, FastFeatureDetector>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, FastGlobalSmootherFilter>
impl AlgorithmTraitConst for BoxedRef<'_, FastGlobalSmootherFilter>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, FastICPOdometry>
impl AlgorithmTraitConst for BoxedRef<'_, FastICPOdometry>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, FastLineDetector>
impl AlgorithmTraitConst for BoxedRef<'_, FastLineDetector>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, Feature2D>
impl AlgorithmTraitConst for BoxedRef<'_, Feature2D>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, Filter>
impl AlgorithmTraitConst for BoxedRef<'_, Filter>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, FisherFaceRecognizer>
impl AlgorithmTraitConst for BoxedRef<'_, FisherFaceRecognizer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, FlannBasedMatcher>
impl AlgorithmTraitConst for BoxedRef<'_, FlannBasedMatcher>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, FlattenLayer>
impl AlgorithmTraitConst for BoxedRef<'_, FlattenLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, FloorLayer>
impl AlgorithmTraitConst for BoxedRef<'_, FloorLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, FlowWarpLayer>
impl AlgorithmTraitConst for BoxedRef<'_, FlowWarpLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, FreeType2>
impl AlgorithmTraitConst for BoxedRef<'_, FreeType2>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, GFTTDetector>
impl AlgorithmTraitConst for BoxedRef<'_, GFTTDetector>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, GPCTree>
impl AlgorithmTraitConst for BoxedRef<'_, GPCTree>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, GRULayer>
impl AlgorithmTraitConst for BoxedRef<'_, GRULayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, GatherElementsLayer>
impl AlgorithmTraitConst for BoxedRef<'_, GatherElementsLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, GatherLayer>
impl AlgorithmTraitConst for BoxedRef<'_, GatherLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, GeluApproximationLayer>
impl AlgorithmTraitConst for BoxedRef<'_, GeluApproximationLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, GeluLayer>
impl AlgorithmTraitConst for BoxedRef<'_, GeluLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, GemmLayer>
impl AlgorithmTraitConst for BoxedRef<'_, GemmLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, GeneralizedHough>
impl AlgorithmTraitConst for BoxedRef<'_, GeneralizedHough>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, GeneralizedHoughBallard>
impl AlgorithmTraitConst for BoxedRef<'_, GeneralizedHoughBallard>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, GeneralizedHoughGuil>
impl AlgorithmTraitConst for BoxedRef<'_, GeneralizedHoughGuil>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, GraphSegmentation>
impl AlgorithmTraitConst for BoxedRef<'_, GraphSegmentation>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, GrayCodePattern>
impl AlgorithmTraitConst for BoxedRef<'_, GrayCodePattern>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, GrayworldWB>
impl AlgorithmTraitConst for BoxedRef<'_, GrayworldWB>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, GroupNormLayer>
impl AlgorithmTraitConst for BoxedRef<'_, GroupNormLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, GuidedFilter>
impl AlgorithmTraitConst for BoxedRef<'_, GuidedFilter>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, HardSigmoidLayer>
impl AlgorithmTraitConst for BoxedRef<'_, HardSigmoidLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, HardSwishLayer>
impl AlgorithmTraitConst for BoxedRef<'_, HardSwishLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, HarrisLaplaceFeatureDetector>
impl AlgorithmTraitConst for BoxedRef<'_, HarrisLaplaceFeatureDetector>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, HausdorffDistanceExtractor>
impl AlgorithmTraitConst for BoxedRef<'_, HausdorffDistanceExtractor>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, HfsSegment>
impl AlgorithmTraitConst for BoxedRef<'_, HfsSegment>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, HistogramCostExtractor>
impl AlgorithmTraitConst for BoxedRef<'_, HistogramCostExtractor>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, HistogramPhaseUnwrapping>
impl AlgorithmTraitConst for BoxedRef<'_, HistogramPhaseUnwrapping>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, ICPOdometry>
impl AlgorithmTraitConst for BoxedRef<'_, ICPOdometry>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, ImgHashBase>
impl AlgorithmTraitConst for BoxedRef<'_, ImgHashBase>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, InnerProductLayer>
impl AlgorithmTraitConst for BoxedRef<'_, InnerProductLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, InnerProductLayerInt8>
impl AlgorithmTraitConst for BoxedRef<'_, InnerProductLayerInt8>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, InstanceNormLayer>
impl AlgorithmTraitConst for BoxedRef<'_, InstanceNormLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, InterpLayer>
impl AlgorithmTraitConst for BoxedRef<'_, InterpLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, KAZE>
impl AlgorithmTraitConst for BoxedRef<'_, KAZE>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, KNearest>
impl AlgorithmTraitConst for BoxedRef<'_, KNearest>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, LATCH>
impl AlgorithmTraitConst for BoxedRef<'_, LATCH>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, LBPHFaceRecognizer>
impl AlgorithmTraitConst for BoxedRef<'_, LBPHFaceRecognizer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, LMSolver>
impl AlgorithmTraitConst for BoxedRef<'_, LMSolver>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, LRNLayer>
impl AlgorithmTraitConst for BoxedRef<'_, LRNLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, LSDDetector>
impl AlgorithmTraitConst for BoxedRef<'_, LSDDetector>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, LSTMLayer>
impl AlgorithmTraitConst for BoxedRef<'_, LSTMLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, LUCID>
impl AlgorithmTraitConst for BoxedRef<'_, LUCID>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, Layer>
impl AlgorithmTraitConst for BoxedRef<'_, Layer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, LayerNormLayer>
impl AlgorithmTraitConst for BoxedRef<'_, LayerNormLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, LearningBasedWB>
impl AlgorithmTraitConst for BoxedRef<'_, LearningBasedWB>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, LineSegmentDetector>
impl AlgorithmTraitConst for BoxedRef<'_, LineSegmentDetector>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, LogLayer>
impl AlgorithmTraitConst for BoxedRef<'_, LogLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, LogisticRegression>
impl AlgorithmTraitConst for BoxedRef<'_, LogisticRegression>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, LookUpTable>
impl AlgorithmTraitConst for BoxedRef<'_, LookUpTable>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, MACE>
impl AlgorithmTraitConst for BoxedRef<'_, MACE>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, MCC_CCheckerDetector>
impl AlgorithmTraitConst for BoxedRef<'_, MCC_CCheckerDetector>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, MSDDetector>
impl AlgorithmTraitConst for BoxedRef<'_, MSDDetector>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, MSER>
impl AlgorithmTraitConst for BoxedRef<'_, MSER>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, MVNLayer>
impl AlgorithmTraitConst for BoxedRef<'_, MVNLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, MarrHildrethHash>
impl AlgorithmTraitConst for BoxedRef<'_, MarrHildrethHash>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, MatMulLayer>
impl AlgorithmTraitConst for BoxedRef<'_, MatMulLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, MaxUnpoolLayer>
impl AlgorithmTraitConst for BoxedRef<'_, MaxUnpoolLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, MergeDebevec>
impl AlgorithmTraitConst for BoxedRef<'_, MergeDebevec>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, MergeExposures>
impl AlgorithmTraitConst for BoxedRef<'_, MergeExposures>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, MergeMertens>
impl AlgorithmTraitConst for BoxedRef<'_, MergeMertens>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, MergeRobertson>
impl AlgorithmTraitConst for BoxedRef<'_, MergeRobertson>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, MinProblemSolver>
impl AlgorithmTraitConst for BoxedRef<'_, MinProblemSolver>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, MishLayer>
impl AlgorithmTraitConst for BoxedRef<'_, MishLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, MotionSaliency>
impl AlgorithmTraitConst for BoxedRef<'_, MotionSaliency>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, MotionSaliencyBinWangApr2014>
impl AlgorithmTraitConst for BoxedRef<'_, MotionSaliencyBinWangApr2014>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, NaryEltwiseLayer>
impl AlgorithmTraitConst for BoxedRef<'_, NaryEltwiseLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, NormHistogramCostExtractor>
impl AlgorithmTraitConst for BoxedRef<'_, NormHistogramCostExtractor>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, NormalBayesClassifier>
impl AlgorithmTraitConst for BoxedRef<'_, NormalBayesClassifier>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, NormalizeBBoxLayer>
impl AlgorithmTraitConst for BoxedRef<'_, NormalizeBBoxLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, NotLayer>
impl AlgorithmTraitConst for BoxedRef<'_, NotLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, ORB>
impl AlgorithmTraitConst for BoxedRef<'_, ORB>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, Objectness>
impl AlgorithmTraitConst for BoxedRef<'_, Objectness>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, ObjectnessBING>
impl AlgorithmTraitConst for BoxedRef<'_, ObjectnessBING>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, Odometry>
impl AlgorithmTraitConst for BoxedRef<'_, Odometry>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, OpticalFlowPCAFlow>
impl AlgorithmTraitConst for BoxedRef<'_, OpticalFlowPCAFlow>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, PCTSignatures>
impl AlgorithmTraitConst for BoxedRef<'_, PCTSignatures>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, PCTSignaturesSQFD>
impl AlgorithmTraitConst for BoxedRef<'_, PCTSignaturesSQFD>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, PHash>
impl AlgorithmTraitConst for BoxedRef<'_, PHash>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, PaddingLayer>
impl AlgorithmTraitConst for BoxedRef<'_, PaddingLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, PermuteLayer>
impl AlgorithmTraitConst for BoxedRef<'_, PermuteLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, PhaseUnwrapping>
impl AlgorithmTraitConst for BoxedRef<'_, PhaseUnwrapping>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, Plot2d>
impl AlgorithmTraitConst for BoxedRef<'_, Plot2d>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, PoolingLayer>
impl AlgorithmTraitConst for BoxedRef<'_, PoolingLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, PoolingLayerInt8>
impl AlgorithmTraitConst for BoxedRef<'_, PoolingLayerInt8>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, PowerLayer>
impl AlgorithmTraitConst for BoxedRef<'_, PowerLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, PriorBoxLayer>
impl AlgorithmTraitConst for BoxedRef<'_, PriorBoxLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, ProposalLayer>
impl AlgorithmTraitConst for BoxedRef<'_, ProposalLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, QualityBRISQUE>
impl AlgorithmTraitConst for BoxedRef<'_, QualityBRISQUE>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, QualityBase>
impl AlgorithmTraitConst for BoxedRef<'_, QualityBase>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, QualityGMSD>
impl AlgorithmTraitConst for BoxedRef<'_, QualityGMSD>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, QualityMSE>
impl AlgorithmTraitConst for BoxedRef<'_, QualityMSE>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, QualityPSNR>
impl AlgorithmTraitConst for BoxedRef<'_, QualityPSNR>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, QualitySSIM>
impl AlgorithmTraitConst for BoxedRef<'_, QualitySSIM>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, QuantizeLayer>
impl AlgorithmTraitConst for BoxedRef<'_, QuantizeLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, RFFeatureGetter>
impl AlgorithmTraitConst for BoxedRef<'_, RFFeatureGetter>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, RICInterpolator>
impl AlgorithmTraitConst for BoxedRef<'_, RICInterpolator>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, RNNLayer>
impl AlgorithmTraitConst for BoxedRef<'_, RNNLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, RTrees>
impl AlgorithmTraitConst for BoxedRef<'_, RTrees>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, RadialVarianceHash>
impl AlgorithmTraitConst for BoxedRef<'_, RadialVarianceHash>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, Rapid_GOSTracker>
impl AlgorithmTraitConst for BoxedRef<'_, Rapid_GOSTracker>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, Rapid_OLSTracker>
impl AlgorithmTraitConst for BoxedRef<'_, Rapid_OLSTracker>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, Rapid_Rapid>
impl AlgorithmTraitConst for BoxedRef<'_, Rapid_Rapid>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, Rapid_Tracker>
impl AlgorithmTraitConst for BoxedRef<'_, Rapid_Tracker>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, ReLU6Layer>
impl AlgorithmTraitConst for BoxedRef<'_, ReLU6Layer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, ReLULayer>
impl AlgorithmTraitConst for BoxedRef<'_, ReLULayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, ReciprocalLayer>
impl AlgorithmTraitConst for BoxedRef<'_, ReciprocalLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, ReduceLayer>
impl AlgorithmTraitConst for BoxedRef<'_, ReduceLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, RegionLayer>
impl AlgorithmTraitConst for BoxedRef<'_, RegionLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, ReorgLayer>
impl AlgorithmTraitConst for BoxedRef<'_, ReorgLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, RequantizeLayer>
impl AlgorithmTraitConst for BoxedRef<'_, RequantizeLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, ReshapeLayer>
impl AlgorithmTraitConst for BoxedRef<'_, ReshapeLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, ResizeLayer>
impl AlgorithmTraitConst for BoxedRef<'_, ResizeLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, Retina>
impl AlgorithmTraitConst for BoxedRef<'_, Retina>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, RetinaFastToneMapping>
impl AlgorithmTraitConst for BoxedRef<'_, RetinaFastToneMapping>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, RgbdICPOdometry>
impl AlgorithmTraitConst for BoxedRef<'_, RgbdICPOdometry>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, RgbdNormals>
impl AlgorithmTraitConst for BoxedRef<'_, RgbdNormals>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, RgbdOdometry>
impl AlgorithmTraitConst for BoxedRef<'_, RgbdOdometry>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, RgbdPlane>
impl AlgorithmTraitConst for BoxedRef<'_, RgbdPlane>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, RidgeDetectionFilter>
impl AlgorithmTraitConst for BoxedRef<'_, RidgeDetectionFilter>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, RoundLayer>
impl AlgorithmTraitConst for BoxedRef<'_, RoundLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, SIFT>
impl AlgorithmTraitConst for BoxedRef<'_, SIFT>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, SURF>
impl AlgorithmTraitConst for BoxedRef<'_, SURF>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, SVM>
impl AlgorithmTraitConst for BoxedRef<'_, SVM>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, SVMSGD>
impl AlgorithmTraitConst for BoxedRef<'_, SVMSGD>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, SVM_Kernel>
impl AlgorithmTraitConst for BoxedRef<'_, SVM_Kernel>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, Saliency>
impl AlgorithmTraitConst for BoxedRef<'_, Saliency>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, ScaleLayer>
impl AlgorithmTraitConst for BoxedRef<'_, ScaleLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, ScaleLayerInt8>
impl AlgorithmTraitConst for BoxedRef<'_, ScaleLayerInt8>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, ScanSegment>
impl AlgorithmTraitConst for BoxedRef<'_, ScanSegment>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, ScatterLayer>
impl AlgorithmTraitConst for BoxedRef<'_, ScatterLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, ScatterNDLayer>
impl AlgorithmTraitConst for BoxedRef<'_, ScatterNDLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, SelectiveSearchSegmentation>
impl AlgorithmTraitConst for BoxedRef<'_, SelectiveSearchSegmentation>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, SelectiveSearchSegmentationStrategy>
impl AlgorithmTraitConst for BoxedRef<'_, SelectiveSearchSegmentationStrategy>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, SelectiveSearchSegmentationStrategyColor>
impl AlgorithmTraitConst for BoxedRef<'_, SelectiveSearchSegmentationStrategyColor>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, SelectiveSearchSegmentationStrategyFill>
impl AlgorithmTraitConst for BoxedRef<'_, SelectiveSearchSegmentationStrategyFill>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, SelectiveSearchSegmentationStrategyMultiple>
impl AlgorithmTraitConst for BoxedRef<'_, SelectiveSearchSegmentationStrategyMultiple>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, SelectiveSearchSegmentationStrategySize>
impl AlgorithmTraitConst for BoxedRef<'_, SelectiveSearchSegmentationStrategySize>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, SelectiveSearchSegmentationStrategyTexture>
impl AlgorithmTraitConst for BoxedRef<'_, SelectiveSearchSegmentationStrategyTexture>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, SeluLayer>
impl AlgorithmTraitConst for BoxedRef<'_, SeluLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, ShapeContextDistanceExtractor>
impl AlgorithmTraitConst for BoxedRef<'_, ShapeContextDistanceExtractor>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, ShapeDistanceExtractor>
impl AlgorithmTraitConst for BoxedRef<'_, ShapeDistanceExtractor>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, ShapeTransformer>
impl AlgorithmTraitConst for BoxedRef<'_, ShapeTransformer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, ShiftLayer>
impl AlgorithmTraitConst for BoxedRef<'_, ShiftLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, ShiftLayerInt8>
impl AlgorithmTraitConst for BoxedRef<'_, ShiftLayerInt8>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, ShrinkLayer>
impl AlgorithmTraitConst for BoxedRef<'_, ShrinkLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, ShuffleChannelLayer>
impl AlgorithmTraitConst for BoxedRef<'_, ShuffleChannelLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, SigmoidLayer>
impl AlgorithmTraitConst for BoxedRef<'_, SigmoidLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, SignLayer>
impl AlgorithmTraitConst for BoxedRef<'_, SignLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, SimpleBlobDetector>
impl AlgorithmTraitConst for BoxedRef<'_, SimpleBlobDetector>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, SimpleWB>
impl AlgorithmTraitConst for BoxedRef<'_, SimpleWB>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, SinLayer>
impl AlgorithmTraitConst for BoxedRef<'_, SinLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, SinhLayer>
impl AlgorithmTraitConst for BoxedRef<'_, SinhLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, SinusoidalPattern>
impl AlgorithmTraitConst for BoxedRef<'_, SinusoidalPattern>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, SliceLayer>
impl AlgorithmTraitConst for BoxedRef<'_, SliceLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, SoftmaxLayer>
impl AlgorithmTraitConst for BoxedRef<'_, SoftmaxLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, SoftmaxLayerInt8>
impl AlgorithmTraitConst for BoxedRef<'_, SoftmaxLayerInt8>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, SoftplusLayer>
impl AlgorithmTraitConst for BoxedRef<'_, SoftplusLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, SoftsignLayer>
impl AlgorithmTraitConst for BoxedRef<'_, SoftsignLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, SpaceToDepthLayer>
impl AlgorithmTraitConst for BoxedRef<'_, SpaceToDepthLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, SparseMatchInterpolator>
impl AlgorithmTraitConst for BoxedRef<'_, SparseMatchInterpolator>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, SparseOpticalFlow>
impl AlgorithmTraitConst for BoxedRef<'_, SparseOpticalFlow>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, SparsePyrLKOpticalFlow>
impl AlgorithmTraitConst for BoxedRef<'_, SparsePyrLKOpticalFlow>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, SparseRLOFOpticalFlow>
impl AlgorithmTraitConst for BoxedRef<'_, SparseRLOFOpticalFlow>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, SplitLayer>
impl AlgorithmTraitConst for BoxedRef<'_, SplitLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, SqrtLayer>
impl AlgorithmTraitConst for BoxedRef<'_, SqrtLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, StarDetector>
impl AlgorithmTraitConst for BoxedRef<'_, StarDetector>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, StatModel>
impl AlgorithmTraitConst for BoxedRef<'_, StatModel>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, StaticSaliency>
impl AlgorithmTraitConst for BoxedRef<'_, StaticSaliency>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, StaticSaliencyFineGrained>
impl AlgorithmTraitConst for BoxedRef<'_, StaticSaliencyFineGrained>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, StaticSaliencySpectralResidual>
impl AlgorithmTraitConst for BoxedRef<'_, StaticSaliencySpectralResidual>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, StereoBM>
impl AlgorithmTraitConst for BoxedRef<'_, StereoBM>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, StereoMatcher>
impl AlgorithmTraitConst for BoxedRef<'_, StereoMatcher>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, StereoSGBM>
impl AlgorithmTraitConst for BoxedRef<'_, StereoSGBM>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, StructuredEdgeDetection>
impl AlgorithmTraitConst for BoxedRef<'_, StructuredEdgeDetection>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, StructuredLightPattern>
impl AlgorithmTraitConst for BoxedRef<'_, StructuredLightPattern>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, SuperRes_BroxOpticalFlow>
impl AlgorithmTraitConst for BoxedRef<'_, SuperRes_BroxOpticalFlow>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, SuperRes_DenseOpticalFlowExt>
impl AlgorithmTraitConst for BoxedRef<'_, SuperRes_DenseOpticalFlowExt>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, SuperRes_DualTVL1OpticalFlow>
impl AlgorithmTraitConst for BoxedRef<'_, SuperRes_DualTVL1OpticalFlow>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, SuperRes_FarnebackOpticalFlow>
impl AlgorithmTraitConst for BoxedRef<'_, SuperRes_FarnebackOpticalFlow>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, SuperRes_PyrLKOpticalFlow>
impl AlgorithmTraitConst for BoxedRef<'_, SuperRes_PyrLKOpticalFlow>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, SuperRes_SuperResolution>
impl AlgorithmTraitConst for BoxedRef<'_, SuperRes_SuperResolution>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, SuperpixelLSC>
impl AlgorithmTraitConst for BoxedRef<'_, SuperpixelLSC>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, SuperpixelSEEDS>
impl AlgorithmTraitConst for BoxedRef<'_, SuperpixelSEEDS>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, SuperpixelSLIC>
impl AlgorithmTraitConst for BoxedRef<'_, SuperpixelSLIC>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, SwishLayer>
impl AlgorithmTraitConst for BoxedRef<'_, SwishLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, SyntheticSequenceGenerator>
impl AlgorithmTraitConst for BoxedRef<'_, SyntheticSequenceGenerator>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, TBMR>
impl AlgorithmTraitConst for BoxedRef<'_, TBMR>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, TEBLID>
impl AlgorithmTraitConst for BoxedRef<'_, TEBLID>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, TanHLayer>
impl AlgorithmTraitConst for BoxedRef<'_, TanHLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, TanLayer>
impl AlgorithmTraitConst for BoxedRef<'_, TanLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, ThinPlateSplineShapeTransformer>
impl AlgorithmTraitConst for BoxedRef<'_, ThinPlateSplineShapeTransformer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, ThresholdedReluLayer>
impl AlgorithmTraitConst for BoxedRef<'_, ThresholdedReluLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, TileLayer>
impl AlgorithmTraitConst for BoxedRef<'_, TileLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, Tonemap>
impl AlgorithmTraitConst for BoxedRef<'_, Tonemap>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, TonemapDrago>
impl AlgorithmTraitConst for BoxedRef<'_, TonemapDrago>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, TonemapDurand>
impl AlgorithmTraitConst for BoxedRef<'_, TonemapDurand>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, TonemapMantiuk>
impl AlgorithmTraitConst for BoxedRef<'_, TonemapMantiuk>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, TonemapReinhard>
impl AlgorithmTraitConst for BoxedRef<'_, TonemapReinhard>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, TopKLayer>
impl AlgorithmTraitConst for BoxedRef<'_, TopKLayer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, TransientAreasSegmentationModule>
impl AlgorithmTraitConst for BoxedRef<'_, TransientAreasSegmentationModule>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, VGG>
impl AlgorithmTraitConst for BoxedRef<'_, VGG>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, VariationalRefinement>
impl AlgorithmTraitConst for BoxedRef<'_, VariationalRefinement>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlgorithmTraitConst for BoxedRef<'_, WhiteBalancer>
impl AlgorithmTraitConst for BoxedRef<'_, WhiteBalancer>
fn as_raw_Algorithm(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
Source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
Source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
Source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
Source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
Source§impl AlignExposuresTraitConst for BoxedRef<'_, AlignExposures>
impl AlignExposuresTraitConst for BoxedRef<'_, AlignExposures>
fn as_raw_AlignExposures( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl AlignExposuresTraitConst for BoxedRef<'_, AlignMTB>
impl AlignExposuresTraitConst for BoxedRef<'_, AlignMTB>
fn as_raw_AlignExposures( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl AlignMTBTraitConst for BoxedRef<'_, AlignMTB>
impl AlignMTBTraitConst for BoxedRef<'_, AlignMTB>
Source§impl AnimationTraitConst for BoxedRef<'_, Animation>
impl AnimationTraitConst for BoxedRef<'_, Animation>
fn as_raw_Animation(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn loop_count(&self) -> i32
fn loop_count(&self) -> i32
Number of times the animation should loop. 0 means infinite looping.
Source§impl ArgLayerTraitConst for BoxedRef<'_, ArgLayer>
impl ArgLayerTraitConst for BoxedRef<'_, ArgLayer>
fn as_raw_ArgLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl ArraysTraitConst for BoxedRef<'_, Arrays>
impl ArraysTraitConst for BoxedRef<'_, Arrays>
Source§impl ArucoDetectorTraitConst for BoxedRef<'_, ArucoDetector>
impl ArucoDetectorTraitConst for BoxedRef<'_, ArucoDetector>
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<()>
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<()>
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<()>
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<()>
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
fn get_dictionary(&self) -> Result<Dictionary>
fn get_detector_parameters(&self) -> Result<DetectorParameters>
fn get_refine_parameters(&self) -> Result<RefineParameters>
Source§impl AsinLayerTraitConst for BoxedRef<'_, AsinLayer>
impl AsinLayerTraitConst for BoxedRef<'_, AsinLayer>
fn as_raw_AsinLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl AsinhLayerTraitConst for BoxedRef<'_, AsinhLayer>
impl AsinhLayerTraitConst for BoxedRef<'_, AsinhLayer>
fn as_raw_AsinhLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl AsyncArrayTraitConst for BoxedRef<'_, AsyncArray>
impl AsyncArrayTraitConst for BoxedRef<'_, AsyncArray>
fn as_raw_AsyncArray(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_with_timeout(
&self,
dst: &mut impl ToOutputArray,
timeout_ns: i64,
) -> Result<bool>
fn get_with_timeout( &self, dst: &mut impl ToOutputArray, timeout_ns: i64, ) -> Result<bool>
Retrieving the result with timeout Read more
fn get_with_timeout_f64( &self, dst: &mut impl ToOutputArray, timeout_ns: f64, ) -> Result<bool>
fn wait_for(&self, timeout_ns: i64) -> Result<bool>
fn wait_for_f64(&self, timeout_ns: f64) -> Result<bool>
fn valid(&self) -> bool
Source§impl AsyncPromiseTraitConst for BoxedRef<'_, AsyncPromise>
impl AsyncPromiseTraitConst for BoxedRef<'_, AsyncPromise>
Source§impl AtanLayerTraitConst for BoxedRef<'_, AtanLayer>
impl AtanLayerTraitConst for BoxedRef<'_, AtanLayer>
fn as_raw_AtanLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl AtanhLayerTraitConst for BoxedRef<'_, AtanhLayer>
impl AtanhLayerTraitConst for BoxedRef<'_, AtanhLayer>
fn as_raw_AtanhLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl AttentionLayerTraitConst for BoxedRef<'_, AttentionLayer>
impl AttentionLayerTraitConst for BoxedRef<'_, AttentionLayer>
fn as_raw_AttentionLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl AutotunedIndexParamsTraitConst for BoxedRef<'_, AutotunedIndexParams>
impl AutotunedIndexParamsTraitConst for BoxedRef<'_, AutotunedIndexParams>
fn as_raw_AutotunedIndexParams( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl AverageHashTraitConst for BoxedRef<'_, AverageHash>
impl AverageHashTraitConst for BoxedRef<'_, AverageHash>
fn as_raw_AverageHash(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl BEBLIDTraitConst for BoxedRef<'_, BEBLID>
impl BEBLIDTraitConst for BoxedRef<'_, BEBLID>
fn as_raw_BEBLID(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_scale_factor(&self) -> Result<f32>
fn get_default_name(&self) -> Result<String>
Source§impl BFMatcherTraitConst for BoxedRef<'_, BFMatcher>
impl BFMatcherTraitConst for BoxedRef<'_, BFMatcher>
Source§impl BIFTraitConst for BoxedRef<'_, BIF>
impl BIFTraitConst for BoxedRef<'_, BIF>
fn as_raw_BIF(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn compute(
&self,
image: &impl ToInputArray,
features: &mut impl ToOutputArray,
) -> Result<()>
fn compute( &self, image: &impl ToInputArray, features: &mut impl ToOutputArray, ) -> Result<()>
Computes features sby input image. Read more
Source§impl BNLLLayerTraitConst for BoxedRef<'_, BNLLLayer>
impl BNLLLayerTraitConst for BoxedRef<'_, BNLLLayer>
fn as_raw_BNLLLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl BOWImgDescriptorExtractorTraitConst for BoxedRef<'_, BOWImgDescriptorExtractor>
impl BOWImgDescriptorExtractorTraitConst for BoxedRef<'_, BOWImgDescriptorExtractor>
fn as_raw_BOWImgDescriptorExtractor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_vocabulary(&self) -> Result<Mat>
fn get_vocabulary(&self) -> Result<Mat>
Returns the set vocabulary.
Source§fn descriptor_size(&self) -> Result<i32>
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>
fn descriptor_type(&self) -> Result<i32>
Returns an image descriptor type.
Source§impl BOWKMeansTrainerTraitConst for BoxedRef<'_, BOWKMeansTrainer>
impl BOWKMeansTrainerTraitConst for BoxedRef<'_, BOWKMeansTrainer>
fn as_raw_BOWKMeansTrainer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn cluster(&self) -> Result<Mat>
fn cluster_with_descriptor( &self, descriptors: &impl MatTraitConst, ) -> Result<Mat>
Source§impl BOWTrainerTraitConst for BoxedRef<'_, BOWKMeansTrainer>
impl BOWTrainerTraitConst for BoxedRef<'_, BOWKMeansTrainer>
fn as_raw_BOWTrainer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn descriptors_count(&self) -> Result<i32>
fn descriptors_count(&self) -> Result<i32>
Returns the count of all descriptors stored in the training set.
Source§fn cluster_with_descriptors(
&self,
descriptors: &impl MatTraitConst,
) -> Result<Mat>
fn cluster_with_descriptors( &self, descriptors: &impl MatTraitConst, ) -> Result<Mat>
Clusters train descriptors. Read more
Source§impl BOWTrainerTraitConst for BoxedRef<'_, BOWTrainer>
impl BOWTrainerTraitConst for BoxedRef<'_, BOWTrainer>
fn as_raw_BOWTrainer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn descriptors_count(&self) -> Result<i32>
fn descriptors_count(&self) -> Result<i32>
Returns the count of all descriptors stored in the training set.
Source§fn cluster_with_descriptors(
&self,
descriptors: &impl MatTraitConst,
) -> Result<Mat>
fn cluster_with_descriptors( &self, descriptors: &impl MatTraitConst, ) -> Result<Mat>
Clusters train descriptors. Read more
Source§impl BRISKTraitConst for BoxedRef<'_, BRISK>
impl BRISKTraitConst for BoxedRef<'_, BRISK>
fn as_raw_BRISK(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_default_name(&self) -> Result<String>
fn get_threshold(&self) -> Result<i32>
fn get_octaves(&self) -> Result<i32>
fn get_pattern_scale(&self) -> Result<f32>
Source§impl BackendNodeTraitConst for BoxedRef<'_, BackendNode>
impl BackendNodeTraitConst for BoxedRef<'_, BackendNode>
fn as_raw_BackendNode(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn backend_id(&self) -> i32
fn backend_id(&self) -> i32
Backend identifier.
Source§impl BackendWrapperTraitConst for BoxedRef<'_, BackendWrapper>
impl BackendWrapperTraitConst for BoxedRef<'_, BackendWrapper>
Source§impl BackgroundSubtractorCNTTraitConst for BoxedRef<'_, BackgroundSubtractorCNT>
impl BackgroundSubtractorCNTTraitConst for BoxedRef<'_, BackgroundSubtractorCNT>
fn as_raw_BackgroundSubtractorCNT( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_background_image( &self, background_image: &mut impl ToOutputArray, ) -> Result<()>
Source§fn get_min_pixel_stability(&self) -> Result<i32>
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>
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>
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>
fn get_is_parallel(&self) -> Result<bool>
Returns if we’re parallelizing the algorithm.
Source§impl BackgroundSubtractorGMGTraitConst for BoxedRef<'_, BackgroundSubtractorGMG>
impl BackgroundSubtractorGMGTraitConst for BoxedRef<'_, BackgroundSubtractorGMG>
fn as_raw_BackgroundSubtractorGMG( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_background_image( &self, background_image: &mut impl ToOutputArray, ) -> Result<()>
Source§fn get_max_features(&self) -> Result<i32>
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>
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>
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>
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>
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>
fn get_smoothing_radius(&self) -> Result<i32>
Returns the kernel radius used for morphological operations
Source§fn get_decision_threshold(&self) -> Result<f64>
fn get_decision_threshold(&self) -> Result<f64>
Returns the value of decision threshold. Read more
Source§fn get_update_background_model(&self) -> Result<bool>
fn get_update_background_model(&self) -> Result<bool>
Returns the status of background model update
Source§fn get_min_val(&self) -> Result<f64>
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>
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 BackgroundSubtractorGSOCTraitConst for BoxedRef<'_, BackgroundSubtractorGSOC>
impl BackgroundSubtractorGSOCTraitConst for BoxedRef<'_, BackgroundSubtractorGSOC>
fn as_raw_BackgroundSubtractorGSOC( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_background_image( &self, background_image: &mut impl ToOutputArray, ) -> Result<()>
Source§impl BackgroundSubtractorKNNTraitConst for BoxedRef<'_, BackgroundSubtractorKNN>
impl BackgroundSubtractorKNNTraitConst for BoxedRef<'_, BackgroundSubtractorKNN>
fn as_raw_BackgroundSubtractorKNN( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_history(&self) -> Result<i32>
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>
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>
fn get_dist2_threshold(&self) -> Result<f64>
Returns the threshold on the squared distance between the pixel and the sample Read more
Source§impl BackgroundSubtractorLSBPDescTraitConst for BoxedRef<'_, BackgroundSubtractorLSBPDesc>
impl BackgroundSubtractorLSBPDescTraitConst for BoxedRef<'_, BackgroundSubtractorLSBPDesc>
fn as_raw_BackgroundSubtractorLSBPDesc( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl BackgroundSubtractorLSBPTraitConst for BoxedRef<'_, BackgroundSubtractorLSBP>
impl BackgroundSubtractorLSBPTraitConst for BoxedRef<'_, BackgroundSubtractorLSBP>
fn as_raw_BackgroundSubtractorLSBP( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_background_image( &self, background_image: &mut impl ToOutputArray, ) -> Result<()>
Source§impl BackgroundSubtractorMOG2TraitConst for BoxedRef<'_, BackgroundSubtractorMOG2>
impl BackgroundSubtractorMOG2TraitConst for BoxedRef<'_, BackgroundSubtractorMOG2>
fn as_raw_BackgroundSubtractorMOG2( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_history(&self) -> Result<i32>
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>
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>
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>
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>
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>
fn get_var_init(&self) -> Result<f64>
Returns the initial variance of each gaussian component
fn get_var_min(&self) -> Result<f64>
fn get_var_max(&self) -> Result<f64>
Source§impl BackgroundSubtractorMOG2TraitConst for BoxedRef<'_, CUDA_BackgroundSubtractorMOG2>
impl BackgroundSubtractorMOG2TraitConst for BoxedRef<'_, CUDA_BackgroundSubtractorMOG2>
fn as_raw_BackgroundSubtractorMOG2( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_history(&self) -> Result<i32>
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>
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>
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>
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>
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>
fn get_var_init(&self) -> Result<f64>
Returns the initial variance of each gaussian component
fn get_var_min(&self) -> Result<f64>
fn get_var_max(&self) -> Result<f64>
Source§impl BackgroundSubtractorMOGTraitConst for BoxedRef<'_, BackgroundSubtractorMOG>
impl BackgroundSubtractorMOGTraitConst for BoxedRef<'_, BackgroundSubtractorMOG>
fn as_raw_BackgroundSubtractorMOG( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_history(&self) -> Result<i32>
fn get_n_mixtures(&self) -> Result<i32>
fn get_background_ratio(&self) -> Result<f64>
fn get_noise_sigma(&self) -> Result<f64>
Source§impl BackgroundSubtractorTraitConst for BoxedRef<'_, BackgroundSubtractor>
impl BackgroundSubtractorTraitConst for BoxedRef<'_, BackgroundSubtractor>
fn as_raw_BackgroundSubtractor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_background_image(
&self,
background_image: &mut impl ToOutputArray,
) -> Result<()>
fn get_background_image( &self, background_image: &mut impl ToOutputArray, ) -> Result<()>
Computes a background image. Read more
Source§impl BackgroundSubtractorTraitConst for BoxedRef<'_, BackgroundSubtractorCNT>
impl BackgroundSubtractorTraitConst for BoxedRef<'_, BackgroundSubtractorCNT>
fn as_raw_BackgroundSubtractor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_background_image(
&self,
background_image: &mut impl ToOutputArray,
) -> Result<()>
fn get_background_image( &self, background_image: &mut impl ToOutputArray, ) -> Result<()>
Computes a background image. Read more
Source§impl BackgroundSubtractorTraitConst for BoxedRef<'_, BackgroundSubtractorGMG>
impl BackgroundSubtractorTraitConst for BoxedRef<'_, BackgroundSubtractorGMG>
fn as_raw_BackgroundSubtractor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_background_image(
&self,
background_image: &mut impl ToOutputArray,
) -> Result<()>
fn get_background_image( &self, background_image: &mut impl ToOutputArray, ) -> Result<()>
Computes a background image. Read more
Source§impl BackgroundSubtractorTraitConst for BoxedRef<'_, BackgroundSubtractorGSOC>
impl BackgroundSubtractorTraitConst for BoxedRef<'_, BackgroundSubtractorGSOC>
fn as_raw_BackgroundSubtractor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_background_image(
&self,
background_image: &mut impl ToOutputArray,
) -> Result<()>
fn get_background_image( &self, background_image: &mut impl ToOutputArray, ) -> Result<()>
Computes a background image. Read more
Source§impl BackgroundSubtractorTraitConst for BoxedRef<'_, BackgroundSubtractorKNN>
impl BackgroundSubtractorTraitConst for BoxedRef<'_, BackgroundSubtractorKNN>
fn as_raw_BackgroundSubtractor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_background_image(
&self,
background_image: &mut impl ToOutputArray,
) -> Result<()>
fn get_background_image( &self, background_image: &mut impl ToOutputArray, ) -> Result<()>
Computes a background image. Read more
Source§impl BackgroundSubtractorTraitConst for BoxedRef<'_, BackgroundSubtractorLSBP>
impl BackgroundSubtractorTraitConst for BoxedRef<'_, BackgroundSubtractorLSBP>
fn as_raw_BackgroundSubtractor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_background_image(
&self,
background_image: &mut impl ToOutputArray,
) -> Result<()>
fn get_background_image( &self, background_image: &mut impl ToOutputArray, ) -> Result<()>
Computes a background image. Read more
Source§impl BackgroundSubtractorTraitConst for BoxedRef<'_, BackgroundSubtractorMOG>
impl BackgroundSubtractorTraitConst for BoxedRef<'_, BackgroundSubtractorMOG>
fn as_raw_BackgroundSubtractor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_background_image(
&self,
background_image: &mut impl ToOutputArray,
) -> Result<()>
fn get_background_image( &self, background_image: &mut impl ToOutputArray, ) -> Result<()>
Computes a background image. Read more
Source§impl BackgroundSubtractorTraitConst for BoxedRef<'_, BackgroundSubtractorMOG2>
impl BackgroundSubtractorTraitConst for BoxedRef<'_, BackgroundSubtractorMOG2>
fn as_raw_BackgroundSubtractor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_background_image(
&self,
background_image: &mut impl ToOutputArray,
) -> Result<()>
fn get_background_image( &self, background_image: &mut impl ToOutputArray, ) -> Result<()>
Computes a background image. Read more
Source§impl BackgroundSubtractorTraitConst for BoxedRef<'_, CUDA_BackgroundSubtractorMOG>
impl BackgroundSubtractorTraitConst for BoxedRef<'_, CUDA_BackgroundSubtractorMOG>
fn as_raw_BackgroundSubtractor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_background_image(
&self,
background_image: &mut impl ToOutputArray,
) -> Result<()>
fn get_background_image( &self, background_image: &mut impl ToOutputArray, ) -> Result<()>
Computes a background image. Read more
Source§impl BackgroundSubtractorTraitConst for BoxedRef<'_, CUDA_BackgroundSubtractorMOG2>
impl BackgroundSubtractorTraitConst for BoxedRef<'_, CUDA_BackgroundSubtractorMOG2>
fn as_raw_BackgroundSubtractor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_background_image(
&self,
background_image: &mut impl ToOutputArray,
) -> Result<()>
fn get_background_image( &self, background_image: &mut impl ToOutputArray, ) -> Result<()>
Computes a background image. Read more
Source§impl BarcodeDetectorTraitConst for BoxedRef<'_, BarcodeDetector>
impl BarcodeDetectorTraitConst for BoxedRef<'_, BarcodeDetector>
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>
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>
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>
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>
fn get_downsampling_threshold(&self) -> Result<f64>
Get detector downsampling threshold. Read more
Source§impl BaseCascadeClassifier_MaskGeneratorTraitConst for BoxedRef<'_, BaseCascadeClassifier_MaskGenerator>
impl BaseCascadeClassifier_MaskGeneratorTraitConst for BoxedRef<'_, BaseCascadeClassifier_MaskGenerator>
fn as_raw_BaseCascadeClassifier_MaskGenerator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl BaseConvolutionLayerTraitConst for BoxedRef<'_, BaseConvolutionLayer>
impl BaseConvolutionLayerTraitConst for BoxedRef<'_, BaseConvolutionLayer>
fn as_raw_BaseConvolutionLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn kernel(&self) -> Size
fn stride(&self) -> Size
fn pad(&self) -> Size
fn dilation(&self) -> Size
fn adjust_pad(&self) -> Size
fn adjust_pads(&self) -> Vector<size_t>
fn kernel_size(&self) -> Vector<size_t>
fn strides(&self) -> Vector<size_t>
fn dilations(&self) -> Vector<size_t>
fn pads_begin(&self) -> Vector<size_t>
fn pads_end(&self) -> Vector<size_t>
fn pad_mode(&self) -> String
fn num_output(&self) -> i32
Source§impl BaseConvolutionLayerTraitConst for BoxedRef<'_, ConvolutionLayer>
impl BaseConvolutionLayerTraitConst for BoxedRef<'_, ConvolutionLayer>
fn as_raw_BaseConvolutionLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn kernel(&self) -> Size
fn stride(&self) -> Size
fn pad(&self) -> Size
fn dilation(&self) -> Size
fn adjust_pad(&self) -> Size
fn adjust_pads(&self) -> Vector<size_t>
fn kernel_size(&self) -> Vector<size_t>
fn strides(&self) -> Vector<size_t>
fn dilations(&self) -> Vector<size_t>
fn pads_begin(&self) -> Vector<size_t>
fn pads_end(&self) -> Vector<size_t>
fn pad_mode(&self) -> String
fn num_output(&self) -> i32
Source§impl BaseConvolutionLayerTraitConst for BoxedRef<'_, ConvolutionLayerInt8>
impl BaseConvolutionLayerTraitConst for BoxedRef<'_, ConvolutionLayerInt8>
fn as_raw_BaseConvolutionLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn kernel(&self) -> Size
fn stride(&self) -> Size
fn pad(&self) -> Size
fn dilation(&self) -> Size
fn adjust_pad(&self) -> Size
fn adjust_pads(&self) -> Vector<size_t>
fn kernel_size(&self) -> Vector<size_t>
fn strides(&self) -> Vector<size_t>
fn dilations(&self) -> Vector<size_t>
fn pads_begin(&self) -> Vector<size_t>
fn pads_end(&self) -> Vector<size_t>
fn pad_mode(&self) -> String
fn num_output(&self) -> i32
Source§impl BaseConvolutionLayerTraitConst for BoxedRef<'_, DeconvolutionLayer>
impl BaseConvolutionLayerTraitConst for BoxedRef<'_, DeconvolutionLayer>
fn as_raw_BaseConvolutionLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn kernel(&self) -> Size
fn stride(&self) -> Size
fn pad(&self) -> Size
fn dilation(&self) -> Size
fn adjust_pad(&self) -> Size
fn adjust_pads(&self) -> Vector<size_t>
fn kernel_size(&self) -> Vector<size_t>
fn strides(&self) -> Vector<size_t>
fn dilations(&self) -> Vector<size_t>
fn pads_begin(&self) -> Vector<size_t>
fn pads_end(&self) -> Vector<size_t>
fn pad_mode(&self) -> String
fn num_output(&self) -> i32
Source§impl BaseOCRTraitConst for BoxedRef<'_, BaseOCR>
impl BaseOCRTraitConst for BoxedRef<'_, BaseOCR>
fn as_raw_BaseOCR(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl BaseOCRTraitConst for BoxedRef<'_, OCRBeamSearchDecoder>
impl BaseOCRTraitConst for BoxedRef<'_, OCRBeamSearchDecoder>
fn as_raw_BaseOCR(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl BaseOCRTraitConst for BoxedRef<'_, OCRHMMDecoder>
impl BaseOCRTraitConst for BoxedRef<'_, OCRHMMDecoder>
fn as_raw_BaseOCR(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl BaseOCRTraitConst for BoxedRef<'_, OCRHolisticWordRecognizer>
impl BaseOCRTraitConst for BoxedRef<'_, OCRHolisticWordRecognizer>
fn as_raw_BaseOCR(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl BaseOCRTraitConst for BoxedRef<'_, OCRTesseract>
impl BaseOCRTraitConst for BoxedRef<'_, OCRTesseract>
fn as_raw_BaseOCR(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl BaseSFMTraitConst for BoxedRef<'_, BaseSFM>
impl BaseSFMTraitConst for BoxedRef<'_, BaseSFM>
Source§impl BaseSFMTraitConst for BoxedRef<'_, SFMLibmvEuclideanReconstruction>
impl BaseSFMTraitConst for BoxedRef<'_, SFMLibmvEuclideanReconstruction>
Source§impl BasicFaceRecognizerTraitConst for BoxedRef<'_, BasicFaceRecognizer>
impl BasicFaceRecognizerTraitConst for BoxedRef<'_, BasicFaceRecognizer>
fn as_raw_BasicFaceRecognizer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_projections(&self) -> Result<Vector<Mat>>
fn get_labels(&self) -> Result<Mat>
fn get_eigen_values(&self) -> Result<Mat>
fn get_eigen_vectors(&self) -> Result<Mat>
fn get_mean(&self) -> Result<Mat>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn empty(&self) -> Result<bool>
Source§impl BasicFaceRecognizerTraitConst for BoxedRef<'_, EigenFaceRecognizer>
impl BasicFaceRecognizerTraitConst for BoxedRef<'_, EigenFaceRecognizer>
fn as_raw_BasicFaceRecognizer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_projections(&self) -> Result<Vector<Mat>>
fn get_labels(&self) -> Result<Mat>
fn get_eigen_values(&self) -> Result<Mat>
fn get_eigen_vectors(&self) -> Result<Mat>
fn get_mean(&self) -> Result<Mat>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn empty(&self) -> Result<bool>
Source§impl BasicFaceRecognizerTraitConst for BoxedRef<'_, FisherFaceRecognizer>
impl BasicFaceRecognizerTraitConst for BoxedRef<'_, FisherFaceRecognizer>
fn as_raw_BasicFaceRecognizer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_projections(&self) -> Result<Vector<Mat>>
fn get_labels(&self) -> Result<Mat>
fn get_eigen_values(&self) -> Result<Mat>
fn get_eigen_vectors(&self) -> Result<Mat>
fn get_mean(&self) -> Result<Mat>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn empty(&self) -> Result<bool>
Source§impl BatchNormLayerInt8TraitConst for BoxedRef<'_, BatchNormLayerInt8>
impl BatchNormLayerInt8TraitConst for BoxedRef<'_, BatchNormLayerInt8>
Source§impl BatchNormLayerTraitConst for BoxedRef<'_, BatchNormLayer>
impl BatchNormLayerTraitConst for BoxedRef<'_, BatchNormLayer>
Source§impl BatchNormLayerTraitConst for BoxedRef<'_, BatchNormLayerInt8>
impl BatchNormLayerTraitConst for BoxedRef<'_, BatchNormLayerInt8>
Source§impl BinaryDescriptorMatcherTraitConst for BoxedRef<'_, BinaryDescriptorMatcher>
impl BinaryDescriptorMatcherTraitConst for BoxedRef<'_, BinaryDescriptorMatcher>
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<()>
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<()>
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<()>
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<()>
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<()>
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<()>
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 BinaryDescriptorTraitConst for BoxedRef<'_, BinaryDescriptor>
impl BinaryDescriptorTraitConst for BoxedRef<'_, BinaryDescriptor>
fn as_raw_BinaryDescriptor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
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<()>
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<()>
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<()>
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<()>
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<()>
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<()>
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>
fn descriptor_size(&self) -> Result<i32>
Return descriptor size
Source§fn descriptor_type(&self) -> Result<i32>
fn descriptor_type(&self) -> Result<i32>
Return data type
Source§fn default_norm(&self) -> Result<i32>
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<()>
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<()>
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_ParamsTraitConst for BoxedRef<'_, BinaryDescriptor_Params>
impl BinaryDescriptor_ParamsTraitConst for BoxedRef<'_, BinaryDescriptor_Params>
fn as_raw_BinaryDescriptor_Params( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn num_of_octave_(&self) -> i32
fn num_of_octave_(&self) -> i32
the number of image octaves (default = 1)
Source§fn width_of_band_(&self) -> i32
fn width_of_band_(&self) -> i32
the width of band; (default: 7)
Source§fn reduction_ratio(&self) -> i32
fn reduction_ratio(&self) -> i32
image’s reduction ratio in construction of Gaussian pyramids
fn ksize_(&self) -> i32
Source§impl BlankLayerTraitConst for BoxedRef<'_, BlankLayer>
impl BlankLayerTraitConst for BoxedRef<'_, BlankLayer>
fn as_raw_BlankLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl BlockMeanHashTraitConst for BoxedRef<'_, BlockMeanHash>
impl BlockMeanHashTraitConst for BoxedRef<'_, BlockMeanHash>
Source§impl BoardTraitConst for BoxedRef<'_, Board>
impl BoardTraitConst for BoxedRef<'_, Board>
fn as_raw_Board(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_dictionary(&self) -> Result<Dictionary>
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>>>
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>>
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>
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<()>
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<()>
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<()>
fn generate_image_def( &self, out_size: Size, img: &mut impl ToOutputArray, ) -> Result<()>
Draw a planar board Read more
Source§impl BoardTraitConst for BoxedRef<'_, CharucoBoard>
impl BoardTraitConst for BoxedRef<'_, CharucoBoard>
fn as_raw_Board(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_dictionary(&self) -> Result<Dictionary>
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>>>
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>>
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>
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<()>
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<()>
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<()>
fn generate_image_def( &self, out_size: Size, img: &mut impl ToOutputArray, ) -> Result<()>
Draw a planar board Read more
Source§impl BoardTraitConst for BoxedRef<'_, GridBoard>
impl BoardTraitConst for BoxedRef<'_, GridBoard>
fn as_raw_Board(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_dictionary(&self) -> Result<Dictionary>
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>>>
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>>
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>
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<()>
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<()>
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<()>
fn generate_image_def( &self, out_size: Size, img: &mut impl ToOutputArray, ) -> Result<()>
Draw a planar board Read more
Source§impl BoostDescTraitConst for BoxedRef<'_, BoostDesc>
impl BoostDescTraitConst for BoxedRef<'_, BoostDesc>
fn as_raw_BoostDesc(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_default_name(&self) -> Result<String>
fn get_use_scale_orientation(&self) -> Result<bool>
fn get_scale_factor(&self) -> Result<f32>
Source§impl BoostTraitConst for BoxedRef<'_, Boost>
impl BoostTraitConst for BoxedRef<'_, Boost>
fn as_raw_Boost(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_boost_type(&self) -> Result<i32>
fn get_boost_type(&self) -> Result<i32>
Type of the boosting algorithm.
See Boost::Types. Default value is Boost::REAL. Read more
Source§impl BriefDescriptorExtractorTraitConst for BoxedRef<'_, BriefDescriptorExtractor>
impl BriefDescriptorExtractorTraitConst for BoxedRef<'_, BriefDescriptorExtractor>
fn as_raw_BriefDescriptorExtractor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_descriptor_size(&self) -> Result<i32>
fn get_use_orientation(&self) -> Result<bool>
fn get_default_name(&self) -> Result<String>
Source§impl BufferPoolTraitConst for BoxedRef<'_, BufferPool>
impl BufferPoolTraitConst for BoxedRef<'_, BufferPool>
fn as_raw_BufferPool(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_allocator(&self) -> Result<Ptr<GpuMat_Allocator>>
fn get_allocator(&self) -> Result<Ptr<GpuMat_Allocator>>
Returns the allocator associated with the stream.
Source§impl BufferTraitConst for BoxedRef<'_, Buffer>
impl BufferTraitConst for BoxedRef<'_, Buffer>
fn as_raw_Buffer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn copy_to(&self, arr: &mut impl ToOutputArray) -> Result<()>
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<()>
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>
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>
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<()>
fn bind(&self, target: Buffer_Target) -> Result<()>
Binds OpenGL buffer to the specified buffer binding point. Read more
fn rows(&self) -> Result<i32>
fn cols(&self) -> Result<i32>
fn size(&self) -> Result<Size>
fn empty(&self) -> Result<bool>
fn typ(&self) -> Result<i32>
fn depth(&self) -> Result<i32>
fn channels(&self) -> Result<i32>
fn elem_size(&self) -> Result<i32>
fn elem_size1(&self) -> Result<i32>
Source§impl CLAHETraitConst for BoxedRef<'_, CLAHE>
impl CLAHETraitConst for BoxedRef<'_, CLAHE>
fn as_raw_CLAHE(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_clip_limit(&self) -> Result<f64>
fn get_clip_limit(&self) -> Result<f64>
Returns threshold value for contrast limiting.
Source§fn get_tiles_grid_size(&self) -> Result<Size>
fn get_tiles_grid_size(&self) -> Result<Size>
Returns Size defines the number of tiles in row and column.
Source§impl CLAHETraitConst for BoxedRef<'_, CUDA_CLAHE>
impl CLAHETraitConst for BoxedRef<'_, CUDA_CLAHE>
fn as_raw_CLAHE(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_clip_limit(&self) -> Result<f64>
fn get_clip_limit(&self) -> Result<f64>
Returns threshold value for contrast limiting.
Source§fn get_tiles_grid_size(&self) -> Result<Size>
fn get_tiles_grid_size(&self) -> Result<Size>
Returns Size defines the number of tiles in row and column.
Source§impl CParamsTraitConst for BoxedRef<'_, CParams>
impl CParamsTraitConst for BoxedRef<'_, CParams>
fn as_raw_CParams(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn scale_factor(&self) -> f64
fn scale_factor(&self) -> f64
Parameter specifying how much the image size is reduced at each image scale.
Source§fn min_neighbors(&self) -> i32
fn min_neighbors(&self) -> i32
Parameter specifying how many neighbors each candidate rectangle should have to retain it.
fn face_cascade(&self) -> CascadeClassifier
Source§impl CUDA_BackgroundSubtractorMOG2TraitConst for BoxedRef<'_, CUDA_BackgroundSubtractorMOG2>
impl CUDA_BackgroundSubtractorMOG2TraitConst for BoxedRef<'_, CUDA_BackgroundSubtractorMOG2>
fn as_raw_CUDA_BackgroundSubtractorMOG2( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_background_image( &self, background_image: &mut impl ToOutputArray, stream: &mut impl StreamTrait, ) -> Result<()>
Source§impl CUDA_BackgroundSubtractorMOGTraitConst for BoxedRef<'_, CUDA_BackgroundSubtractorMOG>
impl CUDA_BackgroundSubtractorMOGTraitConst for BoxedRef<'_, CUDA_BackgroundSubtractorMOG>
fn as_raw_CUDA_BackgroundSubtractorMOG( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_background_image( &self, background_image: &mut impl ToOutputArray, stream: &mut impl StreamTrait, ) -> Result<()>
fn get_history(&self) -> Result<i32>
fn get_n_mixtures(&self) -> Result<i32>
fn get_background_ratio(&self) -> Result<f64>
fn get_noise_sigma(&self) -> Result<f64>
Source§impl CUDA_BroxOpticalFlowTraitConst for BoxedRef<'_, CUDA_BroxOpticalFlow>
impl CUDA_BroxOpticalFlowTraitConst for BoxedRef<'_, CUDA_BroxOpticalFlow>
fn as_raw_CUDA_BroxOpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_flow_smoothness(&self) -> Result<f64>
fn get_gradient_constancy_importance(&self) -> Result<f64>
fn get_pyramid_scale_factor(&self) -> Result<f64>
Source§fn get_inner_iterations(&self) -> Result<i32>
fn get_inner_iterations(&self) -> Result<i32>
number of lagged non-linearity iterations (inner loop)
Source§fn get_outer_iterations(&self) -> Result<i32>
fn get_outer_iterations(&self) -> Result<i32>
number of warping iterations (number of pyramid levels)
Source§fn get_solver_iterations(&self) -> Result<i32>
fn get_solver_iterations(&self) -> Result<i32>
number of linear system solver iterations
Source§impl CUDA_CLAHETraitConst for BoxedRef<'_, CUDA_CLAHE>
impl CUDA_CLAHETraitConst for BoxedRef<'_, CUDA_CLAHE>
fn as_raw_CUDA_CLAHE(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl CUDA_CannyEdgeDetectorTraitConst for BoxedRef<'_, CUDA_CannyEdgeDetector>
impl CUDA_CannyEdgeDetectorTraitConst for BoxedRef<'_, CUDA_CannyEdgeDetector>
fn as_raw_CUDA_CannyEdgeDetector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_low_threshold(&self) -> Result<f64>
fn get_high_threshold(&self) -> Result<f64>
fn get_apperture_size(&self) -> Result<i32>
fn get_l2_gradient(&self) -> Result<bool>
Source§impl CUDA_CascadeClassifierTraitConst for BoxedRef<'_, CUDA_CascadeClassifier>
impl CUDA_CascadeClassifierTraitConst for BoxedRef<'_, CUDA_CascadeClassifier>
fn as_raw_CUDA_CascadeClassifier( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_max_object_size(&self) -> Result<Size>
fn get_min_object_size(&self) -> Result<Size>
fn get_scale_factor(&self) -> Result<f64>
fn get_min_neighbors(&self) -> Result<i32>
fn get_max_num_objects(&self) -> Result<i32>
fn get_classifier_size(&self) -> Result<Size>
Source§impl CUDA_CornernessCriteriaTraitConst for BoxedRef<'_, CUDA_CornernessCriteria>
impl CUDA_CornernessCriteriaTraitConst for BoxedRef<'_, CUDA_CornernessCriteria>
fn as_raw_CUDA_CornernessCriteria( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl CUDA_CornersDetectorTraitConst for BoxedRef<'_, CUDA_CornersDetector>
impl CUDA_CornersDetectorTraitConst for BoxedRef<'_, CUDA_CornersDetector>
fn as_raw_CUDA_CornersDetector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl CUDA_DenseOpticalFlowTraitConst for BoxedRef<'_, CUDA_BroxOpticalFlow>
impl CUDA_DenseOpticalFlowTraitConst for BoxedRef<'_, CUDA_BroxOpticalFlow>
fn as_raw_CUDA_DenseOpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl CUDA_DenseOpticalFlowTraitConst for BoxedRef<'_, CUDA_DenseOpticalFlow>
impl CUDA_DenseOpticalFlowTraitConst for BoxedRef<'_, CUDA_DenseOpticalFlow>
fn as_raw_CUDA_DenseOpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl CUDA_DenseOpticalFlowTraitConst for BoxedRef<'_, CUDA_DensePyrLKOpticalFlow>
impl CUDA_DenseOpticalFlowTraitConst for BoxedRef<'_, CUDA_DensePyrLKOpticalFlow>
fn as_raw_CUDA_DenseOpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl CUDA_DenseOpticalFlowTraitConst for BoxedRef<'_, CUDA_FarnebackOpticalFlow>
impl CUDA_DenseOpticalFlowTraitConst for BoxedRef<'_, CUDA_FarnebackOpticalFlow>
fn as_raw_CUDA_DenseOpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl CUDA_DenseOpticalFlowTraitConst for BoxedRef<'_, CUDA_OpticalFlowDual_TVL1>
impl CUDA_DenseOpticalFlowTraitConst for BoxedRef<'_, CUDA_OpticalFlowDual_TVL1>
fn as_raw_CUDA_DenseOpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl CUDA_DensePyrLKOpticalFlowTraitConst for BoxedRef<'_, CUDA_DensePyrLKOpticalFlow>
impl CUDA_DensePyrLKOpticalFlowTraitConst for BoxedRef<'_, CUDA_DensePyrLKOpticalFlow>
fn as_raw_CUDA_DensePyrLKOpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_win_size(&self) -> Result<Size>
fn get_max_level(&self) -> Result<i32>
fn get_num_iters(&self) -> Result<i32>
fn get_use_initial_flow(&self) -> Result<bool>
Source§impl CUDA_DescriptorMatcherTraitConst for BoxedRef<'_, CUDA_DescriptorMatcher>
impl CUDA_DescriptorMatcherTraitConst for BoxedRef<'_, CUDA_DescriptorMatcher>
fn as_raw_CUDA_DescriptorMatcher( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn is_mask_supported(&self) -> Result<bool>
fn is_mask_supported(&self) -> Result<bool>
Returns true if the descriptor matcher supports masking permissible matches.
Source§impl CUDA_DisparityBilateralFilterTraitConst for BoxedRef<'_, CUDA_DisparityBilateralFilter>
impl CUDA_DisparityBilateralFilterTraitConst for BoxedRef<'_, CUDA_DisparityBilateralFilter>
fn as_raw_CUDA_DisparityBilateralFilter( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_num_disparities(&self) -> Result<i32>
fn get_radius(&self) -> Result<i32>
fn get_num_iters(&self) -> Result<i32>
Source§fn get_edge_threshold(&self) -> Result<f64>
fn get_edge_threshold(&self) -> Result<f64>
truncation of data continuity
Source§fn get_max_disc_threshold(&self) -> Result<f64>
fn get_max_disc_threshold(&self) -> Result<f64>
truncation of disparity continuity
Source§fn get_sigma_range(&self) -> Result<f64>
fn get_sigma_range(&self) -> Result<f64>
filter range sigma
Source§impl CUDA_EncoderCallbackTraitConst for BoxedRef<'_, CUDA_EncoderCallback>
impl CUDA_EncoderCallbackTraitConst for BoxedRef<'_, CUDA_EncoderCallback>
fn as_raw_CUDA_EncoderCallback( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl CUDA_FarnebackOpticalFlowTraitConst for BoxedRef<'_, CUDA_FarnebackOpticalFlow>
impl CUDA_FarnebackOpticalFlowTraitConst for BoxedRef<'_, CUDA_FarnebackOpticalFlow>
fn as_raw_CUDA_FarnebackOpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_num_levels(&self) -> Result<i32>
fn get_pyr_scale(&self) -> Result<f64>
fn get_fast_pyramids(&self) -> Result<bool>
fn get_win_size(&self) -> Result<i32>
fn get_num_iters(&self) -> Result<i32>
fn get_poly_n(&self) -> Result<i32>
fn get_poly_sigma(&self) -> Result<f64>
fn get_flags(&self) -> Result<i32>
Source§impl CUDA_FastFeatureDetectorTraitConst for BoxedRef<'_, CUDA_FastFeatureDetector>
impl CUDA_FastFeatureDetectorTraitConst for BoxedRef<'_, CUDA_FastFeatureDetector>
fn as_raw_CUDA_FastFeatureDetector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_max_num_points(&self) -> Result<i32>
Source§impl CUDA_Feature2DAsyncTraitConst for BoxedRef<'_, CUDA_FastFeatureDetector>
impl CUDA_Feature2DAsyncTraitConst for BoxedRef<'_, CUDA_FastFeatureDetector>
fn as_raw_CUDA_Feature2DAsync( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl CUDA_Feature2DAsyncTraitConst for BoxedRef<'_, CUDA_Feature2DAsync>
impl CUDA_Feature2DAsyncTraitConst for BoxedRef<'_, CUDA_Feature2DAsync>
fn as_raw_CUDA_Feature2DAsync( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl CUDA_Feature2DAsyncTraitConst for BoxedRef<'_, CUDA_ORB>
impl CUDA_Feature2DAsyncTraitConst for BoxedRef<'_, CUDA_ORB>
fn as_raw_CUDA_Feature2DAsync( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl CUDA_HOGTraitConst for BoxedRef<'_, CUDA_HOG>
impl CUDA_HOGTraitConst for BoxedRef<'_, CUDA_HOG>
fn as_raw_CUDA_HOG(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_win_sigma(&self) -> Result<f64>
fn get_l2_hys_threshold(&self) -> Result<f64>
fn get_gamma_correction(&self) -> Result<bool>
fn get_num_levels(&self) -> Result<i32>
fn get_hit_threshold(&self) -> Result<f64>
fn get_win_stride(&self) -> Result<Size>
fn get_scale_factor(&self) -> Result<f64>
fn get_group_threshold(&self) -> Result<i32>
fn get_descriptor_format(&self) -> Result<HOGDescriptor_DescriptorStorageFormat>
Source§fn get_descriptor_size(&self) -> Result<size_t>
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>
fn get_block_histogram_size(&self) -> Result<size_t>
Returns the block histogram size.
Source§fn get_default_people_detector(&self) -> Result<Mat>
fn get_default_people_detector(&self) -> Result<Mat>
Returns coefficients of the classifier trained for people detection.
Source§impl CUDA_HoughCirclesDetectorTraitConst for BoxedRef<'_, CUDA_HoughCirclesDetector>
impl CUDA_HoughCirclesDetectorTraitConst for BoxedRef<'_, CUDA_HoughCirclesDetector>
fn as_raw_CUDA_HoughCirclesDetector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_dp(&self) -> Result<f32>
fn get_min_dist(&self) -> Result<f32>
fn get_canny_threshold(&self) -> Result<i32>
fn get_votes_threshold(&self) -> Result<i32>
fn get_min_radius(&self) -> Result<i32>
fn get_max_radius(&self) -> Result<i32>
fn get_max_circles(&self) -> Result<i32>
Source§impl CUDA_HoughLinesDetectorTraitConst for BoxedRef<'_, CUDA_HoughLinesDetector>
impl CUDA_HoughLinesDetectorTraitConst for BoxedRef<'_, CUDA_HoughLinesDetector>
fn as_raw_CUDA_HoughLinesDetector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_rho(&self) -> Result<f32>
fn get_theta(&self) -> Result<f32>
fn get_threshold(&self) -> Result<i32>
fn get_do_sort(&self) -> Result<bool>
fn get_max_lines(&self) -> Result<i32>
Source§impl CUDA_HoughSegmentDetectorTraitConst for BoxedRef<'_, CUDA_HoughSegmentDetector>
impl CUDA_HoughSegmentDetectorTraitConst for BoxedRef<'_, CUDA_HoughSegmentDetector>
fn as_raw_CUDA_HoughSegmentDetector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_rho(&self) -> Result<f32>
fn get_theta(&self) -> Result<f32>
fn get_min_line_length(&self) -> Result<i32>
fn get_max_line_gap(&self) -> Result<i32>
fn get_max_lines(&self) -> Result<i32>
fn get_threshold(&self) -> Result<i32>
Source§impl CUDA_NVSurfaceToColorConverterTraitConst for BoxedRef<'_, CUDA_NVSurfaceToColorConverter>
impl CUDA_NVSurfaceToColorConverterTraitConst for BoxedRef<'_, CUDA_NVSurfaceToColorConverter>
fn as_raw_CUDA_NVSurfaceToColorConverter( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl CUDA_NvidiaHWOpticalFlowTraitConst for BoxedRef<'_, CUDA_NvidiaHWOpticalFlow>
impl CUDA_NvidiaHWOpticalFlowTraitConst for BoxedRef<'_, CUDA_NvidiaHWOpticalFlow>
fn as_raw_CUDA_NvidiaHWOpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_grid_size(&self) -> Result<i32>
fn get_grid_size(&self) -> Result<i32>
Returns grid size of output buffer as per the hardware’s capability.
Source§impl CUDA_NvidiaHWOpticalFlowTraitConst for BoxedRef<'_, CUDA_NvidiaOpticalFlow_1_0>
impl CUDA_NvidiaHWOpticalFlowTraitConst for BoxedRef<'_, CUDA_NvidiaOpticalFlow_1_0>
fn as_raw_CUDA_NvidiaHWOpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_grid_size(&self) -> Result<i32>
fn get_grid_size(&self) -> Result<i32>
Returns grid size of output buffer as per the hardware’s capability.
Source§impl CUDA_NvidiaHWOpticalFlowTraitConst for BoxedRef<'_, CUDA_NvidiaOpticalFlow_2_0>
impl CUDA_NvidiaHWOpticalFlowTraitConst for BoxedRef<'_, CUDA_NvidiaOpticalFlow_2_0>
fn as_raw_CUDA_NvidiaHWOpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_grid_size(&self) -> Result<i32>
fn get_grid_size(&self) -> Result<i32>
Returns grid size of output buffer as per the hardware’s capability.
Source§impl CUDA_NvidiaOpticalFlow_1_0TraitConst for BoxedRef<'_, CUDA_NvidiaOpticalFlow_1_0>
impl CUDA_NvidiaOpticalFlow_1_0TraitConst for BoxedRef<'_, CUDA_NvidiaOpticalFlow_1_0>
fn as_raw_CUDA_NvidiaOpticalFlow_1_0( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl CUDA_NvidiaOpticalFlow_2_0TraitConst for BoxedRef<'_, CUDA_NvidiaOpticalFlow_2_0>
impl CUDA_NvidiaOpticalFlow_2_0TraitConst for BoxedRef<'_, CUDA_NvidiaOpticalFlow_2_0>
fn as_raw_CUDA_NvidiaOpticalFlow_2_0( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl CUDA_ORBTraitConst for BoxedRef<'_, CUDA_ORB>
impl CUDA_ORBTraitConst for BoxedRef<'_, CUDA_ORB>
fn as_raw_CUDA_ORB(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_max_features(&self) -> Result<i32>
fn get_scale_factor(&self) -> Result<f64>
fn get_n_levels(&self) -> Result<i32>
fn get_edge_threshold(&self) -> Result<i32>
fn get_first_level(&self) -> Result<i32>
fn get_wta_k(&self) -> Result<i32>
fn get_score_type(&self) -> Result<i32>
fn get_patch_size(&self) -> Result<i32>
fn get_fast_threshold(&self) -> Result<i32>
fn get_blur_for_descriptor(&self) -> Result<bool>
Source§impl CUDA_OpticalFlowDual_TVL1TraitConst for BoxedRef<'_, CUDA_OpticalFlowDual_TVL1>
impl CUDA_OpticalFlowDual_TVL1TraitConst for BoxedRef<'_, CUDA_OpticalFlowDual_TVL1>
fn as_raw_CUDA_OpticalFlowDual_TVL1( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_lambda(&self) -> Result<f64>
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>
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>
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>
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>
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>
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>
fn get_num_iterations(&self) -> Result<i32>
Stopping criterion iterations number used in the numerical scheme.
fn get_scale_step(&self) -> Result<f64>
fn get_use_initial_flow(&self) -> Result<bool>
Source§impl CUDA_RawVideoSourceTraitConst for BoxedRef<'_, CUDA_RawVideoSource>
impl CUDA_RawVideoSourceTraitConst for BoxedRef<'_, CUDA_RawVideoSource>
fn as_raw_CUDA_RawVideoSource( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn last_packet_contains_key_frame(&self) -> Result<bool>
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>
fn format(&self) -> Result<CUDA_FormatInfo>
Returns information about video file format.
Source§fn get_extra_data(&self, extra_data: &mut impl MatTrait) -> Result<()>
fn get_extra_data(&self, extra_data: &mut impl MatTrait) -> Result<()>
Returns any extra data associated with the video source. Read more
Source§impl CUDA_SparseOpticalFlowTraitConst for BoxedRef<'_, CUDA_SparseOpticalFlow>
impl CUDA_SparseOpticalFlowTraitConst for BoxedRef<'_, CUDA_SparseOpticalFlow>
fn as_raw_CUDA_SparseOpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl CUDA_SparseOpticalFlowTraitConst for BoxedRef<'_, CUDA_SparsePyrLKOpticalFlow>
impl CUDA_SparseOpticalFlowTraitConst for BoxedRef<'_, CUDA_SparsePyrLKOpticalFlow>
fn as_raw_CUDA_SparseOpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl CUDA_SparsePyrLKOpticalFlowTraitConst for BoxedRef<'_, CUDA_SparsePyrLKOpticalFlow>
impl CUDA_SparsePyrLKOpticalFlowTraitConst for BoxedRef<'_, CUDA_SparsePyrLKOpticalFlow>
fn as_raw_CUDA_SparsePyrLKOpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_win_size(&self) -> Result<Size>
fn get_max_level(&self) -> Result<i32>
fn get_num_iters(&self) -> Result<i32>
fn get_use_initial_flow(&self) -> Result<bool>
Source§impl CUDA_StereoBMTraitConst for BoxedRef<'_, CUDA_StereoBM>
impl CUDA_StereoBMTraitConst for BoxedRef<'_, CUDA_StereoBM>
fn as_raw_CUDA_StereoBM( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl CUDA_StereoBeliefPropagationTraitConst for BoxedRef<'_, CUDA_StereoBeliefPropagation>
impl CUDA_StereoBeliefPropagationTraitConst for BoxedRef<'_, CUDA_StereoBeliefPropagation>
fn as_raw_CUDA_StereoBeliefPropagation( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_num_iters(&self) -> Result<i32>
fn get_num_iters(&self) -> Result<i32>
number of BP iterations on each level
Source§fn get_num_levels(&self) -> Result<i32>
fn get_num_levels(&self) -> Result<i32>
number of levels
Source§fn get_max_data_term(&self) -> Result<f64>
fn get_max_data_term(&self) -> Result<f64>
truncation of data cost
Source§fn get_data_weight(&self) -> Result<f64>
fn get_data_weight(&self) -> Result<f64>
data weight
Source§fn get_max_disc_term(&self) -> Result<f64>
fn get_max_disc_term(&self) -> Result<f64>
truncation of discontinuity cost
Source§fn get_disc_single_jump(&self) -> Result<f64>
fn get_disc_single_jump(&self) -> Result<f64>
discontinuity single jump
Source§fn get_msg_type(&self) -> Result<i32>
fn get_msg_type(&self) -> Result<i32>
type for messages (CV_16SC1 or CV_32FC1)
Source§impl CUDA_StereoBeliefPropagationTraitConst for BoxedRef<'_, CUDA_StereoConstantSpaceBP>
impl CUDA_StereoBeliefPropagationTraitConst for BoxedRef<'_, CUDA_StereoConstantSpaceBP>
fn as_raw_CUDA_StereoBeliefPropagation( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_num_iters(&self) -> Result<i32>
fn get_num_iters(&self) -> Result<i32>
number of BP iterations on each level
Source§fn get_num_levels(&self) -> Result<i32>
fn get_num_levels(&self) -> Result<i32>
number of levels
Source§fn get_max_data_term(&self) -> Result<f64>
fn get_max_data_term(&self) -> Result<f64>
truncation of data cost
Source§fn get_data_weight(&self) -> Result<f64>
fn get_data_weight(&self) -> Result<f64>
data weight
Source§fn get_max_disc_term(&self) -> Result<f64>
fn get_max_disc_term(&self) -> Result<f64>
truncation of discontinuity cost
Source§fn get_disc_single_jump(&self) -> Result<f64>
fn get_disc_single_jump(&self) -> Result<f64>
discontinuity single jump
Source§fn get_msg_type(&self) -> Result<i32>
fn get_msg_type(&self) -> Result<i32>
type for messages (CV_16SC1 or CV_32FC1)
Source§impl CUDA_StereoConstantSpaceBPTraitConst for BoxedRef<'_, CUDA_StereoConstantSpaceBP>
impl CUDA_StereoConstantSpaceBPTraitConst for BoxedRef<'_, CUDA_StereoConstantSpaceBP>
fn as_raw_CUDA_StereoConstantSpaceBP( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_nr_plane(&self) -> Result<i32>
fn get_nr_plane(&self) -> Result<i32>
number of active disparity on the first level
fn get_use_local_init_data_cost(&self) -> Result<bool>
Source§impl CUDA_StereoSGMTraitConst for BoxedRef<'_, CUDA_StereoSGM>
impl CUDA_StereoSGMTraitConst for BoxedRef<'_, CUDA_StereoSGM>
fn as_raw_CUDA_StereoSGM( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl CUDA_TemplateMatchingTraitConst for BoxedRef<'_, CUDA_TemplateMatching>
impl CUDA_TemplateMatchingTraitConst for BoxedRef<'_, CUDA_TemplateMatching>
fn as_raw_CUDA_TemplateMatching( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl CUDA_VideoReaderTraitConst for BoxedRef<'_, CUDA_VideoReader>
impl CUDA_VideoReaderTraitConst for BoxedRef<'_, CUDA_VideoReader>
fn as_raw_CUDA_VideoReader( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn format(&self) -> Result<CUDA_FormatInfo>
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>
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>
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>
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>
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>
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>
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>
fn get_video_reader_props_def( &self, property_id: CUDA_VideoReaderProps, property_val_out: &mut f64, ) -> Result<bool>
Note Read more
Source§impl CUDA_VideoWriterTraitConst for BoxedRef<'_, CUDA_VideoWriter>
impl CUDA_VideoWriterTraitConst for BoxedRef<'_, CUDA_VideoWriter>
fn as_raw_CUDA_VideoWriter( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_encoder_params(&self) -> Result<CUDA_EncoderParams>
fn get_encoder_params(&self) -> Result<CUDA_EncoderParams>
Retrieve the encoding parameters.
Source§impl CalibrateCRFTraitConst for BoxedRef<'_, CalibrateCRF>
impl CalibrateCRFTraitConst for BoxedRef<'_, CalibrateCRF>
fn as_raw_CalibrateCRF(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl CalibrateCRFTraitConst for BoxedRef<'_, CalibrateDebevec>
impl CalibrateCRFTraitConst for BoxedRef<'_, CalibrateDebevec>
fn as_raw_CalibrateCRF(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl CalibrateCRFTraitConst for BoxedRef<'_, CalibrateRobertson>
impl CalibrateCRFTraitConst for BoxedRef<'_, CalibrateRobertson>
fn as_raw_CalibrateCRF(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl CalibrateDebevecTraitConst for BoxedRef<'_, CalibrateDebevec>
impl CalibrateDebevecTraitConst for BoxedRef<'_, CalibrateDebevec>
fn as_raw_CalibrateDebevec( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_lambda(&self) -> Result<f32>
fn get_samples(&self) -> Result<i32>
fn get_random(&self) -> Result<bool>
Source§impl CalibrateRobertsonTraitConst for BoxedRef<'_, CalibrateRobertson>
impl CalibrateRobertsonTraitConst for BoxedRef<'_, CalibrateRobertson>
fn as_raw_CalibrateRobertson( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_max_iter(&self) -> Result<i32>
fn get_threshold(&self) -> Result<f32>
fn get_radiance(&self) -> Result<Mat>
Source§impl CallMetaDataTraitConst for BoxedRef<'_, CallMetaData>
impl CallMetaDataTraitConst for BoxedRef<'_, CallMetaData>
Source§impl CameraTraitConst for BoxedRef<'_, Camera>
impl CameraTraitConst for BoxedRef<'_, Camera>
fn as_raw_Camera(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_clip(&self) -> Result<Vec2d>
fn get_window_size(&self) -> Result<Size>
fn get_fov(&self) -> Result<Vec2d>
fn get_principal_point(&self) -> Result<Vec2d>
fn get_focal_length(&self) -> Result<Vec2d>
Source§impl CascadeClassifierTraitConst for BoxedRef<'_, CascadeClassifier>
impl CascadeClassifierTraitConst for BoxedRef<'_, CascadeClassifier>
fn as_raw_CascadeClassifier( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn is_old_format_cascade(&self) -> Result<bool>
fn get_original_window_size(&self) -> Result<Size>
fn get_feature_type(&self) -> Result<i32>
Source§impl CeilLayerTraitConst for BoxedRef<'_, CeilLayer>
impl CeilLayerTraitConst for BoxedRef<'_, CeilLayer>
fn as_raw_CeilLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl CeluLayerTraitConst for BoxedRef<'_, CeluLayer>
impl CeluLayerTraitConst for BoxedRef<'_, CeluLayer>
Source§impl ChannelsPReLULayerTraitConst for BoxedRef<'_, ChannelsPReLULayer>
impl ChannelsPReLULayerTraitConst for BoxedRef<'_, ChannelsPReLULayer>
fn as_raw_ChannelsPReLULayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl CharucoBoardTraitConst for BoxedRef<'_, CharucoBoard>
impl CharucoBoardTraitConst for BoxedRef<'_, CharucoBoard>
fn as_raw_CharucoBoard(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_legacy_pattern(&self) -> Result<bool>
fn get_chessboard_size(&self) -> Result<Size>
fn get_square_length(&self) -> Result<f32>
fn get_marker_length(&self) -> Result<f32>
Source§fn get_chessboard_corners(&self) -> Result<Vector<Point3f>>
fn get_chessboard_corners(&self) -> Result<Vector<Point3f>>
get CharucoBoard::chessboardCorners
Source§fn get_nearest_marker_idx(&self) -> Result<Vector<Vector<i32>>>
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>>>
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>
fn check_charuco_corners_collinear( &self, charuco_ids: &impl ToInputArray, ) -> Result<bool>
check whether the ChArUco markers are collinear Read more
Source§impl CharucoDetectorTraitConst for BoxedRef<'_, CharucoDetector>
impl CharucoDetectorTraitConst for BoxedRef<'_, CharucoDetector>
fn as_raw_CharucoDetector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_board(&self) -> Result<CharucoBoard>
fn get_charuco_parameters(&self) -> Result<CharucoParameters>
fn get_detector_parameters(&self) -> Result<DetectorParameters>
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<()>
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<()>
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<()>
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<()>
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 CharucoParametersTraitConst for BoxedRef<'_, CharucoParameters>
impl CharucoParametersTraitConst for BoxedRef<'_, CharucoParameters>
fn as_raw_CharucoParameters( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn camera_matrix(&self) -> Mat
fn camera_matrix(&self) -> Mat
cameraMatrix optional 3x3 floating-point camera matrix
Source§fn dist_coeffs(&self) -> Mat
fn dist_coeffs(&self) -> Mat
distCoeffs optional vector of distortion coefficients
Source§fn min_markers(&self) -> i32
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
fn try_refine_markers(&self) -> bool
try to use refine board, default false
Source§impl ChiHistogramCostExtractorTraitConst for BoxedRef<'_, ChiHistogramCostExtractor>
impl ChiHistogramCostExtractorTraitConst for BoxedRef<'_, ChiHistogramCostExtractor>
fn as_raw_ChiHistogramCostExtractor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl ClassificationModelTraitConst for BoxedRef<'_, ClassificationModel>
impl ClassificationModelTraitConst for BoxedRef<'_, ClassificationModel>
fn as_raw_ClassificationModel( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl ColorAverageInpainterTraitConst for BoxedRef<'_, ColorAverageInpainter>
impl ColorAverageInpainterTraitConst for BoxedRef<'_, ColorAverageInpainter>
fn as_raw_ColorAverageInpainter( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl ColorCorrectionModelTraitConst for BoxedRef<'_, ColorCorrectionModel>
impl ColorCorrectionModelTraitConst for BoxedRef<'_, ColorCorrectionModel>
fn as_raw_ColorCorrectionModel( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_ccm(&self) -> Result<Mat>
fn get_loss(&self) -> Result<f64>
fn get_src_rgbl(&self) -> Result<Mat>
fn get_dst_rgbl(&self) -> Result<Mat>
fn get_mask(&self) -> Result<Mat>
fn get_weights(&self) -> Result<Mat>
Source§impl ColorInpainterTraitConst for BoxedRef<'_, ColorInpainter>
impl ColorInpainterTraitConst for BoxedRef<'_, ColorInpainter>
fn as_raw_ColorInpainter( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl ColorMomentHashTraitConst for BoxedRef<'_, ColorMomentHash>
impl ColorMomentHashTraitConst for BoxedRef<'_, ColorMomentHash>
fn as_raw_ColorMomentHash( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl ColorTraitConst for BoxedRef<'_, Color>
impl ColorTraitConst for BoxedRef<'_, Color>
Source§impl ColoredKinfu_ColoredKinFuTraitConst for BoxedRef<'_, ColoredKinfu_ColoredKinFu>
impl ColoredKinfu_ColoredKinFuTraitConst for BoxedRef<'_, ColoredKinfu_ColoredKinFu>
fn as_raw_ColoredKinfu_ColoredKinFu( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_params(&self) -> Result<ColoredKinfu_Params>
fn get_params(&self) -> Result<ColoredKinfu_Params>
Get current parameters
Source§fn render(&self, image: &mut impl ToOutputArray) -> Result<()>
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<()>
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<()>
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<()>
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<()>
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<()>
fn get_normals( &self, points: &impl ToInputArray, normals: &mut impl ToOutputArray, ) -> Result<()>
Calculates normals for given points Read more
Source§impl ColoredKinfu_ParamsTraitConst for BoxedRef<'_, ColoredKinfu_Params>
impl ColoredKinfu_ParamsTraitConst for BoxedRef<'_, ColoredKinfu_Params>
fn as_raw_ColoredKinfu_Params( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn frame_size(&self) -> Size
fn frame_size(&self) -> Size
frame size in pixels
Source§fn rgb_frame_size(&self) -> Size
fn rgb_frame_size(&self) -> Size
rgb frame size in pixels
fn volume_type(&self) -> Kinfu_VolumeType
Source§fn depth_factor(&self) -> f32
fn depth_factor(&self) -> f32
pre-scale per 1 meter for input values Read more
Source§fn bilateral_sigma_depth(&self) -> f32
fn bilateral_sigma_depth(&self) -> f32
Depth sigma in meters for bilateral smooth
Source§fn bilateral_sigma_spatial(&self) -> f32
fn bilateral_sigma_spatial(&self) -> f32
Spatial sigma in pixels for bilateral smooth
Source§fn bilateral_kernel_size(&self) -> i32
fn bilateral_kernel_size(&self) -> i32
Kernel size in pixels for bilateral smooth
Source§fn pyramid_levels(&self) -> i32
fn pyramid_levels(&self) -> i32
Number of pyramid levels for ICP
Source§fn volume_dims(&self) -> Vec3i
fn volume_dims(&self) -> Vec3i
Resolution of voxel space Read more
Source§fn voxel_size(&self) -> f32
fn voxel_size(&self) -> f32
Size of voxel in meters
Source§fn tsdf_min_camera_movement(&self) -> f32
fn tsdf_min_camera_movement(&self) -> f32
Minimal camera movement in meters Read more
Source§fn volume_pose(&self) -> Affine3f
fn volume_pose(&self) -> Affine3f
initial volume pose in meters
Source§fn tsdf_trunc_dist(&self) -> f32
fn tsdf_trunc_dist(&self) -> f32
distance to truncate in meters Read more
Source§fn tsdf_max_weight(&self) -> i32
fn tsdf_max_weight(&self) -> i32
max number of frames per voxel Read more
Source§fn raycast_step_factor(&self) -> f32
fn raycast_step_factor(&self) -> f32
A length of one raycast step Read more
Source§fn light_pose(&self) -> Vec3f
fn light_pose(&self) -> Vec3f
light pose for rendering in meters
Source§fn icp_dist_thresh(&self) -> f32
fn icp_dist_thresh(&self) -> f32
distance theshold for ICP in meters
Source§fn icp_angle_thresh(&self) -> f32
fn icp_angle_thresh(&self) -> f32
angle threshold for ICP in radians
Source§fn icp_iterations(&self) -> Vector<i32>
fn icp_iterations(&self) -> Vector<i32>
number of ICP iterations for each pyramid level
Source§fn truncate_threshold(&self) -> f32
fn truncate_threshold(&self) -> f32
Threshold for depth truncation in meters Read more
Source§impl CommandLineParserTraitConst for BoxedRef<'_, CommandLineParser>
impl CommandLineParserTraitConst for BoxedRef<'_, CommandLineParser>
fn as_raw_CommandLineParser( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_bool(&self, name: &str, space_delete: bool) -> Result<bool>
fn get_bool(&self, name: &str, space_delete: bool) -> Result<bool>
Access arguments by name Read more
Source§fn get_i32(&self, name: &str, space_delete: bool) -> Result<i32>
fn get_i32(&self, name: &str, space_delete: bool) -> Result<i32>
Access arguments by name Read more
Source§fn get_f64(&self, name: &str, space_delete: bool) -> Result<f64>
fn get_f64(&self, name: &str, space_delete: bool) -> Result<f64>
Access arguments by name Read more
Source§fn get_str(&self, name: &str, space_delete: bool) -> Result<String>
fn get_str(&self, name: &str, space_delete: bool) -> Result<String>
Access arguments by name Read more
Source§fn get_u64(&self, name: &str, space_delete: bool) -> Result<u64>
fn get_u64(&self, name: &str, space_delete: bool) -> Result<u64>
Access arguments by name Read more
Source§fn get_bool_idx(&self, index: i32, space_delete: bool) -> Result<bool>
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>
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>
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>
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>
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>
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>
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>
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>
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>
fn get_u64_idx_def(&self, index: i32) -> Result<u64>
Access positional arguments by index Read more
Source§impl CompareLayerTraitConst for BoxedRef<'_, CompareLayer>
impl CompareLayerTraitConst for BoxedRef<'_, CompareLayer>
fn as_raw_CompareLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl CompositeIndexParamsTraitConst for BoxedRef<'_, CompositeIndexParams>
impl CompositeIndexParamsTraitConst for BoxedRef<'_, CompositeIndexParams>
fn as_raw_CompositeIndexParams( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl CompressedRectilinearPortraitWarperTraitConst for BoxedRef<'_, CompressedRectilinearPortraitWarper>
impl CompressedRectilinearPortraitWarperTraitConst for BoxedRef<'_, CompressedRectilinearPortraitWarper>
fn as_raw_CompressedRectilinearPortraitWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn create(&self, scale: f32) -> Result<Ptr<Detail_RotationWarper>>
Source§impl CompressedRectilinearWarperTraitConst for BoxedRef<'_, CompressedRectilinearWarper>
impl CompressedRectilinearWarperTraitConst for BoxedRef<'_, CompressedRectilinearWarper>
fn as_raw_CompressedRectilinearWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn create(&self, scale: f32) -> Result<Ptr<Detail_RotationWarper>>
Source§impl ConcatLayerTraitConst for BoxedRef<'_, ConcatLayer>
impl ConcatLayerTraitConst for BoxedRef<'_, ConcatLayer>
Source§impl ConjGradSolverTraitConst for BoxedRef<'_, ConjGradSolver>
impl ConjGradSolverTraitConst for BoxedRef<'_, ConjGradSolver>
fn as_raw_ConjGradSolver( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl ConsistentMosaicInpainterTraitConst for BoxedRef<'_, ConsistentMosaicInpainter>
impl ConsistentMosaicInpainterTraitConst for BoxedRef<'_, ConsistentMosaicInpainter>
fn as_raw_ConsistentMosaicInpainter( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn stdev_thresh(&self) -> Result<f32>
Source§impl ConstLayerTraitConst for BoxedRef<'_, ConstLayer>
impl ConstLayerTraitConst for BoxedRef<'_, ConstLayer>
fn as_raw_ConstLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl ContextTraitConst for BoxedRef<'_, Context>
impl ContextTraitConst for BoxedRef<'_, Context>
fn as_raw_Context(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn ndevices(&self) -> Result<size_t>
fn device(&self, idx: size_t) -> Result<Device>
Source§fn get_opencl_context_property(&self, property_id: i32) -> Result<*mut c_void>
fn get_opencl_context_property(&self, property_id: i32) -> Result<*mut c_void>
Get OpenCL context property specified on context creation Read more
fn use_svm(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Source§impl Context_UserContextTraitConst for BoxedRef<'_, Context_UserContext>
impl Context_UserContextTraitConst for BoxedRef<'_, Context_UserContext>
fn as_raw_Context_UserContext( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl ContourFittingTraitConst for BoxedRef<'_, ContourFitting>
impl ContourFittingTraitConst for BoxedRef<'_, ContourFitting>
fn as_raw_ContourFitting( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl ConvolutionLayerInt8TraitConst for BoxedRef<'_, ConvolutionLayerInt8>
impl ConvolutionLayerInt8TraitConst for BoxedRef<'_, ConvolutionLayerInt8>
fn as_raw_ConvolutionLayerInt8( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn input_zp(&self) -> i32
fn output_zp(&self) -> i32
fn input_sc(&self) -> f32
fn output_sc(&self) -> f32
fn per_channel(&self) -> bool
fn use_winograd(&self) -> bool
Source§impl ConvolutionLayerTraitConst for BoxedRef<'_, ConvolutionLayer>
impl ConvolutionLayerTraitConst for BoxedRef<'_, ConvolutionLayer>
fn as_raw_ConvolutionLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn fused_activation(&self) -> bool
fn fused_add(&self) -> bool
fn use_winograd(&self) -> bool
Source§impl ConvolutionTraitConst for BoxedRef<'_, Convolution>
impl ConvolutionTraitConst for BoxedRef<'_, Convolution>
fn as_raw_Convolution(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl CorrelationLayerTraitConst for BoxedRef<'_, CorrelationLayer>
impl CorrelationLayerTraitConst for BoxedRef<'_, CorrelationLayer>
fn as_raw_CorrelationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl CosLayerTraitConst for BoxedRef<'_, CosLayer>
impl CosLayerTraitConst for BoxedRef<'_, CosLayer>
fn as_raw_CosLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl CoshLayerTraitConst for BoxedRef<'_, CoshLayer>
impl CoshLayerTraitConst for BoxedRef<'_, CoshLayer>
fn as_raw_CoshLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl CropAndResizeLayerTraitConst for BoxedRef<'_, CropAndResizeLayer>
impl CropAndResizeLayerTraitConst for BoxedRef<'_, CropAndResizeLayer>
fn as_raw_CropAndResizeLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl CropLayerTraitConst for BoxedRef<'_, CropLayer>
impl CropLayerTraitConst for BoxedRef<'_, CropLayer>
fn as_raw_CropLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl CumSumLayerTraitConst for BoxedRef<'_, CumSumLayer>
impl CumSumLayerTraitConst for BoxedRef<'_, CumSumLayer>
Source§impl CustomPatternTraitConst for BoxedRef<'_, CustomPattern>
impl CustomPatternTraitConst for BoxedRef<'_, CustomPattern>
fn as_raw_CustomPattern( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl CylindricalWarperGpuTraitConst for BoxedRef<'_, CylindricalWarperGpu>
impl CylindricalWarperGpuTraitConst for BoxedRef<'_, CylindricalWarperGpu>
fn as_raw_CylindricalWarperGpu( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn create(&self, scale: f32) -> Result<Ptr<Detail_RotationWarper>>
Source§impl CylindricalWarperTraitConst for BoxedRef<'_, CylindricalWarper>
impl CylindricalWarperTraitConst for BoxedRef<'_, CylindricalWarper>
fn as_raw_CylindricalWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn create(&self, scale: f32) -> Result<Ptr<Detail_RotationWarper>>
Source§impl DAISYTraitConst for BoxedRef<'_, DAISY>
impl DAISYTraitConst for BoxedRef<'_, DAISY>
fn as_raw_DAISY(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_radius(&self) -> Result<f32>
fn get_q_radius(&self) -> Result<i32>
fn get_q_theta(&self) -> Result<i32>
fn get_q_hist(&self) -> Result<i32>
fn get_norm(&self) -> Result<i32>
fn get_h(&self) -> Result<Mat>
fn get_interpolation(&self) -> Result<bool>
fn get_use_orientation(&self) -> Result<bool>
fn get_default_name(&self) -> Result<String>
Source§fn get_descriptor(
&self,
y: f64,
x: f64,
orientation: i32,
descriptor: &mut f32,
) -> Result<()>
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>
fn get_descriptor_1( &self, y: f64, x: f64, orientation: i32, descriptor: &mut f32, h: &mut f64, ) -> Result<bool>
Parameters Read more
Source§impl DFTTraitConst for BoxedRef<'_, DFT>
impl DFTTraitConst for BoxedRef<'_, DFT>
fn as_raw_DFT(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl DISOpticalFlowTraitConst for BoxedRef<'_, DISOpticalFlow>
impl DISOpticalFlowTraitConst for BoxedRef<'_, DISOpticalFlow>
fn as_raw_DISOpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_finest_scale(&self) -> Result<i32>
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>
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>
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>
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>
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>
fn get_variational_refinement_alpha(&self) -> Result<f32>
Weight of the smoothness term Read more
Source§fn get_variational_refinement_delta(&self) -> Result<f32>
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>
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>
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>
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>
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 DPMDetectorTraitConst for BoxedRef<'_, DPMDetector>
impl DPMDetectorTraitConst for BoxedRef<'_, DPMDetector>
fn as_raw_DPMDetector(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn is_empty(&self) -> Result<bool>
Source§fn get_class_names(&self) -> Result<Vector<String>>
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>
fn get_class_count(&self) -> Result<size_t>
Return a count of loaded models (classes).
Source§impl DTFilterTraitConst for BoxedRef<'_, DTFilter>
impl DTFilterTraitConst for BoxedRef<'_, DTFilter>
fn as_raw_DTFilter(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl DTreesTraitConst for BoxedRef<'_, Boost>
impl DTreesTraitConst for BoxedRef<'_, Boost>
fn as_raw_DTrees(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_max_categories(&self) -> Result<i32>
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>
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>
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>
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>
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>
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>
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>
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>
fn get_priors(&self) -> Result<Mat>
The array of a priori class probabilities, sorted by the class label value. Read more
Source§fn get_splits(&self) -> Result<Vector<DTrees_Split>>
fn get_splits(&self) -> Result<Vector<DTrees_Split>>
Returns all the splits Read more
Source§impl DTreesTraitConst for BoxedRef<'_, DTrees>
impl DTreesTraitConst for BoxedRef<'_, DTrees>
fn as_raw_DTrees(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_max_categories(&self) -> Result<i32>
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>
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>
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>
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>
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>
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>
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>
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>
fn get_priors(&self) -> Result<Mat>
The array of a priori class probabilities, sorted by the class label value. Read more
Source§fn get_splits(&self) -> Result<Vector<DTrees_Split>>
fn get_splits(&self) -> Result<Vector<DTrees_Split>>
Returns all the splits Read more
Source§impl DTreesTraitConst for BoxedRef<'_, RTrees>
impl DTreesTraitConst for BoxedRef<'_, RTrees>
fn as_raw_DTrees(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_max_categories(&self) -> Result<i32>
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>
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>
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>
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>
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>
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>
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>
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>
fn get_priors(&self) -> Result<Mat>
The array of a priori class probabilities, sorted by the class label value. Read more
Source§fn get_splits(&self) -> Result<Vector<DTrees_Split>>
fn get_splits(&self) -> Result<Vector<DTrees_Split>>
Returns all the splits Read more
Source§impl DTrees_NodeTraitConst for BoxedRef<'_, DTrees_Node>
impl DTrees_NodeTraitConst for BoxedRef<'_, DTrees_Node>
fn as_raw_DTrees_Node(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn value(&self) -> f64
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
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 default_dir(&self) -> i32
fn default_dir(&self) -> i32
Default direction where to go (-1: left or +1: right). It helps in the
case of missing values.
Source§impl DTrees_SplitTraitConst for BoxedRef<'_, DTrees_Split>
impl DTrees_SplitTraitConst for BoxedRef<'_, DTrees_Split>
fn as_raw_DTrees_Split(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn inversed(&self) -> bool
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
fn quality(&self) -> f32
The split quality, a positive number. It is used to choose the best split.
Source§fn c(&self) -> f32
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
fn subset_ofs(&self) -> i32
< Offset of the bitset used by the split on a categorical variable.
The rule is: Read more
Source§impl DataAugmentationLayerTraitConst for BoxedRef<'_, DataAugmentationLayer>
impl DataAugmentationLayerTraitConst for BoxedRef<'_, DataAugmentationLayer>
fn as_raw_DataAugmentationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl DataTraitConst for BoxedRef<'_, Data>
impl DataTraitConst for BoxedRef<'_, Data>
fn as_raw_Data(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl DeblurerBaseTraitConst for BoxedRef<'_, DeblurerBase>
impl DeblurerBaseTraitConst for BoxedRef<'_, DeblurerBase>
Source§impl DeblurerBaseTraitConst for BoxedRef<'_, NullDeblurer>
impl DeblurerBaseTraitConst for BoxedRef<'_, NullDeblurer>
Source§impl DeblurerBaseTraitConst for BoxedRef<'_, WeightingDeblurer>
impl DeblurerBaseTraitConst for BoxedRef<'_, WeightingDeblurer>
Source§impl DeconvolutionLayerTraitConst for BoxedRef<'_, DeconvolutionLayer>
impl DeconvolutionLayerTraitConst for BoxedRef<'_, DeconvolutionLayer>
fn as_raw_DeconvolutionLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl DenseOpticalFlowTraitConst for BoxedRef<'_, DISOpticalFlow>
impl DenseOpticalFlowTraitConst for BoxedRef<'_, DISOpticalFlow>
fn as_raw_DenseOpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl DenseOpticalFlowTraitConst for BoxedRef<'_, DenseOpticalFlow>
impl DenseOpticalFlowTraitConst for BoxedRef<'_, DenseOpticalFlow>
fn as_raw_DenseOpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl DenseOpticalFlowTraitConst for BoxedRef<'_, DenseRLOFOpticalFlow>
impl DenseOpticalFlowTraitConst for BoxedRef<'_, DenseRLOFOpticalFlow>
fn as_raw_DenseOpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl DenseOpticalFlowTraitConst for BoxedRef<'_, DualTVL1OpticalFlow>
impl DenseOpticalFlowTraitConst for BoxedRef<'_, DualTVL1OpticalFlow>
fn as_raw_DenseOpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl DenseOpticalFlowTraitConst for BoxedRef<'_, FarnebackOpticalFlow>
impl DenseOpticalFlowTraitConst for BoxedRef<'_, FarnebackOpticalFlow>
fn as_raw_DenseOpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl DenseOpticalFlowTraitConst for BoxedRef<'_, OpticalFlowPCAFlow>
impl DenseOpticalFlowTraitConst for BoxedRef<'_, OpticalFlowPCAFlow>
fn as_raw_DenseOpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl DenseOpticalFlowTraitConst for BoxedRef<'_, VariationalRefinement>
impl DenseOpticalFlowTraitConst for BoxedRef<'_, VariationalRefinement>
fn as_raw_DenseOpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl DensePyrLkOptFlowEstimatorGpuTraitConst for BoxedRef<'_, DensePyrLkOptFlowEstimatorGpu>
impl DensePyrLkOptFlowEstimatorGpuTraitConst for BoxedRef<'_, DensePyrLkOptFlowEstimatorGpu>
fn as_raw_DensePyrLkOptFlowEstimatorGpu( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl DenseRLOFOpticalFlowTraitConst for BoxedRef<'_, DenseRLOFOpticalFlow>
impl DenseRLOFOpticalFlowTraitConst for BoxedRef<'_, DenseRLOFOpticalFlow>
fn as_raw_DenseRLOFOpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_rlof_optical_flow_parameter(
&self,
) -> Result<Ptr<RLOFOpticalFlowParameter>>
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>
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>
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>
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>
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>
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>
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>
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>
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>
fn get_use_post_proc(&self) -> Result<bool>
enables ximgproc::fastGlobalSmootherFilter Read more
Source§fn get_use_variational_refinement(&self) -> Result<bool>
fn get_use_variational_refinement(&self) -> Result<bool>
enables VariationalRefinement Read more
Source§impl DepthCleanerTraitConst for BoxedRef<'_, DepthCleaner>
impl DepthCleanerTraitConst for BoxedRef<'_, DepthCleaner>
fn as_raw_DepthCleaner(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn apply(
&self,
points: &impl ToInputArray,
depth: &mut impl ToOutputArray,
) -> Result<()>
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<()>
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
fn get_window_size(&self) -> Result<i32>
fn get_depth(&self) -> Result<i32>
fn get_method(&self) -> Result<i32>
Source§impl DepthToSpaceLayerTraitConst for BoxedRef<'_, DepthToSpaceLayer>
impl DepthToSpaceLayerTraitConst for BoxedRef<'_, DepthToSpaceLayer>
fn as_raw_DepthToSpaceLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl DequantizeLayerTraitConst for BoxedRef<'_, DequantizeLayer>
impl DequantizeLayerTraitConst for BoxedRef<'_, DequantizeLayer>
Source§impl DescriptorMatcherTraitConst for BoxedRef<'_, BFMatcher>
impl DescriptorMatcherTraitConst for BoxedRef<'_, BFMatcher>
fn as_raw_DescriptorMatcher( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_train_descriptors(&self) -> Result<Vector<Mat>>
fn get_train_descriptors(&self) -> Result<Vector<Mat>>
Returns a constant link to the train descriptor collection trainDescCollection .
Source§fn empty(&self) -> Result<bool>
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>
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<()>
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<()>
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<()>
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<()>
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<()>
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<()>
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
fn write(&self, file_name: &str) -> Result<()>
fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>
Source§fn clone(&self, empty_train_data: bool) -> Result<Ptr<DescriptorMatcher>>
fn clone(&self, empty_train_data: bool) -> Result<Ptr<DescriptorMatcher>>
Clones the matcher. Read more
fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>
fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>
Source§impl DescriptorMatcherTraitConst for BoxedRef<'_, DescriptorMatcher>
impl DescriptorMatcherTraitConst for BoxedRef<'_, DescriptorMatcher>
fn as_raw_DescriptorMatcher( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_train_descriptors(&self) -> Result<Vector<Mat>>
fn get_train_descriptors(&self) -> Result<Vector<Mat>>
Returns a constant link to the train descriptor collection trainDescCollection .
Source§fn empty(&self) -> Result<bool>
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>
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<()>
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<()>
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<()>
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<()>
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<()>
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<()>
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
fn write(&self, file_name: &str) -> Result<()>
fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>
Source§fn clone(&self, empty_train_data: bool) -> Result<Ptr<DescriptorMatcher>>
fn clone(&self, empty_train_data: bool) -> Result<Ptr<DescriptorMatcher>>
Clones the matcher. Read more
fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>
fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>
Source§impl DescriptorMatcherTraitConst for BoxedRef<'_, FlannBasedMatcher>
impl DescriptorMatcherTraitConst for BoxedRef<'_, FlannBasedMatcher>
fn as_raw_DescriptorMatcher( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_train_descriptors(&self) -> Result<Vector<Mat>>
fn get_train_descriptors(&self) -> Result<Vector<Mat>>
Returns a constant link to the train descriptor collection trainDescCollection .
Source§fn empty(&self) -> Result<bool>
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>
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<()>
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<()>
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<()>
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<()>
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<()>
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<()>
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
fn write(&self, file_name: &str) -> Result<()>
fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>
Source§fn clone(&self, empty_train_data: bool) -> Result<Ptr<DescriptorMatcher>>
fn clone(&self, empty_train_data: bool) -> Result<Ptr<DescriptorMatcher>>
Clones the matcher. Read more
fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>
fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>
Source§impl Detail_AffineBasedEstimatorTraitConst for BoxedRef<'_, Detail_AffineBasedEstimator>
impl Detail_AffineBasedEstimatorTraitConst for BoxedRef<'_, Detail_AffineBasedEstimator>
fn as_raw_Detail_AffineBasedEstimator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_AffineBestOf2NearestMatcherTraitConst for BoxedRef<'_, Detail_AffineBestOf2NearestMatcher>
impl Detail_AffineBestOf2NearestMatcherTraitConst for BoxedRef<'_, Detail_AffineBestOf2NearestMatcher>
fn as_raw_Detail_AffineBestOf2NearestMatcher( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_AffineWarperTraitConst for BoxedRef<'_, Detail_AffineWarper>
impl Detail_AffineWarperTraitConst for BoxedRef<'_, Detail_AffineWarper>
fn as_raw_Detail_AffineWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_BestOf2NearestMatcherTraitConst for BoxedRef<'_, Detail_AffineBestOf2NearestMatcher>
impl Detail_BestOf2NearestMatcherTraitConst for BoxedRef<'_, Detail_AffineBestOf2NearestMatcher>
fn as_raw_Detail_BestOf2NearestMatcher( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_BestOf2NearestMatcherTraitConst for BoxedRef<'_, Detail_BestOf2NearestMatcher>
impl Detail_BestOf2NearestMatcherTraitConst for BoxedRef<'_, Detail_BestOf2NearestMatcher>
fn as_raw_Detail_BestOf2NearestMatcher( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_BestOf2NearestMatcherTraitConst for BoxedRef<'_, Detail_BestOf2NearestRangeMatcher>
impl Detail_BestOf2NearestMatcherTraitConst for BoxedRef<'_, Detail_BestOf2NearestRangeMatcher>
fn as_raw_Detail_BestOf2NearestMatcher( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_BestOf2NearestRangeMatcherTraitConst for BoxedRef<'_, Detail_BestOf2NearestRangeMatcher>
impl Detail_BestOf2NearestRangeMatcherTraitConst for BoxedRef<'_, Detail_BestOf2NearestRangeMatcher>
fn as_raw_Detail_BestOf2NearestRangeMatcher( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_BlenderTraitConst for BoxedRef<'_, Detail_Blender>
impl Detail_BlenderTraitConst for BoxedRef<'_, Detail_Blender>
fn as_raw_Detail_Blender( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_BlenderTraitConst for BoxedRef<'_, Detail_FeatherBlender>
impl Detail_BlenderTraitConst for BoxedRef<'_, Detail_FeatherBlender>
fn as_raw_Detail_Blender( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_BlenderTraitConst for BoxedRef<'_, Detail_MultiBandBlender>
impl Detail_BlenderTraitConst for BoxedRef<'_, Detail_MultiBandBlender>
fn as_raw_Detail_Blender( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_BlocksChannelsCompensatorTraitConst for BoxedRef<'_, Detail_BlocksChannelsCompensator>
impl Detail_BlocksChannelsCompensatorTraitConst for BoxedRef<'_, Detail_BlocksChannelsCompensator>
fn as_raw_Detail_BlocksChannelsCompensator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_BlocksCompensatorTraitConst for BoxedRef<'_, Detail_BlocksChannelsCompensator>
impl Detail_BlocksCompensatorTraitConst for BoxedRef<'_, Detail_BlocksChannelsCompensator>
fn as_raw_Detail_BlocksCompensator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_similarity_threshold(&self) -> Result<f64>
fn get_block_size(&self) -> Result<Size>
fn get_nr_gains_filtering_iterations(&self) -> Result<i32>
Source§impl Detail_BlocksCompensatorTraitConst for BoxedRef<'_, Detail_BlocksCompensator>
impl Detail_BlocksCompensatorTraitConst for BoxedRef<'_, Detail_BlocksCompensator>
fn as_raw_Detail_BlocksCompensator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_similarity_threshold(&self) -> Result<f64>
fn get_block_size(&self) -> Result<Size>
fn get_nr_gains_filtering_iterations(&self) -> Result<i32>
Source§impl Detail_BlocksCompensatorTraitConst for BoxedRef<'_, Detail_BlocksGainCompensator>
impl Detail_BlocksCompensatorTraitConst for BoxedRef<'_, Detail_BlocksGainCompensator>
fn as_raw_Detail_BlocksCompensator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_similarity_threshold(&self) -> Result<f64>
fn get_block_size(&self) -> Result<Size>
fn get_nr_gains_filtering_iterations(&self) -> Result<i32>
Source§impl Detail_BlocksGainCompensatorTraitConst for BoxedRef<'_, Detail_BlocksGainCompensator>
impl Detail_BlocksGainCompensatorTraitConst for BoxedRef<'_, Detail_BlocksGainCompensator>
fn as_raw_Detail_BlocksGainCompensator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_BundleAdjusterAffinePartialTraitConst for BoxedRef<'_, Detail_BundleAdjusterAffinePartial>
impl Detail_BundleAdjusterAffinePartialTraitConst for BoxedRef<'_, Detail_BundleAdjusterAffinePartial>
fn as_raw_Detail_BundleAdjusterAffinePartial( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_BundleAdjusterAffineTraitConst for BoxedRef<'_, Detail_BundleAdjusterAffine>
impl Detail_BundleAdjusterAffineTraitConst for BoxedRef<'_, Detail_BundleAdjusterAffine>
fn as_raw_Detail_BundleAdjusterAffine( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_BundleAdjusterBaseTraitConst for BoxedRef<'_, Detail_BundleAdjusterAffine>
impl Detail_BundleAdjusterBaseTraitConst for BoxedRef<'_, Detail_BundleAdjusterAffine>
fn as_raw_Detail_BundleAdjusterBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn refinement_mask(&self) -> Result<Mat>
fn conf_thresh(&self) -> Result<f64>
Source§impl Detail_BundleAdjusterBaseTraitConst for BoxedRef<'_, Detail_BundleAdjusterAffinePartial>
impl Detail_BundleAdjusterBaseTraitConst for BoxedRef<'_, Detail_BundleAdjusterAffinePartial>
fn as_raw_Detail_BundleAdjusterBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn refinement_mask(&self) -> Result<Mat>
fn conf_thresh(&self) -> Result<f64>
Source§impl Detail_BundleAdjusterBaseTraitConst for BoxedRef<'_, Detail_BundleAdjusterBase>
impl Detail_BundleAdjusterBaseTraitConst for BoxedRef<'_, Detail_BundleAdjusterBase>
fn as_raw_Detail_BundleAdjusterBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn refinement_mask(&self) -> Result<Mat>
fn conf_thresh(&self) -> Result<f64>
Source§impl Detail_BundleAdjusterBaseTraitConst for BoxedRef<'_, Detail_BundleAdjusterRay>
impl Detail_BundleAdjusterBaseTraitConst for BoxedRef<'_, Detail_BundleAdjusterRay>
fn as_raw_Detail_BundleAdjusterBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn refinement_mask(&self) -> Result<Mat>
fn conf_thresh(&self) -> Result<f64>
Source§impl Detail_BundleAdjusterBaseTraitConst for BoxedRef<'_, Detail_BundleAdjusterReproj>
impl Detail_BundleAdjusterBaseTraitConst for BoxedRef<'_, Detail_BundleAdjusterReproj>
fn as_raw_Detail_BundleAdjusterBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn refinement_mask(&self) -> Result<Mat>
fn conf_thresh(&self) -> Result<f64>
Source§impl Detail_BundleAdjusterBaseTraitConst for BoxedRef<'_, Detail_NoBundleAdjuster>
impl Detail_BundleAdjusterBaseTraitConst for BoxedRef<'_, Detail_NoBundleAdjuster>
fn as_raw_Detail_BundleAdjusterBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn refinement_mask(&self) -> Result<Mat>
fn conf_thresh(&self) -> Result<f64>
Source§impl Detail_BundleAdjusterRayTraitConst for BoxedRef<'_, Detail_BundleAdjusterRay>
impl Detail_BundleAdjusterRayTraitConst for BoxedRef<'_, Detail_BundleAdjusterRay>
fn as_raw_Detail_BundleAdjusterRay( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_BundleAdjusterReprojTraitConst for BoxedRef<'_, Detail_BundleAdjusterReproj>
impl Detail_BundleAdjusterReprojTraitConst for BoxedRef<'_, Detail_BundleAdjusterReproj>
fn as_raw_Detail_BundleAdjusterReproj( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_CameraParamsTraitConst for BoxedRef<'_, Detail_CameraParams>
impl Detail_CameraParamsTraitConst for BoxedRef<'_, Detail_CameraParams>
Source§impl Detail_CheckContextTraitConst for BoxedRef<'_, Detail_CheckContext>
impl Detail_CheckContextTraitConst for BoxedRef<'_, Detail_CheckContext>
fn as_raw_Detail_CheckContext( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn func(&self) -> String
fn file(&self) -> String
fn line(&self) -> i32
fn test_op(&self) -> Detail_TestOp
fn message(&self) -> String
fn p1_str(&self) -> String
fn p2_str(&self) -> String
Source§impl Detail_CompressedRectilinearPortraitProjectorTraitConst for BoxedRef<'_, Detail_CompressedRectilinearPortraitProjector>
impl Detail_CompressedRectilinearPortraitProjectorTraitConst for BoxedRef<'_, Detail_CompressedRectilinearPortraitProjector>
Source§impl Detail_CompressedRectilinearPortraitWarperTraitConst for BoxedRef<'_, Detail_CompressedRectilinearPortraitWarper>
impl Detail_CompressedRectilinearPortraitWarperTraitConst for BoxedRef<'_, Detail_CompressedRectilinearPortraitWarper>
fn as_raw_Detail_CompressedRectilinearPortraitWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_CompressedRectilinearProjectorTraitConst for BoxedRef<'_, Detail_CompressedRectilinearProjector>
impl Detail_CompressedRectilinearProjectorTraitConst for BoxedRef<'_, Detail_CompressedRectilinearProjector>
Source§impl Detail_CompressedRectilinearWarperTraitConst for BoxedRef<'_, Detail_CompressedRectilinearWarper>
impl Detail_CompressedRectilinearWarperTraitConst for BoxedRef<'_, Detail_CompressedRectilinearWarper>
fn as_raw_Detail_CompressedRectilinearWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_CylindricalPortraitProjectorTraitConst for BoxedRef<'_, Detail_CylindricalPortraitProjector>
impl Detail_CylindricalPortraitProjectorTraitConst for BoxedRef<'_, Detail_CylindricalPortraitProjector>
fn as_raw_Detail_CylindricalPortraitProjector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_CylindricalPortraitWarperTraitConst for BoxedRef<'_, Detail_CylindricalPortraitWarper>
impl Detail_CylindricalPortraitWarperTraitConst for BoxedRef<'_, Detail_CylindricalPortraitWarper>
fn as_raw_Detail_CylindricalPortraitWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_CylindricalProjectorTraitConst for BoxedRef<'_, Detail_CylindricalProjector>
impl Detail_CylindricalProjectorTraitConst for BoxedRef<'_, Detail_CylindricalProjector>
fn as_raw_Detail_CylindricalProjector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_CylindricalWarperGpuTraitConst for BoxedRef<'_, Detail_CylindricalWarperGpu>
impl Detail_CylindricalWarperGpuTraitConst for BoxedRef<'_, Detail_CylindricalWarperGpu>
fn as_raw_Detail_CylindricalWarperGpu( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_CylindricalWarperTraitConst for BoxedRef<'_, Detail_CylindricalWarper>
impl Detail_CylindricalWarperTraitConst for BoxedRef<'_, Detail_CylindricalWarper>
fn as_raw_Detail_CylindricalWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_CylindricalWarperTraitConst for BoxedRef<'_, Detail_CylindricalWarperGpu>
impl Detail_CylindricalWarperTraitConst for BoxedRef<'_, Detail_CylindricalWarperGpu>
fn as_raw_Detail_CylindricalWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_DisjointSetsTraitConst for BoxedRef<'_, Detail_DisjointSets>
impl Detail_DisjointSetsTraitConst for BoxedRef<'_, Detail_DisjointSets>
Source§impl Detail_DpSeamFinderTraitConst for BoxedRef<'_, Detail_DpSeamFinder>
impl Detail_DpSeamFinderTraitConst for BoxedRef<'_, Detail_DpSeamFinder>
fn as_raw_Detail_DpSeamFinder( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn cost_function(&self) -> Result<Detail_DpSeamFinder_CostFunction>
Source§impl Detail_EstimatorTraitConst for BoxedRef<'_, Detail_AffineBasedEstimator>
impl Detail_EstimatorTraitConst for BoxedRef<'_, Detail_AffineBasedEstimator>
fn as_raw_Detail_Estimator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_EstimatorTraitConst for BoxedRef<'_, Detail_BundleAdjusterAffine>
impl Detail_EstimatorTraitConst for BoxedRef<'_, Detail_BundleAdjusterAffine>
fn as_raw_Detail_Estimator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_EstimatorTraitConst for BoxedRef<'_, Detail_BundleAdjusterAffinePartial>
impl Detail_EstimatorTraitConst for BoxedRef<'_, Detail_BundleAdjusterAffinePartial>
fn as_raw_Detail_Estimator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_EstimatorTraitConst for BoxedRef<'_, Detail_BundleAdjusterBase>
impl Detail_EstimatorTraitConst for BoxedRef<'_, Detail_BundleAdjusterBase>
fn as_raw_Detail_Estimator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_EstimatorTraitConst for BoxedRef<'_, Detail_BundleAdjusterRay>
impl Detail_EstimatorTraitConst for BoxedRef<'_, Detail_BundleAdjusterRay>
fn as_raw_Detail_Estimator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_EstimatorTraitConst for BoxedRef<'_, Detail_BundleAdjusterReproj>
impl Detail_EstimatorTraitConst for BoxedRef<'_, Detail_BundleAdjusterReproj>
fn as_raw_Detail_Estimator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_EstimatorTraitConst for BoxedRef<'_, Detail_Estimator>
impl Detail_EstimatorTraitConst for BoxedRef<'_, Detail_Estimator>
fn as_raw_Detail_Estimator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_EstimatorTraitConst for BoxedRef<'_, Detail_HomographyBasedEstimator>
impl Detail_EstimatorTraitConst for BoxedRef<'_, Detail_HomographyBasedEstimator>
fn as_raw_Detail_Estimator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_EstimatorTraitConst for BoxedRef<'_, Detail_NoBundleAdjuster>
impl Detail_EstimatorTraitConst for BoxedRef<'_, Detail_NoBundleAdjuster>
fn as_raw_Detail_Estimator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_ExposureCompensatorTraitConst for BoxedRef<'_, Detail_BlocksChannelsCompensator>
impl Detail_ExposureCompensatorTraitConst for BoxedRef<'_, Detail_BlocksChannelsCompensator>
fn as_raw_Detail_ExposureCompensator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_ExposureCompensatorTraitConst for BoxedRef<'_, Detail_BlocksCompensator>
impl Detail_ExposureCompensatorTraitConst for BoxedRef<'_, Detail_BlocksCompensator>
fn as_raw_Detail_ExposureCompensator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_ExposureCompensatorTraitConst for BoxedRef<'_, Detail_BlocksGainCompensator>
impl Detail_ExposureCompensatorTraitConst for BoxedRef<'_, Detail_BlocksGainCompensator>
fn as_raw_Detail_ExposureCompensator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_ExposureCompensatorTraitConst for BoxedRef<'_, Detail_ChannelsCompensator>
impl Detail_ExposureCompensatorTraitConst for BoxedRef<'_, Detail_ChannelsCompensator>
fn as_raw_Detail_ExposureCompensator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_ExposureCompensatorTraitConst for BoxedRef<'_, Detail_ExposureCompensator>
impl Detail_ExposureCompensatorTraitConst for BoxedRef<'_, Detail_ExposureCompensator>
fn as_raw_Detail_ExposureCompensator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_ExposureCompensatorTraitConst for BoxedRef<'_, Detail_GainCompensator>
impl Detail_ExposureCompensatorTraitConst for BoxedRef<'_, Detail_GainCompensator>
fn as_raw_Detail_ExposureCompensator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_ExposureCompensatorTraitConst for BoxedRef<'_, Detail_NoExposureCompensator>
impl Detail_ExposureCompensatorTraitConst for BoxedRef<'_, Detail_NoExposureCompensator>
fn as_raw_Detail_ExposureCompensator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_ExtractArgsCallbackTraitConst for BoxedRef<'_, Detail_ExtractArgsCallback>
impl Detail_ExtractArgsCallbackTraitConst for BoxedRef<'_, Detail_ExtractArgsCallback>
fn as_raw_Detail_ExtractArgsCallback( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn apply(&self, info: >ypesInfo) -> Result<GRunArgs>
Source§impl Detail_ExtractMetaCallbackTraitConst for BoxedRef<'_, Detail_ExtractMetaCallback>
impl Detail_ExtractMetaCallbackTraitConst for BoxedRef<'_, Detail_ExtractMetaCallback>
fn as_raw_Detail_ExtractMetaCallback( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_FeaturesMatcherTraitConst for BoxedRef<'_, Detail_AffineBestOf2NearestMatcher>
impl Detail_FeaturesMatcherTraitConst for BoxedRef<'_, Detail_AffineBestOf2NearestMatcher>
fn as_raw_Detail_FeaturesMatcher( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_FeaturesMatcherTraitConst for BoxedRef<'_, Detail_BestOf2NearestMatcher>
impl Detail_FeaturesMatcherTraitConst for BoxedRef<'_, Detail_BestOf2NearestMatcher>
fn as_raw_Detail_FeaturesMatcher( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_FeaturesMatcherTraitConst for BoxedRef<'_, Detail_BestOf2NearestRangeMatcher>
impl Detail_FeaturesMatcherTraitConst for BoxedRef<'_, Detail_BestOf2NearestRangeMatcher>
fn as_raw_Detail_FeaturesMatcher( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_FeaturesMatcherTraitConst for BoxedRef<'_, Detail_FeaturesMatcher>
impl Detail_FeaturesMatcherTraitConst for BoxedRef<'_, Detail_FeaturesMatcher>
fn as_raw_Detail_FeaturesMatcher( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_FisheyeProjectorTraitConst for BoxedRef<'_, Detail_FisheyeProjector>
impl Detail_FisheyeProjectorTraitConst for BoxedRef<'_, Detail_FisheyeProjector>
fn as_raw_Detail_FisheyeProjector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_FisheyeWarperTraitConst for BoxedRef<'_, Detail_FisheyeWarper>
impl Detail_FisheyeWarperTraitConst for BoxedRef<'_, Detail_FisheyeWarper>
fn as_raw_Detail_FisheyeWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_GArrayUTraitConst for BoxedRef<'_, Detail_GArrayU>
impl Detail_GArrayUTraitConst for BoxedRef<'_, Detail_GArrayU>
fn as_raw_Detail_GArrayU( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_GOpaqueUTraitConst for BoxedRef<'_, Detail_GOpaqueU>
impl Detail_GOpaqueUTraitConst for BoxedRef<'_, Detail_GOpaqueU>
fn as_raw_Detail_GOpaqueU( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_GraphCutSeamFinderBaseTraitConst for BoxedRef<'_, Detail_GraphCutSeamFinder>
impl Detail_GraphCutSeamFinderBaseTraitConst for BoxedRef<'_, Detail_GraphCutSeamFinder>
fn as_raw_Detail_GraphCutSeamFinderBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_GraphCutSeamFinderBaseTraitConst for BoxedRef<'_, Detail_GraphCutSeamFinderBase>
impl Detail_GraphCutSeamFinderBaseTraitConst for BoxedRef<'_, Detail_GraphCutSeamFinderBase>
fn as_raw_Detail_GraphCutSeamFinderBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_GraphCutSeamFinderBaseTraitConst for BoxedRef<'_, Detail_GraphCutSeamFinderGpu>
impl Detail_GraphCutSeamFinderBaseTraitConst for BoxedRef<'_, Detail_GraphCutSeamFinderGpu>
fn as_raw_Detail_GraphCutSeamFinderBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_GraphCutSeamFinderGpuTraitConst for BoxedRef<'_, Detail_GraphCutSeamFinderGpu>
impl Detail_GraphCutSeamFinderGpuTraitConst for BoxedRef<'_, Detail_GraphCutSeamFinderGpu>
fn as_raw_Detail_GraphCutSeamFinderGpu( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_GraphCutSeamFinderTraitConst for BoxedRef<'_, Detail_GraphCutSeamFinder>
impl Detail_GraphCutSeamFinderTraitConst for BoxedRef<'_, Detail_GraphCutSeamFinder>
fn as_raw_Detail_GraphCutSeamFinder( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_GraphEdgeTraitConst for BoxedRef<'_, Detail_GraphEdge>
impl Detail_GraphEdgeTraitConst for BoxedRef<'_, Detail_GraphEdge>
fn as_raw_Detail_GraphEdge( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn from(&self) -> i32
fn to(&self) -> i32
fn weight(&self) -> f32
fn less_than(&self, other: &impl Detail_GraphEdgeTraitConst) -> Result<bool>
fn greater_than(&self, other: &impl Detail_GraphEdgeTraitConst) -> Result<bool>
Source§impl Detail_GraphTraitConst for BoxedRef<'_, Detail_Graph>
impl Detail_GraphTraitConst for BoxedRef<'_, Detail_Graph>
fn as_raw_Detail_Graph(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn num_vertices(&self) -> Result<i32>
Source§impl Detail_HomographyBasedEstimatorTraitConst for BoxedRef<'_, Detail_HomographyBasedEstimator>
impl Detail_HomographyBasedEstimatorTraitConst for BoxedRef<'_, Detail_HomographyBasedEstimator>
fn as_raw_Detail_HomographyBasedEstimator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_MatchesInfoTraitConst for BoxedRef<'_, Detail_MatchesInfo>
impl Detail_MatchesInfoTraitConst for BoxedRef<'_, Detail_MatchesInfo>
fn as_raw_Detail_MatchesInfo( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn src_img_idx(&self) -> i32
Source§fn dst_img_idx(&self) -> i32
fn dst_img_idx(&self) -> i32
Images indices (optional)
fn matches(&self) -> Vector<DMatch>
Source§fn inliers_mask(&self) -> Vector<u8>
fn inliers_mask(&self) -> Vector<u8>
Geometrically consistent matches mask
Source§fn num_inliers(&self) -> i32
fn num_inliers(&self) -> i32
Number of geometrically consistent matches
Source§fn confidence(&self) -> f64
fn confidence(&self) -> f64
Confidence two images are from the same panorama
Source§impl Detail_MercatorProjectorTraitConst for BoxedRef<'_, Detail_MercatorProjector>
impl Detail_MercatorProjectorTraitConst for BoxedRef<'_, Detail_MercatorProjector>
fn as_raw_Detail_MercatorProjector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_MercatorWarperTraitConst for BoxedRef<'_, Detail_MercatorWarper>
impl Detail_MercatorWarperTraitConst for BoxedRef<'_, Detail_MercatorWarper>
fn as_raw_Detail_MercatorWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_NoBundleAdjusterTraitConst for BoxedRef<'_, Detail_NoBundleAdjuster>
impl Detail_NoBundleAdjusterTraitConst for BoxedRef<'_, Detail_NoBundleAdjuster>
fn as_raw_Detail_NoBundleAdjuster( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_NoExposureCompensatorTraitConst for BoxedRef<'_, Detail_NoExposureCompensator>
impl Detail_NoExposureCompensatorTraitConst for BoxedRef<'_, Detail_NoExposureCompensator>
fn as_raw_Detail_NoExposureCompensator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_NoSeamFinderTraitConst for BoxedRef<'_, Detail_NoSeamFinder>
impl Detail_NoSeamFinderTraitConst for BoxedRef<'_, Detail_NoSeamFinder>
fn as_raw_Detail_NoSeamFinder( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_PairwiseSeamFinderTraitConst for BoxedRef<'_, Detail_GraphCutSeamFinderGpu>
impl Detail_PairwiseSeamFinderTraitConst for BoxedRef<'_, Detail_GraphCutSeamFinderGpu>
fn as_raw_Detail_PairwiseSeamFinder( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_PairwiseSeamFinderTraitConst for BoxedRef<'_, Detail_PairwiseSeamFinder>
impl Detail_PairwiseSeamFinderTraitConst for BoxedRef<'_, Detail_PairwiseSeamFinder>
fn as_raw_Detail_PairwiseSeamFinder( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_PairwiseSeamFinderTraitConst for BoxedRef<'_, Detail_VoronoiSeamFinder>
impl Detail_PairwiseSeamFinderTraitConst for BoxedRef<'_, Detail_VoronoiSeamFinder>
fn as_raw_Detail_PairwiseSeamFinder( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_PaniniPortraitProjectorTraitConst for BoxedRef<'_, Detail_PaniniPortraitProjector>
impl Detail_PaniniPortraitProjectorTraitConst for BoxedRef<'_, Detail_PaniniPortraitProjector>
Source§impl Detail_PaniniPortraitWarperTraitConst for BoxedRef<'_, Detail_PaniniPortraitWarper>
impl Detail_PaniniPortraitWarperTraitConst for BoxedRef<'_, Detail_PaniniPortraitWarper>
fn as_raw_Detail_PaniniPortraitWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_PaniniWarperTraitConst for BoxedRef<'_, Detail_PaniniWarper>
impl Detail_PaniniWarperTraitConst for BoxedRef<'_, Detail_PaniniWarper>
fn as_raw_Detail_PaniniWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_PlanePortraitProjectorTraitConst for BoxedRef<'_, Detail_PlanePortraitProjector>
impl Detail_PlanePortraitProjectorTraitConst for BoxedRef<'_, Detail_PlanePortraitProjector>
fn as_raw_Detail_PlanePortraitProjector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_PlanePortraitWarperTraitConst for BoxedRef<'_, Detail_PlanePortraitWarper>
impl Detail_PlanePortraitWarperTraitConst for BoxedRef<'_, Detail_PlanePortraitWarper>
fn as_raw_Detail_PlanePortraitWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_PlaneProjectorTraitConst for BoxedRef<'_, Detail_PlaneProjector>
impl Detail_PlaneProjectorTraitConst for BoxedRef<'_, Detail_PlaneProjector>
fn as_raw_Detail_PlaneProjector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_PlaneWarperGpuTraitConst for BoxedRef<'_, Detail_PlaneWarperGpu>
impl Detail_PlaneWarperGpuTraitConst for BoxedRef<'_, Detail_PlaneWarperGpu>
fn as_raw_Detail_PlaneWarperGpu( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_PlaneWarperTraitConst for BoxedRef<'_, Detail_AffineWarper>
impl Detail_PlaneWarperTraitConst for BoxedRef<'_, Detail_AffineWarper>
fn as_raw_Detail_PlaneWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_PlaneWarperTraitConst for BoxedRef<'_, Detail_PlaneWarper>
impl Detail_PlaneWarperTraitConst for BoxedRef<'_, Detail_PlaneWarper>
fn as_raw_Detail_PlaneWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_PlaneWarperTraitConst for BoxedRef<'_, Detail_PlaneWarperGpu>
impl Detail_PlaneWarperTraitConst for BoxedRef<'_, Detail_PlaneWarperGpu>
fn as_raw_Detail_PlaneWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_ProjectorBaseTraitConst for BoxedRef<'_, Detail_CompressedRectilinearPortraitProjector>
impl Detail_ProjectorBaseTraitConst for BoxedRef<'_, Detail_CompressedRectilinearPortraitProjector>
Source§impl Detail_RotationWarperTraitConst for BoxedRef<'_, Detail_CompressedRectilinearPortraitWarper>
impl Detail_RotationWarperTraitConst for BoxedRef<'_, Detail_CompressedRectilinearPortraitWarper>
Source§impl Detail_RotationWarperTraitConst for BoxedRef<'_, Detail_PlaneWarper>
impl Detail_RotationWarperTraitConst for BoxedRef<'_, Detail_PlaneWarper>
Source§impl Detail_SeamFinderTraitConst for BoxedRef<'_, Detail_DpSeamFinder>
impl Detail_SeamFinderTraitConst for BoxedRef<'_, Detail_DpSeamFinder>
fn as_raw_Detail_SeamFinder( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_SeamFinderTraitConst for BoxedRef<'_, Detail_GraphCutSeamFinder>
impl Detail_SeamFinderTraitConst for BoxedRef<'_, Detail_GraphCutSeamFinder>
fn as_raw_Detail_SeamFinder( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_SeamFinderTraitConst for BoxedRef<'_, Detail_GraphCutSeamFinderGpu>
impl Detail_SeamFinderTraitConst for BoxedRef<'_, Detail_GraphCutSeamFinderGpu>
fn as_raw_Detail_SeamFinder( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_SeamFinderTraitConst for BoxedRef<'_, Detail_NoSeamFinder>
impl Detail_SeamFinderTraitConst for BoxedRef<'_, Detail_NoSeamFinder>
fn as_raw_Detail_SeamFinder( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_SeamFinderTraitConst for BoxedRef<'_, Detail_PairwiseSeamFinder>
impl Detail_SeamFinderTraitConst for BoxedRef<'_, Detail_PairwiseSeamFinder>
fn as_raw_Detail_SeamFinder( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_SeamFinderTraitConst for BoxedRef<'_, Detail_SeamFinder>
impl Detail_SeamFinderTraitConst for BoxedRef<'_, Detail_SeamFinder>
fn as_raw_Detail_SeamFinder( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_SeamFinderTraitConst for BoxedRef<'_, Detail_VoronoiSeamFinder>
impl Detail_SeamFinderTraitConst for BoxedRef<'_, Detail_VoronoiSeamFinder>
fn as_raw_Detail_SeamFinder( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_SphericalPortraitProjectorTraitConst for BoxedRef<'_, Detail_SphericalPortraitProjector>
impl Detail_SphericalPortraitProjectorTraitConst for BoxedRef<'_, Detail_SphericalPortraitProjector>
fn as_raw_Detail_SphericalPortraitProjector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_SphericalPortraitWarperTraitConst for BoxedRef<'_, Detail_SphericalPortraitWarper>
impl Detail_SphericalPortraitWarperTraitConst for BoxedRef<'_, Detail_SphericalPortraitWarper>
fn as_raw_Detail_SphericalPortraitWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_SphericalProjectorTraitConst for BoxedRef<'_, Detail_SphericalProjector>
impl Detail_SphericalProjectorTraitConst for BoxedRef<'_, Detail_SphericalProjector>
fn as_raw_Detail_SphericalProjector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_SphericalWarperGpuTraitConst for BoxedRef<'_, Detail_SphericalWarperGpu>
impl Detail_SphericalWarperGpuTraitConst for BoxedRef<'_, Detail_SphericalWarperGpu>
fn as_raw_Detail_SphericalWarperGpu( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_SphericalWarperTraitConst for BoxedRef<'_, Detail_SphericalWarper>
impl Detail_SphericalWarperTraitConst for BoxedRef<'_, Detail_SphericalWarper>
fn as_raw_Detail_SphericalWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_SphericalWarperTraitConst for BoxedRef<'_, Detail_SphericalWarperGpu>
impl Detail_SphericalWarperTraitConst for BoxedRef<'_, Detail_SphericalWarperGpu>
fn as_raw_Detail_SphericalWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_StereographicProjectorTraitConst for BoxedRef<'_, Detail_StereographicProjector>
impl Detail_StereographicProjectorTraitConst for BoxedRef<'_, Detail_StereographicProjector>
fn as_raw_Detail_StereographicProjector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_StereographicWarperTraitConst for BoxedRef<'_, Detail_StereographicWarper>
impl Detail_StereographicWarperTraitConst for BoxedRef<'_, Detail_StereographicWarper>
fn as_raw_Detail_StereographicWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_TransverseMercatorProjectorTraitConst for BoxedRef<'_, Detail_TransverseMercatorProjector>
impl Detail_TransverseMercatorProjectorTraitConst for BoxedRef<'_, Detail_TransverseMercatorProjector>
fn as_raw_Detail_TransverseMercatorProjector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_TransverseMercatorWarperTraitConst for BoxedRef<'_, Detail_TransverseMercatorWarper>
impl Detail_TransverseMercatorWarperTraitConst for BoxedRef<'_, Detail_TransverseMercatorWarper>
fn as_raw_Detail_TransverseMercatorWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Detail_VoronoiSeamFinderTraitConst for BoxedRef<'_, Detail_VoronoiSeamFinder>
impl Detail_VoronoiSeamFinderTraitConst for BoxedRef<'_, Detail_VoronoiSeamFinder>
fn as_raw_Detail_VoronoiSeamFinder( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl DetectionBasedTrackerTraitConst for BoxedRef<'_, DetectionBasedTracker>
impl DetectionBasedTrackerTraitConst for BoxedRef<'_, DetectionBasedTracker>
fn as_raw_DetectionBasedTracker( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_parameters(&self) -> Result<DetectionBasedTracker_Parameters>
fn get_objects(&self, result: &mut Vector<Rect>) -> Result<()>
fn get_objects_1( &self, result: &mut Vector<DetectionBasedTracker_Object>, ) -> Result<()>
fn get_objects_2( &self, result: &mut Vector<DetectionBasedTracker_ExtObject>, ) -> Result<()>
Source§impl DetectionBasedTracker_ExtObjectTraitConst for BoxedRef<'_, DetectionBasedTracker_ExtObject>
impl DetectionBasedTracker_ExtObjectTraitConst for BoxedRef<'_, DetectionBasedTracker_ExtObject>
Source§impl DetectionBasedTracker_IDetectorTraitConst for BoxedRef<'_, DetectionBasedTracker_IDetector>
impl DetectionBasedTracker_IDetectorTraitConst for BoxedRef<'_, DetectionBasedTracker_IDetector>
fn as_raw_DetectionBasedTracker_IDetector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_min_object_size(&self) -> Result<Size>
fn get_max_object_size(&self) -> Result<Size>
Source§impl DetectionBasedTracker_ParametersTraitConst for BoxedRef<'_, DetectionBasedTracker_Parameters>
impl DetectionBasedTracker_ParametersTraitConst for BoxedRef<'_, DetectionBasedTracker_Parameters>
fn as_raw_DetectionBasedTracker_Parameters( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn max_track_lifetime(&self) -> i32
fn min_detection_period(&self) -> i32
Source§impl DetectionModelTraitConst for BoxedRef<'_, DetectionModel>
impl DetectionModelTraitConst for BoxedRef<'_, DetectionModel>
fn as_raw_DetectionModel( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl DetectionOutputLayerTraitConst for BoxedRef<'_, DetectionOutputLayer>
impl DetectionOutputLayerTraitConst for BoxedRef<'_, DetectionOutputLayer>
fn as_raw_DetectionOutputLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl DetectionROITraitConst for BoxedRef<'_, DetectionROI>
impl DetectionROITraitConst for BoxedRef<'_, DetectionROI>
fn as_raw_DetectionROI(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn confidences(&self) -> Vector<f64>
fn confidences(&self) -> Vector<f64>
vector that will contain confidence values for each location
Source§impl DetectorParametersTraitConst for BoxedRef<'_, DetectorParameters>
impl DetectorParametersTraitConst for BoxedRef<'_, DetectorParameters>
fn as_raw_DetectorParameters( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn adaptive_thresh_win_size_min(&self) -> i32
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
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
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
fn adaptive_thresh_constant(&self) -> f64
constant for adaptive thresholding before finding contours (default 7)
Source§fn min_marker_perimeter_rate(&self) -> f64
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
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
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
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
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
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
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
fn corner_refinement_method(&self) -> i32
default value CORNER_REFINE_NONE
Source§fn corner_refinement_win_size(&self) -> i32
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
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
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
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
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
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
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
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
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
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
fn april_tag_quad_decimate(&self) -> f32
April :: User-configurable parameters. Read more
Source§fn april_tag_quad_sigma(&self) -> f32
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
fn april_tag_min_cluster_pixels(&self) -> i32
reject quads containing too few pixels (default 5).
Source§fn april_tag_max_nmaxima(&self) -> i32
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
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
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
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
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
fn detect_inverted_marker(&self) -> bool
to check if there is a white marker. Read more
Source§fn use_aruco3_detection(&self) -> bool
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
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
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 DeviceInfoTraitConst for BoxedRef<'_, DeviceInfo>
impl DeviceInfoTraitConst for BoxedRef<'_, DeviceInfo>
fn as_raw_DeviceInfo(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn total_global_mem(&self) -> Result<size_t>
fn total_global_mem(&self) -> Result<size_t>
global memory available on device in bytes
shared memory available per block in bytes
Source§fn regs_per_block(&self) -> Result<i32>
fn regs_per_block(&self) -> Result<i32>
32-bit registers available per block
Source§fn max_threads_per_block(&self) -> Result<i32>
fn max_threads_per_block(&self) -> Result<i32>
maximum number of threads per block
Source§fn max_threads_dim(&self) -> Result<Vec3i>
fn max_threads_dim(&self) -> Result<Vec3i>
maximum size of each dimension of a block
Source§fn max_grid_size(&self) -> Result<Vec3i>
fn max_grid_size(&self) -> Result<Vec3i>
maximum size of each dimension of a grid
Source§fn clock_rate(&self) -> Result<i32>
fn clock_rate(&self) -> Result<i32>
clock frequency in kilohertz
Source§fn total_const_mem(&self) -> Result<size_t>
fn total_const_mem(&self) -> Result<size_t>
constant memory available on device in bytes
Source§fn major_version(&self) -> Result<i32>
fn major_version(&self) -> Result<i32>
major compute capability
Source§fn minor_version(&self) -> Result<i32>
fn minor_version(&self) -> Result<i32>
minor compute capability
Source§fn texture_alignment(&self) -> Result<size_t>
fn texture_alignment(&self) -> Result<size_t>
alignment requirement for textures
Source§fn texture_pitch_alignment(&self) -> Result<size_t>
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>
fn multi_processor_count(&self) -> Result<i32>
number of multiprocessors on device
Source§fn kernel_exec_timeout_enabled(&self) -> Result<bool>
fn kernel_exec_timeout_enabled(&self) -> Result<bool>
specified whether there is a run time limit on kernels
Source§fn integrated(&self) -> Result<bool>
fn integrated(&self) -> Result<bool>
device is integrated as opposed to discrete
Source§fn can_map_host_memory(&self) -> Result<bool>
fn can_map_host_memory(&self) -> Result<bool>
device can map host memory with cudaHostAlloc/cudaHostGetDevicePointer
Source§fn compute_mode(&self) -> Result<DeviceInfo_ComputeMode>
fn compute_mode(&self) -> Result<DeviceInfo_ComputeMode>
compute mode
Source§fn max_texture1_d(&self) -> Result<i32>
fn max_texture1_d(&self) -> Result<i32>
maximum 1D texture size
Source§fn max_texture1_d_mipmap(&self) -> Result<i32>
fn max_texture1_d_mipmap(&self) -> Result<i32>
maximum 1D mipmapped texture size
Source§fn max_texture1_d_linear(&self) -> Result<i32>
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>
fn max_texture_2d(&self) -> Result<Vec2i>
maximum 2D texture dimensions
Source§fn max_texture_2d_mipmap(&self) -> Result<Vec2i>
fn max_texture_2d_mipmap(&self) -> Result<Vec2i>
maximum 2D mipmapped texture dimensions
Source§fn max_texture_2d_linear(&self) -> Result<Vec3i>
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>
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>
fn max_texture_3d(&self) -> Result<Vec3i>
maximum 3D texture dimensions
Source§fn max_texture_cubemap(&self) -> Result<i32>
fn max_texture_cubemap(&self) -> Result<i32>
maximum Cubemap texture dimensions
Source§fn max_texture1_d_layered(&self) -> Result<Vec2i>
fn max_texture1_d_layered(&self) -> Result<Vec2i>
maximum 1D layered texture dimensions
Source§fn max_texture_2d_layered(&self) -> Result<Vec3i>
fn max_texture_2d_layered(&self) -> Result<Vec3i>
maximum 2D layered texture dimensions
Source§fn max_texture_cubemap_layered(&self) -> Result<Vec2i>
fn max_texture_cubemap_layered(&self) -> Result<Vec2i>
maximum Cubemap layered texture dimensions
Source§fn max_surface1_d(&self) -> Result<i32>
fn max_surface1_d(&self) -> Result<i32>
maximum 1D surface size
Source§fn max_surface_2d(&self) -> Result<Vec2i>
fn max_surface_2d(&self) -> Result<Vec2i>
maximum 2D surface dimensions
Source§fn max_surface_3d(&self) -> Result<Vec3i>
fn max_surface_3d(&self) -> Result<Vec3i>
maximum 3D surface dimensions
Source§fn max_surface1_d_layered(&self) -> Result<Vec2i>
fn max_surface1_d_layered(&self) -> Result<Vec2i>
maximum 1D layered surface dimensions
Source§fn max_surface_2d_layered(&self) -> Result<Vec3i>
fn max_surface_2d_layered(&self) -> Result<Vec3i>
maximum 2D layered surface dimensions
Source§fn max_surface_cubemap(&self) -> Result<i32>
fn max_surface_cubemap(&self) -> Result<i32>
maximum Cubemap surface dimensions
Source§fn max_surface_cubemap_layered(&self) -> Result<Vec2i>
fn max_surface_cubemap_layered(&self) -> Result<Vec2i>
maximum Cubemap layered surface dimensions
Source§fn surface_alignment(&self) -> Result<size_t>
fn surface_alignment(&self) -> Result<size_t>
alignment requirements for surfaces
Source§fn concurrent_kernels(&self) -> Result<bool>
fn concurrent_kernels(&self) -> Result<bool>
device can possibly execute multiple kernels concurrently
Source§fn ecc_enabled(&self) -> Result<bool>
fn ecc_enabled(&self) -> Result<bool>
device has ECC support enabled
Source§fn pci_bus_id(&self) -> Result<i32>
fn pci_bus_id(&self) -> Result<i32>
PCI bus ID of the device
Source§fn pci_device_id(&self) -> Result<i32>
fn pci_device_id(&self) -> Result<i32>
PCI device ID of the device
Source§fn pci_domain_id(&self) -> Result<i32>
fn pci_domain_id(&self) -> Result<i32>
PCI domain ID of the device
Source§fn tcc_driver(&self) -> Result<bool>
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>
fn async_engine_count(&self) -> Result<i32>
number of asynchronous engines
Source§fn unified_addressing(&self) -> Result<bool>
fn unified_addressing(&self) -> Result<bool>
device shares a unified address space with the host
Source§fn memory_clock_rate(&self) -> Result<i32>
fn memory_clock_rate(&self) -> Result<i32>
peak memory clock frequency in kilohertz
Source§fn memory_bus_width(&self) -> Result<i32>
fn memory_bus_width(&self) -> Result<i32>
global memory bus width in bits
Source§fn l2_cache_size(&self) -> Result<i32>
fn l2_cache_size(&self) -> Result<i32>
size of L2 cache in bytes
Source§fn max_threads_per_multi_processor(&self) -> Result<i32>
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<()>
fn query_memory( &self, total_memory: &mut size_t, free_memory: &mut size_t, ) -> Result<()>
gets free and total device memory
fn free_memory(&self) -> Result<size_t>
fn total_memory(&self) -> Result<size_t>
Source§impl DeviceTraitConst for BoxedRef<'_, Device>
impl DeviceTraitConst for BoxedRef<'_, Device>
fn as_raw_Device(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn name(&self) -> Result<String>
fn extensions(&self) -> Result<String>
fn is_extension_supported(&self, extension_name: &str) -> Result<bool>
fn version(&self) -> Result<String>
fn vendor_name(&self) -> Result<String>
fn opencl_c_version(&self) -> Result<String>
fn opencl_version(&self) -> Result<String>
fn device_version_major(&self) -> Result<i32>
fn device_version_minor(&self) -> Result<i32>
fn driver_version(&self) -> Result<String>
fn ptr(&self) -> Result<*mut c_void>
fn typ(&self) -> Result<i32>
fn address_bits(&self) -> Result<i32>
fn available(&self) -> Result<bool>
fn compiler_available(&self) -> Result<bool>
fn linker_available(&self) -> Result<bool>
fn double_fp_config(&self) -> Result<i32>
fn single_fp_config(&self) -> Result<i32>
fn half_fp_config(&self) -> Result<i32>
fn endian_little(&self) -> Result<bool>
fn error_correction_support(&self) -> Result<bool>
fn execution_capabilities(&self) -> Result<i32>
fn global_mem_cache_size(&self) -> Result<size_t>
fn global_mem_cache_type(&self) -> Result<i32>
fn global_mem_cache_line_size(&self) -> Result<i32>
fn global_mem_size(&self) -> Result<size_t>
fn local_mem_size(&self) -> Result<size_t>
fn local_mem_type(&self) -> Result<i32>
fn host_unified_memory(&self) -> Result<bool>
fn image_support(&self) -> Result<bool>
fn image_from_buffer_support(&self) -> Result<bool>
fn image_pitch_alignment(&self) -> Result<u32>
fn image_base_address_alignment(&self) -> Result<u32>
Source§fn intel_subgroups_support(&self) -> Result<bool>
fn intel_subgroups_support(&self) -> Result<bool>
deprecated, use isExtensionSupported() method (probably with “cl_khr_subgroups” value)
fn image_2d_max_width(&self) -> Result<size_t>
fn image_2d_max_height(&self) -> Result<size_t>
fn image_3d_max_width(&self) -> Result<size_t>
fn image_3d_max_height(&self) -> Result<size_t>
fn image_3d_max_depth(&self) -> Result<size_t>
fn image_max_buffer_size(&self) -> Result<size_t>
fn image_max_array_size(&self) -> Result<size_t>
fn vendor_id(&self) -> Result<i32>
fn is_amd(&self) -> Result<bool>
fn is_intel(&self) -> Result<bool>
fn is_n_vidia(&self) -> Result<bool>
fn max_clock_frequency(&self) -> Result<i32>
fn max_compute_units(&self) -> Result<i32>
fn max_constant_args(&self) -> Result<i32>
fn max_constant_buffer_size(&self) -> Result<size_t>
fn max_mem_alloc_size(&self) -> Result<size_t>
fn max_parameter_size(&self) -> Result<size_t>
fn max_read_image_args(&self) -> Result<i32>
fn max_write_image_args(&self) -> Result<i32>
fn max_samplers(&self) -> Result<i32>
fn max_work_group_size(&self) -> Result<size_t>
fn max_work_item_dims(&self) -> Result<i32>
fn max_work_item_sizes(&self, unnamed: &mut size_t) -> Result<()>
fn mem_base_addr_align(&self) -> Result<i32>
fn native_vector_width_char(&self) -> Result<i32>
fn native_vector_width_short(&self) -> Result<i32>
fn native_vector_width_int(&self) -> Result<i32>
fn native_vector_width_long(&self) -> Result<i32>
fn native_vector_width_float(&self) -> Result<i32>
fn native_vector_width_double(&self) -> Result<i32>
fn native_vector_width_half(&self) -> Result<i32>
fn preferred_vector_width_char(&self) -> Result<i32>
fn preferred_vector_width_short(&self) -> Result<i32>
fn preferred_vector_width_int(&self) -> Result<i32>
fn preferred_vector_width_long(&self) -> Result<i32>
fn preferred_vector_width_float(&self) -> Result<i32>
fn preferred_vector_width_double(&self) -> Result<i32>
fn preferred_vector_width_half(&self) -> Result<i32>
fn printf_buffer_size(&self) -> Result<size_t>
fn profiling_timer_resolution(&self) -> Result<size_t>
fn empty(&self) -> Result<bool>
Source§impl DictTraitConst for BoxedRef<'_, Dict>
impl DictTraitConst for BoxedRef<'_, Dict>
Source§impl DictTraitConst for BoxedRef<'_, LayerParams>
impl DictTraitConst for BoxedRef<'_, LayerParams>
Source§impl DictValueTraitConst for BoxedRef<'_, DictValue>
impl DictValueTraitConst for BoxedRef<'_, DictValue>
fn as_raw_DictValue(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_str_def(&self) -> Result<String>
fn get_f64_def(&self) -> Result<f64>
fn get_i32_def(&self) -> Result<i32>
fn get_i64_def(&self) -> Result<i64>
fn size(&self) -> Result<i32>
fn is_int(&self) -> Result<bool>
fn is_string(&self) -> Result<bool>
fn is_real(&self) -> Result<bool>
Source§impl DictionaryTraitConst for BoxedRef<'_, Dictionary>
impl DictionaryTraitConst for BoxedRef<'_, Dictionary>
fn as_raw_Dictionary(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn bytes_list(&self) -> Mat
fn bytes_list(&self) -> Mat
marker code information. See class description for more details
Source§fn marker_size(&self) -> i32
fn marker_size(&self) -> i32
number of bits per dimension
Source§fn max_correction_bits(&self) -> i32
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>
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>
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>
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<()>
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<()>
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 DisparityFilterTraitConst for BoxedRef<'_, DisparityFilter>
impl DisparityFilterTraitConst for BoxedRef<'_, DisparityFilter>
fn as_raw_DisparityFilter( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl DisparityFilterTraitConst for BoxedRef<'_, DisparityWLSFilter>
impl DisparityFilterTraitConst for BoxedRef<'_, DisparityWLSFilter>
fn as_raw_DisparityFilter( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl DisparityWLSFilterTraitConst for BoxedRef<'_, DisparityWLSFilter>
impl DisparityWLSFilterTraitConst for BoxedRef<'_, DisparityWLSFilter>
fn as_raw_DisparityWLSFilter( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl DnnSuperResImplTraitConst for BoxedRef<'_, DnnSuperResImpl>
impl DnnSuperResImplTraitConst for BoxedRef<'_, DnnSuperResImpl>
fn as_raw_DnnSuperResImpl( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl DownhillSolverTraitConst for BoxedRef<'_, DownhillSolver>
impl DownhillSolverTraitConst for BoxedRef<'_, DownhillSolver>
fn as_raw_DownhillSolver( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_init_step(&self, step: &mut impl ToOutputArray) -> Result<()>
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 DualTVL1OpticalFlowTraitConst for BoxedRef<'_, DualTVL1OpticalFlow>
impl DualTVL1OpticalFlowTraitConst for BoxedRef<'_, DualTVL1OpticalFlow>
fn as_raw_DualTVL1OpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_lambda(&self) -> Result<f64>
fn get_lambda(&self) -> Result<f64>
Weight parameter for the data term, attachment parameter Read more
Source§fn get_theta(&self) -> Result<f64>
fn get_theta(&self) -> Result<f64>
Weight parameter for (u - v)^2, tightness parameter Read more
Source§fn get_gamma(&self) -> Result<f64>
fn get_gamma(&self) -> Result<f64>
coefficient for additional illumination variation term Read more
Source§fn get_scales_number(&self) -> Result<i32>
fn get_scales_number(&self) -> Result<i32>
Number of scales used to create the pyramid of images Read more
Source§fn get_epsilon(&self) -> Result<f64>
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>
fn get_inner_iterations(&self) -> Result<i32>
Inner iterations (between outlier filtering) used in the numerical scheme Read more
Source§impl Dynafu_DynaFuTraitConst for BoxedRef<'_, Dynafu_DynaFu>
impl Dynafu_DynaFuTraitConst for BoxedRef<'_, Dynafu_DynaFu>
fn as_raw_Dynafu_DynaFu( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_params(&self) -> Result<Kinfu_Params>
fn get_params(&self) -> Result<Kinfu_Params>
Get current parameters
Source§fn render(
&self,
image: &mut impl ToOutputArray,
camera_pose: Matx44f,
) -> Result<()>
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<()>
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<()>
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<()>
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<()>
fn get_normals( &self, points: &impl ToInputArray, normals: &mut impl ToOutputArray, ) -> Result<()>
Calculates normals for given points Read more
fn get_nodes_pos(&self) -> Result<Vector<Point3f>>
fn march_cubes( &self, vertices: &mut impl ToOutputArray, edges: &mut impl ToOutputArray, ) -> Result<()>
Source§impl ELULayerTraitConst for BoxedRef<'_, ELULayer>
impl ELULayerTraitConst for BoxedRef<'_, ELULayer>
Source§impl EMDHistogramCostExtractorTraitConst for BoxedRef<'_, EMDHistogramCostExtractor>
impl EMDHistogramCostExtractorTraitConst for BoxedRef<'_, EMDHistogramCostExtractor>
fn as_raw_EMDHistogramCostExtractor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_norm_flag(&self) -> Result<i32>
Source§impl EMDL1HistogramCostExtractorTraitConst for BoxedRef<'_, EMDL1HistogramCostExtractor>
impl EMDL1HistogramCostExtractorTraitConst for BoxedRef<'_, EMDL1HistogramCostExtractor>
fn as_raw_EMDL1HistogramCostExtractor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl EMTraitConst for BoxedRef<'_, EM>
impl EMTraitConst for BoxedRef<'_, EM>
fn as_raw_EM(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_clusters_number(&self) -> Result<i32>
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>
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>
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_means(&self) -> Result<Mat>
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<()>
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>
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>
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>
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 ERFilterTraitConst for BoxedRef<'_, ERFilter>
impl ERFilterTraitConst for BoxedRef<'_, ERFilter>
fn as_raw_ERFilter(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_num_rejected(&self) -> Result<i32>
Source§impl ERFilter_CallbackTraitConst for BoxedRef<'_, ERFilter_Callback>
impl ERFilter_CallbackTraitConst for BoxedRef<'_, ERFilter_Callback>
fn as_raw_ERFilter_Callback( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl ERStatTraitConst for BoxedRef<'_, ERStat>
impl ERStatTraitConst for BoxedRef<'_, ERStat>
fn as_raw_ERStat(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn level(&self) -> i32
fn perimeter(&self) -> i32
fn rect(&self) -> Rect
Source§fn raw_moments(&self) -> &[f64; 2]
fn raw_moments(&self) -> &[f64; 2]
order 1 raw moments to derive the centroid
Source§fn central_moments(&self) -> &[f64; 3]
fn central_moments(&self) -> &[f64; 3]
order 2 central moments to construct the covariance matrix
Source§fn med_crossings(&self) -> f32
fn med_crossings(&self) -> f32
median of the crossings at three different height levels
Source§fn hole_area_ratio(&self) -> f32
fn hole_area_ratio(&self) -> f32
2nd stage features
fn convex_hull_ratio(&self) -> f32
fn num_inflexion_points(&self) -> f32
Source§fn probability(&self) -> f64
fn probability(&self) -> f64
probability that the ER belongs to the class we are looking for
Source§fn local_maxima(&self) -> bool
fn local_maxima(&self) -> bool
whenever the regions is a local maxima of the probability
Source§impl EdgeAwareInterpolatorTraitConst for BoxedRef<'_, EdgeAwareInterpolator>
impl EdgeAwareInterpolatorTraitConst for BoxedRef<'_, EdgeAwareInterpolator>
fn as_raw_EdgeAwareInterpolator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl EdgeBoxesTraitConst for BoxedRef<'_, EdgeBoxes>
impl EdgeBoxesTraitConst for BoxedRef<'_, EdgeBoxes>
fn as_raw_EdgeBoxes(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_min_score(&self) -> Result<f32>
fn get_min_score(&self) -> Result<f32>
Returns the min score of boxes to detect.
Source§fn get_max_boxes(&self) -> Result<i32>
fn get_max_boxes(&self) -> Result<i32>
Returns the max number of boxes to detect.
Source§fn get_edge_min_mag(&self) -> Result<f32>
fn get_edge_min_mag(&self) -> Result<f32>
Returns the edge min magnitude.
Source§fn get_edge_merge_thr(&self) -> Result<f32>
fn get_edge_merge_thr(&self) -> Result<f32>
Returns the edge merge threshold.
Source§fn get_cluster_min_mag(&self) -> Result<f32>
fn get_cluster_min_mag(&self) -> Result<f32>
Returns the cluster min magnitude.
Source§fn get_max_aspect_ratio(&self) -> Result<f32>
fn get_max_aspect_ratio(&self) -> Result<f32>
Returns the max aspect ratio of boxes.
Source§fn get_min_box_area(&self) -> Result<f32>
fn get_min_box_area(&self) -> Result<f32>
Returns the minimum area of boxes.
Source§impl EdgeDrawingTraitConst for BoxedRef<'_, EdgeDrawing>
impl EdgeDrawingTraitConst for BoxedRef<'_, EdgeDrawing>
fn as_raw_EdgeDrawing(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn params(&self) -> EdgeDrawing_Params
Source§impl EigenFaceRecognizerTraitConst for BoxedRef<'_, EigenFaceRecognizer>
impl EigenFaceRecognizerTraitConst for BoxedRef<'_, EigenFaceRecognizer>
fn as_raw_EigenFaceRecognizer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl EinsumLayerTraitConst for BoxedRef<'_, EinsumLayer>
impl EinsumLayerTraitConst for BoxedRef<'_, EinsumLayer>
fn as_raw_EinsumLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Elliptic_KeyPointTraitConst for BoxedRef<'_, Elliptic_KeyPoint>
impl Elliptic_KeyPointTraitConst for BoxedRef<'_, Elliptic_KeyPoint>
fn as_raw_Elliptic_KeyPoint( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl EltwiseLayerInt8TraitConst for BoxedRef<'_, EltwiseLayerInt8>
impl EltwiseLayerInt8TraitConst for BoxedRef<'_, EltwiseLayerInt8>
fn as_raw_EltwiseLayerInt8( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl EltwiseLayerTraitConst for BoxedRef<'_, EltwiseLayer>
impl EltwiseLayerTraitConst for BoxedRef<'_, EltwiseLayer>
fn as_raw_EltwiseLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl ErfLayerTraitConst for BoxedRef<'_, ErfLayer>
impl ErfLayerTraitConst for BoxedRef<'_, ErfLayer>
fn as_raw_ErfLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl EstimateParametersTraitConst for BoxedRef<'_, EstimateParameters>
impl EstimateParametersTraitConst for BoxedRef<'_, EstimateParameters>
fn as_raw_EstimateParameters( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn pattern(&self) -> PatternPositionType
fn use_extrinsic_guess(&self) -> bool
fn solve_pnp_method(&self) -> i32
Source§impl EventTraitConst for BoxedRef<'_, Event>
impl EventTraitConst for BoxedRef<'_, Event>
fn as_raw_Event(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn query_if_complete(&self) -> Result<bool>
fn query_if_complete(&self) -> Result<bool>
queries an event’s status
Source§impl ExceptionTraitConst for BoxedRef<'_, Exception>
impl ExceptionTraitConst for BoxedRef<'_, Exception>
fn as_raw_Exception(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl ExpLayerTraitConst for BoxedRef<'_, ExpLayer>
impl ExpLayerTraitConst for BoxedRef<'_, ExpLayer>
Source§impl ExpandLayerTraitConst for BoxedRef<'_, ExpandLayer>
impl ExpandLayerTraitConst for BoxedRef<'_, ExpandLayer>
fn as_raw_ExpandLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl FREAKTraitConst for BoxedRef<'_, FREAK>
impl FREAKTraitConst for BoxedRef<'_, FREAK>
fn as_raw_FREAK(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_orientation_normalized(&self) -> Result<bool>
fn get_scale_normalized(&self) -> Result<bool>
fn get_pattern_scale(&self) -> Result<f64>
fn get_n_octaves(&self) -> Result<i32>
fn get_default_name(&self) -> Result<String>
Source§impl FaceDetectorYNTraitConst for BoxedRef<'_, FaceDetectorYN>
impl FaceDetectorYNTraitConst for BoxedRef<'_, FaceDetectorYN>
fn as_raw_FaceDetectorYN( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl FaceRecognizerSFTraitConst for BoxedRef<'_, FaceRecognizerSF>
impl FaceRecognizerSFTraitConst for BoxedRef<'_, FaceRecognizerSF>
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<()>
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>
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>
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 FaceRecognizerTraitConst for BoxedRef<'_, BasicFaceRecognizer>
impl FaceRecognizerTraitConst for BoxedRef<'_, BasicFaceRecognizer>
fn as_raw_FaceRecognizer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn predict_label(&self, src: &impl ToInputArray) -> Result<i32>
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<()>
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<()>
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<()>
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<()>
fn write_1(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Saves a FaceRecognizer and its model state. Read more
Source§fn empty(&self) -> Result<bool>
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>
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>>
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>
fn get_threshold(&self) -> Result<f64>
threshold parameter accessor - required for default BestMinDist collector
Source§impl FaceRecognizerTraitConst for BoxedRef<'_, EigenFaceRecognizer>
impl FaceRecognizerTraitConst for BoxedRef<'_, EigenFaceRecognizer>
fn as_raw_FaceRecognizer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn predict_label(&self, src: &impl ToInputArray) -> Result<i32>
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<()>
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<()>
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<()>
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<()>
fn write_1(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Saves a FaceRecognizer and its model state. Read more
Source§fn empty(&self) -> Result<bool>
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>
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>>
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>
fn get_threshold(&self) -> Result<f64>
threshold parameter accessor - required for default BestMinDist collector
Source§impl FaceRecognizerTraitConst for BoxedRef<'_, FaceRecognizer>
impl FaceRecognizerTraitConst for BoxedRef<'_, FaceRecognizer>
fn as_raw_FaceRecognizer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn predict_label(&self, src: &impl ToInputArray) -> Result<i32>
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<()>
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<()>
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<()>
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<()>
fn write_1(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Saves a FaceRecognizer and its model state. Read more
Source§fn empty(&self) -> Result<bool>
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>
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>>
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>
fn get_threshold(&self) -> Result<f64>
threshold parameter accessor - required for default BestMinDist collector
Source§impl FaceRecognizerTraitConst for BoxedRef<'_, FisherFaceRecognizer>
impl FaceRecognizerTraitConst for BoxedRef<'_, FisherFaceRecognizer>
fn as_raw_FaceRecognizer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn predict_label(&self, src: &impl ToInputArray) -> Result<i32>
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<()>
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<()>
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<()>
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<()>
fn write_1(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Saves a FaceRecognizer and its model state. Read more
Source§fn empty(&self) -> Result<bool>
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>
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>>
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>
fn get_threshold(&self) -> Result<f64>
threshold parameter accessor - required for default BestMinDist collector
Source§impl FaceRecognizerTraitConst for BoxedRef<'_, LBPHFaceRecognizer>
impl FaceRecognizerTraitConst for BoxedRef<'_, LBPHFaceRecognizer>
fn as_raw_FaceRecognizer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn predict_label(&self, src: &impl ToInputArray) -> Result<i32>
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<()>
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<()>
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<()>
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<()>
fn write_1(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Saves a FaceRecognizer and its model state. Read more
Source§fn empty(&self) -> Result<bool>
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>
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>>
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>
fn get_threshold(&self) -> Result<f64>
threshold parameter accessor - required for default BestMinDist collector
Source§impl FacemarkAAMTraitConst for BoxedRef<'_, FacemarkAAM>
impl FacemarkAAMTraitConst for BoxedRef<'_, FacemarkAAM>
fn as_raw_FacemarkAAM(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl FacemarkAAM_ConfigTraitConst for BoxedRef<'_, FacemarkAAM_Config>
impl FacemarkAAM_ConfigTraitConst for BoxedRef<'_, FacemarkAAM_Config>
Source§impl FacemarkAAM_DataTraitConst for BoxedRef<'_, FacemarkAAM_Data>
impl FacemarkAAM_DataTraitConst for BoxedRef<'_, FacemarkAAM_Data>
Source§impl FacemarkAAM_ModelTraitConst for BoxedRef<'_, FacemarkAAM_Model>
impl FacemarkAAM_ModelTraitConst for BoxedRef<'_, FacemarkAAM_Model>
fn as_raw_FacemarkAAM_Model( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn scales(&self) -> Vector<f32>
fn triangles(&self) -> Vector<Vec3i>
fn textures(&self) -> Vector<FacemarkAAM_Model_Texture>
fn s0(&self) -> Vector<Point2f>
fn s(&self) -> Mat
fn q(&self) -> Mat
Source§impl FacemarkAAM_Model_TextureTraitConst for BoxedRef<'_, FacemarkAAM_Model_Texture>
impl FacemarkAAM_Model_TextureTraitConst for BoxedRef<'_, FacemarkAAM_Model_Texture>
fn as_raw_FacemarkAAM_Model_Texture( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn resolution(&self) -> Rect
fn a(&self) -> Mat
fn a0(&self) -> Mat
fn aa(&self) -> Mat
fn aa0(&self) -> Mat
fn texture_idx(&self) -> Vector<Vector<Point>>
fn base_shape(&self) -> Vector<Point2f>
fn ind1(&self) -> Vector<i32>
fn ind2(&self) -> Vector<i32>
Source§impl FacemarkAAM_ParamsTraitConst for BoxedRef<'_, FacemarkAAM_Params>
impl FacemarkAAM_ParamsTraitConst for BoxedRef<'_, FacemarkAAM_Params>
fn as_raw_FacemarkAAM_Params( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn model_filename(&self) -> String
fn m(&self) -> i32
fn n(&self) -> i32
fn n_iter(&self) -> i32
fn verbose(&self) -> bool
fn save_model(&self) -> bool
fn max_m(&self) -> i32
fn max_n(&self) -> i32
fn texture_max_m(&self) -> i32
fn scales(&self) -> Vector<f32>
Source§impl FacemarkKazemiTraitConst for BoxedRef<'_, FacemarkKazemi>
impl FacemarkKazemiTraitConst for BoxedRef<'_, FacemarkKazemi>
fn as_raw_FacemarkKazemi( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl FacemarkKazemi_ParamsTraitConst for BoxedRef<'_, FacemarkKazemi_Params>
impl FacemarkKazemi_ParamsTraitConst for BoxedRef<'_, FacemarkKazemi_Params>
fn as_raw_FacemarkKazemi_Params( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn cascade_depth(&self) -> u32
fn cascade_depth(&self) -> u32
cascade_depth This stores the deapth of cascade used for training.
Source§fn tree_depth(&self) -> u32
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
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
fn learning_rate(&self) -> f32
learning_rate stores the learning rate in gradient boosting, also referred as shrinkage.
Source§fn oversampling_amount(&self) -> u32
fn oversampling_amount(&self) -> u32
oversampling_amount stores number of initialisations used to create training samples.
Source§fn num_test_coordinates(&self) -> u32
fn num_test_coordinates(&self) -> u32
num_test_coordinates stores number of test coordinates.
Source§fn lambda(&self) -> f32
fn lambda(&self) -> f32
lambda stores a value to calculate probability of closeness of two coordinates.
Source§fn num_test_splits(&self) -> u32
fn num_test_splits(&self) -> u32
num_test_splits stores number of random test splits generated.
Source§fn configfile(&self) -> String
fn configfile(&self) -> String
configfile stores the name of the file containing the values of training parameters
Source§impl FacemarkLBFTraitConst for BoxedRef<'_, FacemarkLBF>
impl FacemarkLBFTraitConst for BoxedRef<'_, FacemarkLBF>
fn as_raw_FacemarkLBF(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl FacemarkLBF_ParamsTraitConst for BoxedRef<'_, FacemarkLBF_Params>
impl FacemarkLBF_ParamsTraitConst for BoxedRef<'_, FacemarkLBF_Params>
fn as_raw_FacemarkLBF_Params( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn shape_offset(&self) -> f64
fn cascade_face(&self) -> String
fn verbose(&self) -> bool
fn n_landmarks(&self) -> i32
fn init_shape_n(&self) -> i32
fn stages_n(&self) -> i32
fn tree_n(&self) -> i32
fn tree_depth(&self) -> i32
fn bagging_overlap(&self) -> f64
fn model_filename(&self) -> String
Source§fn save_model(&self) -> bool
fn save_model(&self) -> bool
flag to save the trained model or not
fn feats_m(&self) -> Vector<i32>
fn radius_m(&self) -> Vector<f64>
fn detect_roi(&self) -> Rect
fn write(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>
Source§impl FacemarkTrainTraitConst for BoxedRef<'_, FacemarkAAM>
impl FacemarkTrainTraitConst for BoxedRef<'_, FacemarkAAM>
fn as_raw_FacemarkTrain( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl FacemarkTrainTraitConst for BoxedRef<'_, FacemarkLBF>
impl FacemarkTrainTraitConst for BoxedRef<'_, FacemarkLBF>
fn as_raw_FacemarkTrain( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl FacemarkTrainTraitConst for BoxedRef<'_, FacemarkTrain>
impl FacemarkTrainTraitConst for BoxedRef<'_, FacemarkTrain>
fn as_raw_FacemarkTrain( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl FacemarkTraitConst for BoxedRef<'_, Facemark>
impl FacemarkTraitConst for BoxedRef<'_, Facemark>
fn as_raw_Facemark(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl FacemarkTraitConst for BoxedRef<'_, FacemarkAAM>
impl FacemarkTraitConst for BoxedRef<'_, FacemarkAAM>
fn as_raw_Facemark(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl FacemarkTraitConst for BoxedRef<'_, FacemarkKazemi>
impl FacemarkTraitConst for BoxedRef<'_, FacemarkKazemi>
fn as_raw_Facemark(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl FacemarkTraitConst for BoxedRef<'_, FacemarkLBF>
impl FacemarkTraitConst for BoxedRef<'_, FacemarkLBF>
fn as_raw_Facemark(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl FacemarkTraitConst for BoxedRef<'_, FacemarkTrain>
impl FacemarkTraitConst for BoxedRef<'_, FacemarkTrain>
fn as_raw_Facemark(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl FarnebackOpticalFlowTraitConst for BoxedRef<'_, FarnebackOpticalFlow>
impl FarnebackOpticalFlowTraitConst for BoxedRef<'_, FarnebackOpticalFlow>
fn as_raw_FarnebackOpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_num_levels(&self) -> Result<i32>
fn get_pyr_scale(&self) -> Result<f64>
fn get_fast_pyramids(&self) -> Result<bool>
fn get_win_size(&self) -> Result<i32>
fn get_num_iters(&self) -> Result<i32>
fn get_poly_n(&self) -> Result<i32>
fn get_poly_sigma(&self) -> Result<f64>
fn get_flags(&self) -> Result<i32>
Source§impl FastBilateralSolverFilterTraitConst for BoxedRef<'_, FastBilateralSolverFilter>
impl FastBilateralSolverFilterTraitConst for BoxedRef<'_, FastBilateralSolverFilter>
fn as_raw_FastBilateralSolverFilter( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl FastFeatureDetectorTraitConst for BoxedRef<'_, FastFeatureDetector>
impl FastFeatureDetectorTraitConst for BoxedRef<'_, FastFeatureDetector>
fn as_raw_FastFeatureDetector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_threshold(&self) -> Result<i32>
fn get_nonmax_suppression(&self) -> Result<bool>
fn get_type(&self) -> Result<FastFeatureDetector_DetectorType>
fn get_default_name(&self) -> Result<String>
Source§impl FastGlobalSmootherFilterTraitConst for BoxedRef<'_, FastGlobalSmootherFilter>
impl FastGlobalSmootherFilterTraitConst for BoxedRef<'_, FastGlobalSmootherFilter>
fn as_raw_FastGlobalSmootherFilter( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl FastICPOdometryTraitConst for BoxedRef<'_, FastICPOdometry>
impl FastICPOdometryTraitConst for BoxedRef<'_, FastICPOdometry>
fn as_raw_FastICPOdometry( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn prepare_frame_cache( &self, frame: &mut Ptr<OdometryFrame>, cache_type: i32, ) -> Result<Size>
fn get_camera_matrix(&self) -> Result<Mat>
fn get_max_dist_diff(&self) -> Result<f64>
fn get_angle_threshold(&self) -> Result<f32>
fn get_sigma_depth(&self) -> Result<f32>
fn get_sigma_spatial(&self) -> Result<f32>
fn get_kernel_size(&self) -> Result<i32>
fn get_iteration_counts(&self) -> Result<Mat>
fn get_transform_type(&self) -> Result<i32>
Source§impl FastLineDetectorTraitConst for BoxedRef<'_, FastLineDetector>
impl FastLineDetectorTraitConst for BoxedRef<'_, FastLineDetector>
fn as_raw_FastLineDetector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl FastMarchingMethodTraitConst for BoxedRef<'_, FastMarchingMethod>
impl FastMarchingMethodTraitConst for BoxedRef<'_, FastMarchingMethod>
fn as_raw_FastMarchingMethod( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Feature2DTraitConst for BoxedRef<'_, AKAZE>
impl Feature2DTraitConst for BoxedRef<'_, AKAZE>
fn as_raw_Feature2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn descriptor_size(&self) -> Result<i32>
fn descriptor_type(&self) -> Result<i32>
fn default_norm(&self) -> Result<i32>
fn write(&self, file_name: &str) -> Result<()>
fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>
fn get_default_name(&self) -> Result<String>
fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>
fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>
Source§impl Feature2DTraitConst for BoxedRef<'_, AffineFeature>
impl Feature2DTraitConst for BoxedRef<'_, AffineFeature>
fn as_raw_Feature2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn descriptor_size(&self) -> Result<i32>
fn descriptor_type(&self) -> Result<i32>
fn default_norm(&self) -> Result<i32>
fn write(&self, file_name: &str) -> Result<()>
fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>
fn get_default_name(&self) -> Result<String>
fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>
fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>
Source§impl Feature2DTraitConst for BoxedRef<'_, AffineFeature2D>
impl Feature2DTraitConst for BoxedRef<'_, AffineFeature2D>
fn as_raw_Feature2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn descriptor_size(&self) -> Result<i32>
fn descriptor_type(&self) -> Result<i32>
fn default_norm(&self) -> Result<i32>
fn write(&self, file_name: &str) -> Result<()>
fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>
fn get_default_name(&self) -> Result<String>
fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>
fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>
Source§impl Feature2DTraitConst for BoxedRef<'_, AgastFeatureDetector>
impl Feature2DTraitConst for BoxedRef<'_, AgastFeatureDetector>
fn as_raw_Feature2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn descriptor_size(&self) -> Result<i32>
fn descriptor_type(&self) -> Result<i32>
fn default_norm(&self) -> Result<i32>
fn write(&self, file_name: &str) -> Result<()>
fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>
fn get_default_name(&self) -> Result<String>
fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>
fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>
Source§impl Feature2DTraitConst for BoxedRef<'_, BEBLID>
impl Feature2DTraitConst for BoxedRef<'_, BEBLID>
fn as_raw_Feature2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn descriptor_size(&self) -> Result<i32>
fn descriptor_type(&self) -> Result<i32>
fn default_norm(&self) -> Result<i32>
fn write(&self, file_name: &str) -> Result<()>
fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>
fn get_default_name(&self) -> Result<String>
fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>
fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>
Source§impl Feature2DTraitConst for BoxedRef<'_, BRISK>
impl Feature2DTraitConst for BoxedRef<'_, BRISK>
fn as_raw_Feature2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn descriptor_size(&self) -> Result<i32>
fn descriptor_type(&self) -> Result<i32>
fn default_norm(&self) -> Result<i32>
fn write(&self, file_name: &str) -> Result<()>
fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>
fn get_default_name(&self) -> Result<String>
fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>
fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>
Source§impl Feature2DTraitConst for BoxedRef<'_, BoostDesc>
impl Feature2DTraitConst for BoxedRef<'_, BoostDesc>
fn as_raw_Feature2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn descriptor_size(&self) -> Result<i32>
fn descriptor_type(&self) -> Result<i32>
fn default_norm(&self) -> Result<i32>
fn write(&self, file_name: &str) -> Result<()>
fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>
fn get_default_name(&self) -> Result<String>
fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>
fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>
Source§impl Feature2DTraitConst for BoxedRef<'_, BriefDescriptorExtractor>
impl Feature2DTraitConst for BoxedRef<'_, BriefDescriptorExtractor>
fn as_raw_Feature2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn descriptor_size(&self) -> Result<i32>
fn descriptor_type(&self) -> Result<i32>
fn default_norm(&self) -> Result<i32>
fn write(&self, file_name: &str) -> Result<()>
fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>
fn get_default_name(&self) -> Result<String>
fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>
fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>
Source§impl Feature2DTraitConst for BoxedRef<'_, CUDA_FastFeatureDetector>
impl Feature2DTraitConst for BoxedRef<'_, CUDA_FastFeatureDetector>
fn as_raw_Feature2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn descriptor_size(&self) -> Result<i32>
fn descriptor_type(&self) -> Result<i32>
fn default_norm(&self) -> Result<i32>
fn write(&self, file_name: &str) -> Result<()>
fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>
fn get_default_name(&self) -> Result<String>
fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>
fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>
Source§impl Feature2DTraitConst for BoxedRef<'_, CUDA_Feature2DAsync>
impl Feature2DTraitConst for BoxedRef<'_, CUDA_Feature2DAsync>
fn as_raw_Feature2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn descriptor_size(&self) -> Result<i32>
fn descriptor_type(&self) -> Result<i32>
fn default_norm(&self) -> Result<i32>
fn write(&self, file_name: &str) -> Result<()>
fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>
fn get_default_name(&self) -> Result<String>
fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>
fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>
Source§impl Feature2DTraitConst for BoxedRef<'_, CUDA_ORB>
impl Feature2DTraitConst for BoxedRef<'_, CUDA_ORB>
fn as_raw_Feature2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn descriptor_size(&self) -> Result<i32>
fn descriptor_type(&self) -> Result<i32>
fn default_norm(&self) -> Result<i32>
fn write(&self, file_name: &str) -> Result<()>
fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>
fn get_default_name(&self) -> Result<String>
fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>
fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>
Source§impl Feature2DTraitConst for BoxedRef<'_, DAISY>
impl Feature2DTraitConst for BoxedRef<'_, DAISY>
fn as_raw_Feature2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn descriptor_size(&self) -> Result<i32>
fn descriptor_type(&self) -> Result<i32>
fn default_norm(&self) -> Result<i32>
fn write(&self, file_name: &str) -> Result<()>
fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>
fn get_default_name(&self) -> Result<String>
fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>
fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>
Source§impl Feature2DTraitConst for BoxedRef<'_, FREAK>
impl Feature2DTraitConst for BoxedRef<'_, FREAK>
fn as_raw_Feature2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn descriptor_size(&self) -> Result<i32>
fn descriptor_type(&self) -> Result<i32>
fn default_norm(&self) -> Result<i32>
fn write(&self, file_name: &str) -> Result<()>
fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>
fn get_default_name(&self) -> Result<String>
fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>
fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>
Source§impl Feature2DTraitConst for BoxedRef<'_, FastFeatureDetector>
impl Feature2DTraitConst for BoxedRef<'_, FastFeatureDetector>
fn as_raw_Feature2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn descriptor_size(&self) -> Result<i32>
fn descriptor_type(&self) -> Result<i32>
fn default_norm(&self) -> Result<i32>
fn write(&self, file_name: &str) -> Result<()>
fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>
fn get_default_name(&self) -> Result<String>
fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>
fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>
Source§impl Feature2DTraitConst for BoxedRef<'_, Feature2D>
impl Feature2DTraitConst for BoxedRef<'_, Feature2D>
fn as_raw_Feature2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn descriptor_size(&self) -> Result<i32>
fn descriptor_type(&self) -> Result<i32>
fn default_norm(&self) -> Result<i32>
fn write(&self, file_name: &str) -> Result<()>
fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>
fn get_default_name(&self) -> Result<String>
fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>
fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>
Source§impl Feature2DTraitConst for BoxedRef<'_, GFTTDetector>
impl Feature2DTraitConst for BoxedRef<'_, GFTTDetector>
fn as_raw_Feature2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn descriptor_size(&self) -> Result<i32>
fn descriptor_type(&self) -> Result<i32>
fn default_norm(&self) -> Result<i32>
fn write(&self, file_name: &str) -> Result<()>
fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>
fn get_default_name(&self) -> Result<String>
fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>
fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>
Source§impl Feature2DTraitConst for BoxedRef<'_, HarrisLaplaceFeatureDetector>
impl Feature2DTraitConst for BoxedRef<'_, HarrisLaplaceFeatureDetector>
fn as_raw_Feature2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn descriptor_size(&self) -> Result<i32>
fn descriptor_type(&self) -> Result<i32>
fn default_norm(&self) -> Result<i32>
fn write(&self, file_name: &str) -> Result<()>
fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>
fn get_default_name(&self) -> Result<String>
fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>
fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>
Source§impl Feature2DTraitConst for BoxedRef<'_, KAZE>
impl Feature2DTraitConst for BoxedRef<'_, KAZE>
fn as_raw_Feature2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn descriptor_size(&self) -> Result<i32>
fn descriptor_type(&self) -> Result<i32>
fn default_norm(&self) -> Result<i32>
fn write(&self, file_name: &str) -> Result<()>
fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>
fn get_default_name(&self) -> Result<String>
fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>
fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>
Source§impl Feature2DTraitConst for BoxedRef<'_, LATCH>
impl Feature2DTraitConst for BoxedRef<'_, LATCH>
fn as_raw_Feature2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn descriptor_size(&self) -> Result<i32>
fn descriptor_type(&self) -> Result<i32>
fn default_norm(&self) -> Result<i32>
fn write(&self, file_name: &str) -> Result<()>
fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>
fn get_default_name(&self) -> Result<String>
fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>
fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>
Source§impl Feature2DTraitConst for BoxedRef<'_, LUCID>
impl Feature2DTraitConst for BoxedRef<'_, LUCID>
fn as_raw_Feature2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn descriptor_size(&self) -> Result<i32>
fn descriptor_type(&self) -> Result<i32>
fn default_norm(&self) -> Result<i32>
fn write(&self, file_name: &str) -> Result<()>
fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>
fn get_default_name(&self) -> Result<String>
fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>
fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>
Source§impl Feature2DTraitConst for BoxedRef<'_, MSDDetector>
impl Feature2DTraitConst for BoxedRef<'_, MSDDetector>
fn as_raw_Feature2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn descriptor_size(&self) -> Result<i32>
fn descriptor_type(&self) -> Result<i32>
fn default_norm(&self) -> Result<i32>
fn write(&self, file_name: &str) -> Result<()>
fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>
fn get_default_name(&self) -> Result<String>
fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>
fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>
Source§impl Feature2DTraitConst for BoxedRef<'_, MSER>
impl Feature2DTraitConst for BoxedRef<'_, MSER>
fn as_raw_Feature2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn descriptor_size(&self) -> Result<i32>
fn descriptor_type(&self) -> Result<i32>
fn default_norm(&self) -> Result<i32>
fn write(&self, file_name: &str) -> Result<()>
fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>
fn get_default_name(&self) -> Result<String>
fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>
fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>
Source§impl Feature2DTraitConst for BoxedRef<'_, ORB>
impl Feature2DTraitConst for BoxedRef<'_, ORB>
fn as_raw_Feature2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn descriptor_size(&self) -> Result<i32>
fn descriptor_type(&self) -> Result<i32>
fn default_norm(&self) -> Result<i32>
fn write(&self, file_name: &str) -> Result<()>
fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>
fn get_default_name(&self) -> Result<String>
fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>
fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>
Source§impl Feature2DTraitConst for BoxedRef<'_, SIFT>
impl Feature2DTraitConst for BoxedRef<'_, SIFT>
fn as_raw_Feature2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn descriptor_size(&self) -> Result<i32>
fn descriptor_type(&self) -> Result<i32>
fn default_norm(&self) -> Result<i32>
fn write(&self, file_name: &str) -> Result<()>
fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>
fn get_default_name(&self) -> Result<String>
fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>
fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>
Source§impl Feature2DTraitConst for BoxedRef<'_, SURF>
impl Feature2DTraitConst for BoxedRef<'_, SURF>
fn as_raw_Feature2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn descriptor_size(&self) -> Result<i32>
fn descriptor_type(&self) -> Result<i32>
fn default_norm(&self) -> Result<i32>
fn write(&self, file_name: &str) -> Result<()>
fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>
fn get_default_name(&self) -> Result<String>
fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>
fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>
Source§impl Feature2DTraitConst for BoxedRef<'_, SimpleBlobDetector>
impl Feature2DTraitConst for BoxedRef<'_, SimpleBlobDetector>
fn as_raw_Feature2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn descriptor_size(&self) -> Result<i32>
fn descriptor_type(&self) -> Result<i32>
fn default_norm(&self) -> Result<i32>
fn write(&self, file_name: &str) -> Result<()>
fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>
fn get_default_name(&self) -> Result<String>
fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>
fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>
Source§impl Feature2DTraitConst for BoxedRef<'_, StarDetector>
impl Feature2DTraitConst for BoxedRef<'_, StarDetector>
fn as_raw_Feature2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn descriptor_size(&self) -> Result<i32>
fn descriptor_type(&self) -> Result<i32>
fn default_norm(&self) -> Result<i32>
fn write(&self, file_name: &str) -> Result<()>
fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>
fn get_default_name(&self) -> Result<String>
fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>
fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>
Source§impl Feature2DTraitConst for BoxedRef<'_, TBMR>
impl Feature2DTraitConst for BoxedRef<'_, TBMR>
fn as_raw_Feature2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn descriptor_size(&self) -> Result<i32>
fn descriptor_type(&self) -> Result<i32>
fn default_norm(&self) -> Result<i32>
fn write(&self, file_name: &str) -> Result<()>
fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>
fn get_default_name(&self) -> Result<String>
fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>
fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>
Source§impl Feature2DTraitConst for BoxedRef<'_, TEBLID>
impl Feature2DTraitConst for BoxedRef<'_, TEBLID>
fn as_raw_Feature2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn descriptor_size(&self) -> Result<i32>
fn descriptor_type(&self) -> Result<i32>
fn default_norm(&self) -> Result<i32>
fn write(&self, file_name: &str) -> Result<()>
fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>
fn get_default_name(&self) -> Result<String>
fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>
fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>
Source§impl Feature2DTraitConst for BoxedRef<'_, VGG>
impl Feature2DTraitConst for BoxedRef<'_, VGG>
fn as_raw_Feature2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn descriptor_size(&self) -> Result<i32>
fn descriptor_type(&self) -> Result<i32>
fn default_norm(&self) -> Result<i32>
fn write(&self, file_name: &str) -> Result<()>
fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>
fn get_default_name(&self) -> Result<String>
fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str, ) -> Result<()>
fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str, ) -> Result<()>
Source§impl FileNodeIteratorTraitConst for BoxedRef<'_, FileNodeIterator>
impl FileNodeIteratorTraitConst for BoxedRef<'_, FileNodeIterator>
fn as_raw_FileNodeIterator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn equal_to(&self, it: &impl FileNodeIteratorTraitConst) -> Result<bool>
Source§impl FileNodeTraitConst for BoxedRef<'_, FileNode>
impl FileNodeTraitConst for BoxedRef<'_, FileNode>
fn as_raw_FileNode(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn block_idx(&self) -> size_t
fn ofs(&self) -> size_t
Source§fn get(&self, nodename: &str) -> Result<FileNode>
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>
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>
fn at(&self, i: i32) -> Result<FileNode>
Returns element of a mapping node or a sequence node. Read more
Source§fn name(&self) -> Result<String>
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>
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 to_i32(&self) -> Result<i32>
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>
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.
fn ptr(&self) -> Result<*const u8>
Source§fn begin(&self) -> Result<FileNodeIterator>
fn begin(&self) -> Result<FileNodeIterator>
returns iterator pointing to the first node element
Source§fn end(&self) -> Result<FileNodeIterator>
fn end(&self) -> Result<FileNodeIterator>
returns iterator pointing to the element following the last node element
Source§impl FileStorageTraitConst for BoxedRef<'_, FileStorage>
impl FileStorageTraitConst for BoxedRef<'_, FileStorage>
fn as_raw_FileStorage(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn state(&self) -> i32
fn elname(&self) -> String
Source§fn get_first_top_level_node(&self) -> Result<FileNode>
fn get_first_top_level_node(&self) -> Result<FileNode>
Returns the first element of the top-level mapping. Read more
Source§fn get(&self, nodename: &str) -> Result<FileNode>
fn get(&self, nodename: &str) -> Result<FileNode>
Returns the specified element of the top-level mapping. Read more
Source§impl FilterTraitConst for BoxedRef<'_, Filter>
impl FilterTraitConst for BoxedRef<'_, Filter>
fn as_raw_Filter(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl FisherFaceRecognizerTraitConst for BoxedRef<'_, FisherFaceRecognizer>
impl FisherFaceRecognizerTraitConst for BoxedRef<'_, FisherFaceRecognizer>
fn as_raw_FisherFaceRecognizer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl FisheyeWarperTraitConst for BoxedRef<'_, FisheyeWarper>
impl FisheyeWarperTraitConst for BoxedRef<'_, FisheyeWarper>
fn as_raw_FisheyeWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn create(&self, scale: f32) -> Result<Ptr<Detail_RotationWarper>>
Source§impl FlannBasedMatcherTraitConst for BoxedRef<'_, FlannBasedMatcher>
impl FlannBasedMatcherTraitConst for BoxedRef<'_, FlannBasedMatcher>
fn as_raw_FlannBasedMatcher( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn write(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>
fn is_mask_supported(&self) -> Result<bool>
Source§impl FlattenLayerTraitConst for BoxedRef<'_, FlattenLayer>
impl FlattenLayerTraitConst for BoxedRef<'_, FlattenLayer>
fn as_raw_FlattenLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl FloorLayerTraitConst for BoxedRef<'_, FloorLayer>
impl FloorLayerTraitConst for BoxedRef<'_, FloorLayer>
fn as_raw_FloorLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl FlowWarpLayerTraitConst for BoxedRef<'_, FlowWarpLayer>
impl FlowWarpLayerTraitConst for BoxedRef<'_, FlowWarpLayer>
fn as_raw_FlowWarpLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl FormattedTraitConst for BoxedRef<'_, Formatted>
impl FormattedTraitConst for BoxedRef<'_, Formatted>
fn as_raw_Formatted(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl FormatterTraitConst for BoxedRef<'_, Formatter>
impl FormatterTraitConst for BoxedRef<'_, Formatter>
fn as_raw_Formatter(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn format(&self, mtx: &impl MatTraitConst) -> Result<Ptr<Formatted>>
Source§impl FreeType2TraitConst for BoxedRef<'_, FreeType2>
impl FreeType2TraitConst for BoxedRef<'_, FreeType2>
fn as_raw_FreeType2(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl<'r, T: Boxed> From<BoxedRefMut<'r, T>> for BoxedRef<'r, T>
impl<'r, T: Boxed> From<BoxedRefMut<'r, T>> for BoxedRef<'r, T>
Source§fn from(value: BoxedRefMut<'r, T>) -> Self
fn from(value: BoxedRefMut<'r, T>) -> Self
Irreversibly convert this BoxedRefMut into a non-mutable BoxedRef
Source§impl FromFileMotionReaderTraitConst for BoxedRef<'_, FromFileMotionReader>
impl FromFileMotionReaderTraitConst for BoxedRef<'_, FromFileMotionReader>
fn as_raw_FromFileMotionReader( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl FunctionParamsTraitConst for BoxedRef<'_, FunctionParams>
impl FunctionParamsTraitConst for BoxedRef<'_, FunctionParams>
Source§impl GArgTraitConst for BoxedRef<'_, GArg>
impl GArgTraitConst for BoxedRef<'_, GArg>
fn as_raw_GArg(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn kind(&self) -> Detail_ArgKind
fn opaque_kind(&self) -> Detail_OpaqueKind
Source§impl GArrayDescTraitConst for BoxedRef<'_, GArrayDesc>
impl GArrayDescTraitConst for BoxedRef<'_, GArrayDesc>
fn as_raw_GArrayDesc(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn equals(&self, unnamed: &impl GArrayDescTraitConst) -> Result<bool>
Source§impl GBackendTraitConst for BoxedRef<'_, GBackend>
impl GBackendTraitConst for BoxedRef<'_, GBackend>
fn as_raw_GBackend(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn equals(&self, rhs: &impl GBackendTraitConst) -> Result<bool>
Source§impl GCallTraitConst for BoxedRef<'_, GCall>
impl GCallTraitConst for BoxedRef<'_, GCall>
fn as_raw_GCall(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl GCompileArgTraitConst for BoxedRef<'_, GCompileArg>
impl GCompileArgTraitConst for BoxedRef<'_, GCompileArg>
Source§impl GCompiledTraitConst for BoxedRef<'_, GCompiled>
impl GCompiledTraitConst for BoxedRef<'_, GCompiled>
Source§impl GComputationTraitConst for BoxedRef<'_, GComputation>
impl GComputationTraitConst for BoxedRef<'_, GComputation>
fn as_raw_GComputation(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl GFTTDetectorTraitConst for BoxedRef<'_, GFTTDetector>
impl GFTTDetectorTraitConst for BoxedRef<'_, GFTTDetector>
fn as_raw_GFTTDetector(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_max_features(&self) -> Result<i32>
fn get_quality_level(&self) -> Result<f64>
fn get_min_distance(&self) -> Result<f64>
fn get_block_size(&self) -> Result<i32>
fn get_harris_detector(&self) -> Result<bool>
fn get_k(&self) -> Result<f64>
fn get_default_name(&self) -> Result<String>
Source§impl GFrameDescTraitConst for BoxedRef<'_, GFrameDesc>
impl GFrameDescTraitConst for BoxedRef<'_, GFrameDesc>
Source§impl GFrameTraitConst for BoxedRef<'_, GFrame>
impl GFrameTraitConst for BoxedRef<'_, GFrame>
fn as_raw_GFrame(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl GFunctorTraitConst for BoxedRef<'_, GFunctor>
impl GFunctorTraitConst for BoxedRef<'_, GFunctor>
Source§impl GKernelImplTraitConst for BoxedRef<'_, GKernelImpl>
impl GKernelImplTraitConst for BoxedRef<'_, GKernelImpl>
Source§impl GKernelPackageTraitConst for BoxedRef<'_, GKernelPackage>
impl GKernelPackageTraitConst for BoxedRef<'_, GKernelPackage>
fn as_raw_GKernelPackage( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_transformations(&self) -> Result<Vector<GTransform>>
fn get_transformations(&self) -> Result<Vector<GTransform>>
Returns vector of transformations included in the package Read more
Source§impl GKernelTraitConst for BoxedRef<'_, GKernel>
impl GKernelTraitConst for BoxedRef<'_, GKernel>
Source§impl GMatDescTraitConst for BoxedRef<'_, GMatDesc>
impl GMatDescTraitConst for BoxedRef<'_, GMatDesc>
fn as_raw_GMatDesc(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn depth(&self) -> i32
fn chan(&self) -> i32
fn size(&self) -> Size
fn planar(&self) -> bool
fn dims(&self) -> Vector<i32>
fn equals(&self, rhs: &impl GMatDescTraitConst) -> Result<bool>
fn not_equals(&self, rhs: &impl GMatDescTraitConst) -> Result<bool>
fn is_nd(&self) -> Result<bool>
fn can_describe(&self, mat: &impl MatTraitConst) -> Result<bool>
fn can_describe_1(&self, mat: &impl RMatTraitConst) -> Result<bool>
fn with_size_delta(&self, delta: Size) -> Result<GMatDesc>
fn with_size_delta_1(&self, dx: i32, dy: i32) -> Result<GMatDesc>
fn with_size(&self, sz: Size) -> Result<GMatDesc>
fn with_depth(&self, ddepth: i32) -> Result<GMatDesc>
fn with_type(&self, ddepth: i32, dchan: i32) -> Result<GMatDesc>
fn as_planar(&self) -> Result<GMatDesc>
fn as_planar_1(&self, planes: i32) -> Result<GMatDesc>
fn as_interleaved(&self) -> Result<GMatDesc>
Source§impl GMatPTraitConst for BoxedRef<'_, GMatP>
impl GMatPTraitConst for BoxedRef<'_, GMatP>
fn as_raw_GMatP(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl GMatTraitConst for BoxedRef<'_, GMat>
impl GMatTraitConst for BoxedRef<'_, GMat>
fn as_raw_GMat(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl GMatTraitConst for BoxedRef<'_, GMatP>
impl GMatTraitConst for BoxedRef<'_, GMatP>
fn as_raw_GMat(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl GOpaqueDescTraitConst for BoxedRef<'_, GOpaqueDesc>
impl GOpaqueDescTraitConst for BoxedRef<'_, GOpaqueDesc>
fn as_raw_GOpaqueDesc(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn equals(&self, unnamed: &impl GOpaqueDescTraitConst) -> Result<bool>
Source§impl GPCDetailsTraitConst for BoxedRef<'_, GPCDetails>
impl GPCDetailsTraitConst for BoxedRef<'_, GPCDetails>
fn as_raw_GPCDetails(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl GPCPatchDescriptorTraitConst for BoxedRef<'_, GPCPatchDescriptor>
impl GPCPatchDescriptorTraitConst for BoxedRef<'_, GPCPatchDescriptor>
Source§impl GPCPatchSampleTraitConst for BoxedRef<'_, GPCPatchSample>
impl GPCPatchSampleTraitConst for BoxedRef<'_, GPCPatchSample>
fn as_raw_GPCPatchSample( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn ref_(&self) -> GPCPatchDescriptor
fn pos(&self) -> GPCPatchDescriptor
fn neg(&self) -> GPCPatchDescriptor
fn get_directions( &self, refdir: &mut bool, posdir: &mut bool, negdir: &mut bool, coef: VecN<f64, 18>, rhs: f64, ) -> Result<()>
Source§impl GPCTrainingSamplesTraitConst for BoxedRef<'_, GPCTrainingSamples>
impl GPCTrainingSamplesTraitConst for BoxedRef<'_, GPCTrainingSamples>
Source§impl GPCTreeTraitConst for BoxedRef<'_, GPCTree>
impl GPCTreeTraitConst for BoxedRef<'_, GPCTree>
fn as_raw_GPCTree(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn find_leaf_for_patch( &self, descr: &impl GPCPatchDescriptorTraitConst, ) -> Result<u32>
fn equals(&self, t: &impl GPCTreeTraitConst) -> Result<bool>
fn get_descriptor_type(&self) -> Result<i32>
Source§impl GRULayerTraitConst for BoxedRef<'_, GRULayer>
impl GRULayerTraitConst for BoxedRef<'_, GRULayer>
fn as_raw_GRULayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl GRunArgTraitConst for BoxedRef<'_, Data>
impl GRunArgTraitConst for BoxedRef<'_, Data>
fn as_raw_GRunArg(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl GRunArgTraitConst for BoxedRef<'_, GRunArg>
impl GRunArgTraitConst for BoxedRef<'_, GRunArg>
fn as_raw_GRunArg(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl GScalarDescTraitConst for BoxedRef<'_, GScalarDesc>
impl GScalarDescTraitConst for BoxedRef<'_, GScalarDesc>
fn as_raw_GScalarDesc(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn equals(&self, unnamed: &impl GScalarDescTraitConst) -> Result<bool>
fn not_equals(&self, rhs: &impl GScalarDescTraitConst) -> Result<bool>
Source§impl GScalarTraitConst for BoxedRef<'_, GScalar>
impl GScalarTraitConst for BoxedRef<'_, GScalar>
fn as_raw_GScalar(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl GStreamingCompiledTraitConst for BoxedRef<'_, GStreamingCompiled>
impl GStreamingCompiledTraitConst for BoxedRef<'_, GStreamingCompiled>
Source§impl GTransformTraitConst for BoxedRef<'_, GTransform>
impl GTransformTraitConst for BoxedRef<'_, GTransform>
fn as_raw_GTransform(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn description(&self) -> String
Source§impl GTypeInfoTraitConst for BoxedRef<'_, GTypeInfo>
impl GTypeInfoTraitConst for BoxedRef<'_, GTypeInfo>
Source§impl GatherElementsLayerTraitConst for BoxedRef<'_, GatherElementsLayer>
impl GatherElementsLayerTraitConst for BoxedRef<'_, GatherElementsLayer>
fn as_raw_GatherElementsLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl GatherLayerTraitConst for BoxedRef<'_, GatherLayer>
impl GatherLayerTraitConst for BoxedRef<'_, GatherLayer>
fn as_raw_GatherLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl GeluApproximationLayerTraitConst for BoxedRef<'_, GeluApproximationLayer>
impl GeluApproximationLayerTraitConst for BoxedRef<'_, GeluApproximationLayer>
fn as_raw_GeluApproximationLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl GeluLayerTraitConst for BoxedRef<'_, GeluLayer>
impl GeluLayerTraitConst for BoxedRef<'_, GeluLayer>
fn as_raw_GeluLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl GemmLayerTraitConst for BoxedRef<'_, GemmLayer>
impl GemmLayerTraitConst for BoxedRef<'_, GemmLayer>
Source§impl GeneralizedHoughBallardTraitConst for BoxedRef<'_, GeneralizedHoughBallard>
impl GeneralizedHoughBallardTraitConst for BoxedRef<'_, GeneralizedHoughBallard>
fn as_raw_GeneralizedHoughBallard( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_levels(&self) -> Result<i32>
fn get_votes_threshold(&self) -> Result<i32>
Source§impl GeneralizedHoughGuilTraitConst for BoxedRef<'_, GeneralizedHoughGuil>
impl GeneralizedHoughGuilTraitConst for BoxedRef<'_, GeneralizedHoughGuil>
fn as_raw_GeneralizedHoughGuil( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_xi(&self) -> Result<f64>
fn get_levels(&self) -> Result<i32>
fn get_angle_epsilon(&self) -> Result<f64>
fn get_min_angle(&self) -> Result<f64>
fn get_max_angle(&self) -> Result<f64>
fn get_angle_step(&self) -> Result<f64>
fn get_angle_thresh(&self) -> Result<i32>
fn get_min_scale(&self) -> Result<f64>
fn get_max_scale(&self) -> Result<f64>
fn get_scale_step(&self) -> Result<f64>
fn get_scale_thresh(&self) -> Result<i32>
fn get_pos_thresh(&self) -> Result<i32>
Source§impl GeneralizedHoughTraitConst for BoxedRef<'_, GeneralizedHough>
impl GeneralizedHoughTraitConst for BoxedRef<'_, GeneralizedHough>
fn as_raw_GeneralizedHough( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_canny_low_thresh(&self) -> Result<i32>
fn get_canny_high_thresh(&self) -> Result<i32>
fn get_min_dist(&self) -> Result<f64>
fn get_dp(&self) -> Result<f64>
fn get_max_buffer_size(&self) -> Result<i32>
Source§impl GeneralizedHoughTraitConst for BoxedRef<'_, GeneralizedHoughBallard>
impl GeneralizedHoughTraitConst for BoxedRef<'_, GeneralizedHoughBallard>
fn as_raw_GeneralizedHough( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_canny_low_thresh(&self) -> Result<i32>
fn get_canny_high_thresh(&self) -> Result<i32>
fn get_min_dist(&self) -> Result<f64>
fn get_dp(&self) -> Result<f64>
fn get_max_buffer_size(&self) -> Result<i32>
Source§impl GeneralizedHoughTraitConst for BoxedRef<'_, GeneralizedHoughGuil>
impl GeneralizedHoughTraitConst for BoxedRef<'_, GeneralizedHoughGuil>
fn as_raw_GeneralizedHough( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_canny_low_thresh(&self) -> Result<i32>
fn get_canny_high_thresh(&self) -> Result<i32>
fn get_min_dist(&self) -> Result<f64>
fn get_dp(&self) -> Result<f64>
fn get_max_buffer_size(&self) -> Result<i32>
Source§impl GpuDataTraitConst for BoxedRef<'_, GpuData>
impl GpuDataTraitConst for BoxedRef<'_, GpuData>
Source§impl GpuMatNDTraitConst for BoxedRef<'_, GpuMatND>
impl GpuMatNDTraitConst for BoxedRef<'_, GpuMatND>
fn as_raw_GpuMatND(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn size(&self) -> GpuMatND_SizeArray
fn size(&self) -> GpuMatND_SizeArray
shape of this array
Source§fn step(&self) -> GpuMatND_StepArray
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>
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>
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>>
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>>
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>>
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>>
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>
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
fn download(&self, dst: &mut impl ToOutputArray) -> Result<()>
fn download_1( &self, dst: &mut impl ToOutputArray, stream: &mut impl StreamTrait, ) -> Result<()>
Source§fn is_continuous(&self) -> Result<bool>
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>
fn is_submatrix(&self) -> Result<bool>
returns true if the matrix is a sub-matrix of another matrix
Source§fn elem_size1(&self) -> Result<size_t>
fn elem_size1(&self) -> Result<size_t>
returns the size of element channel in bytes
Source§fn external(&self) -> Result<bool>
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>
fn get_device_ptr(&self) -> Result<*mut u8>
returns pointer to the first byte of the GPU memory
Source§fn total_mem_size(&self) -> Result<size_t>
fn total_mem_size(&self) -> Result<size_t>
returns the size of underlying memory in bytes
Source§impl GpuMatTraitConst for BoxedRef<'_, GpuMat>
impl GpuMatTraitConst for BoxedRef<'_, GpuMat>
fn as_raw_GpuMat(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn refcount(&self) -> *const i32
fn refcount(&self) -> *const i32
pointer to the reference counter;
when GpuMat points to user-allocated data, the pointer is NULL
fn dataend(&self) -> *const u8
Source§fn download(&self, dst: &mut impl ToOutputArray) -> Result<()>
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<()>
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>
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<()>
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<()>
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<()>
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<()>
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<()>
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<()>
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<()>
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<()>
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<()>
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 ToOutputArray,
rtype: i32,
stream: &mut impl StreamTrait,
) -> Result<()>
fn convert_to_1( &self, dst: &mut impl ToOutputArray, rtype: i32, stream: &mut impl StreamTrait, ) -> Result<()>
converts GpuMat to another datatype (Non-Blocking call)
Source§fn convert_to_2(
&self,
dst: &mut impl GpuMatTrait,
rtype: i32,
stream: &mut impl StreamTrait,
) -> Result<()>
fn convert_to_2( &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_3(
&self,
dst: &mut impl ToOutputArray,
rtype: i32,
alpha: f64,
beta: f64,
) -> Result<()>
fn convert_to_3( &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<()>
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_4(
&self,
dst: &mut impl GpuMatTrait,
rtype: i32,
alpha: f64,
beta: f64,
) -> Result<()>
fn convert_to_4( &self, dst: &mut impl GpuMatTrait, rtype: i32, alpha: f64, beta: f64, ) -> Result<()>
bindings overload which converts GpuMat to another datatype with scaling(Blocking call) Read more
Source§fn convert_to_def_1(&self, dst: &mut impl GpuMatTrait, rtype: i32) -> Result<()>
fn convert_to_def_1(&self, dst: &mut impl GpuMatTrait, rtype: i32) -> Result<()>
bindings overload which 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<()>
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<()>
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<()>
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<()>
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<()>
fn assign_to_def(&self, m: &mut impl GpuMatTrait) -> Result<()>
Note Read more
Source§fn row(&self, y: i32) -> Result<BoxedRef<'_, GpuMat>>
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>>
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>>
fn row_bounds(&self, startrow: i32, endrow: i32) -> Result<BoxedRef<'_, GpuMat>>
… for the specified row span
fn row_range(&self, r: impl RangeTrait) -> Result<BoxedRef<'_, GpuMat>>
Source§fn col_bounds(&self, startcol: i32, endcol: i32) -> Result<BoxedRef<'_, GpuMat>>
fn col_bounds(&self, startcol: i32, endcol: i32) -> Result<BoxedRef<'_, GpuMat>>
… for the specified column span
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>>
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.)
fn roi(&self, roi: Rect) -> Result<BoxedRef<'_, GpuMat>>
Source§fn reshape(&self, cn: i32, rows: i32) -> Result<BoxedRef<'_, GpuMat>>
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>>
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<()>
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>
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_size1(&self) -> Result<size_t>
fn elem_size1(&self) -> Result<size_t>
returns the size of element channel in bytes
Source§fn size(&self) -> Result<Size>
fn size(&self) -> Result<Size>
returns GpuMat size : width == number of columns, height == number of rows
fn cuda_ptr(&self) -> Result<*mut c_void>
Source§impl GpuMat_AllocatorTraitConst for BoxedRef<'_, GpuMat_Allocator>
impl GpuMat_AllocatorTraitConst for BoxedRef<'_, GpuMat_Allocator>
fn as_raw_GpuMat_Allocator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl GraphSegmentationTraitConst for BoxedRef<'_, GraphSegmentation>
impl GraphSegmentationTraitConst for BoxedRef<'_, GraphSegmentation>
fn as_raw_GraphSegmentation( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl GraphicalCodeDetectorTraitConst for BoxedRef<'_, BarcodeDetector>
impl GraphicalCodeDetectorTraitConst for BoxedRef<'_, BarcodeDetector>
fn as_raw_GraphicalCodeDetector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn detect(
&self,
img: &impl ToInputArray,
points: &mut impl ToOutputArray,
) -> Result<bool>
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>>
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>>
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>>
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>>
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>
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>
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>
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>
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>
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 BoxedRef<'_, GraphicalCodeDetector>
impl GraphicalCodeDetectorTraitConst for BoxedRef<'_, GraphicalCodeDetector>
fn as_raw_GraphicalCodeDetector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn detect(
&self,
img: &impl ToInputArray,
points: &mut impl ToOutputArray,
) -> Result<bool>
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>>
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>>
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>>
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>>
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>
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>
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>
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>
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>
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 BoxedRef<'_, QRCodeDetector>
impl GraphicalCodeDetectorTraitConst for BoxedRef<'_, QRCodeDetector>
fn as_raw_GraphicalCodeDetector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn detect(
&self,
img: &impl ToInputArray,
points: &mut impl ToOutputArray,
) -> Result<bool>
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>>
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>>
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>>
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>>
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>
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>
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>
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>
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>
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 BoxedRef<'_, QRCodeDetectorAruco>
impl GraphicalCodeDetectorTraitConst for BoxedRef<'_, QRCodeDetectorAruco>
fn as_raw_GraphicalCodeDetector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn detect(
&self,
img: &impl ToInputArray,
points: &mut impl ToOutputArray,
) -> Result<bool>
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>>
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>>
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>>
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>>
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>
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>
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>
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>
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>
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 GrayCodePatternTraitConst for BoxedRef<'_, GrayCodePattern>
impl GrayCodePatternTraitConst for BoxedRef<'_, GrayCodePattern>
fn as_raw_GrayCodePattern( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_number_of_pattern_images(&self) -> Result<size_t>
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<()>
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>
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 GrayworldWBTraitConst for BoxedRef<'_, GrayworldWB>
impl GrayworldWBTraitConst for BoxedRef<'_, GrayworldWB>
fn as_raw_GrayworldWB(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl GridBoardTraitConst for BoxedRef<'_, GridBoard>
impl GridBoardTraitConst for BoxedRef<'_, GridBoard>
fn as_raw_GridBoard(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_grid_size(&self) -> Result<Size>
fn get_marker_length(&self) -> Result<f32>
fn get_marker_separation(&self) -> Result<f32>
Source§impl GroupNormLayerTraitConst for BoxedRef<'_, GroupNormLayer>
impl GroupNormLayerTraitConst for BoxedRef<'_, GroupNormLayer>
fn as_raw_GroupNormLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl GuidedFilterTraitConst for BoxedRef<'_, GuidedFilter>
impl GuidedFilterTraitConst for BoxedRef<'_, GuidedFilter>
fn as_raw_GuidedFilter(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl HDF5TraitConst for BoxedRef<'_, HDF5>
impl HDF5TraitConst for BoxedRef<'_, HDF5>
fn as_raw_HDF5(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn atexists(&self, atlabel: &str) -> Result<bool>
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<()>
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<()>
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<()>
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
fn dscreate_nd(&self, sizes: &[i32], typ: i32, dslabel: &str) -> Result<()>
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<()>
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<()>
fn dscreate_nd_vec_compress_dims_def( &self, sizes: &Vector<i32>, typ: i32, dslabel: &str, ) -> Result<()>
Note Read more
Source§fn dscreate_nd_compress_dims(
&self,
sizes: &[i32],
typ: i32,
dslabel: &str,
compresslevel: i32,
dims_chunks: &i32,
) -> Result<()>
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>>
fn dsgetsize(&self, dslabel: &str, dims_flag: i32) -> Result<Vector<i32>>
Fetch dataset sizes Read more
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<()>
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<()>
fn dswrite_offset_def( &self, array: &impl ToInputArray, dslabel: &str, dims_offset: &Vector<i32>, ) -> Result<()>
Note Read more
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<()>
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<()>
fn dsinsert_offset_def( &self, array: &impl ToInputArray, dslabel: &str, dims_offset: &Vector<i32>, ) -> Result<()>
Note Read more
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<()>
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<()>
fn dsread_offset_def( &self, array: &mut impl ToOutputArray, dslabel: &str, dims_offset: &Vector<i32>, ) -> Result<()>
Note Read more
Source§fn kpgetsize(&self, kplabel: &str, dims_flag: i32) -> Result<i32>
fn kpgetsize(&self, kplabel: &str, dims_flag: i32) -> Result<i32>
Fetch keypoint dataset size Read more
Source§fn kpcreate(
&self,
size: i32,
kplabel: &str,
compresslevel: i32,
chunks: i32,
) -> Result<()>
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<()>
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<()>
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<()>
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<()>
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<()>
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§impl HOGDescriptorTraitConst for BoxedRef<'_, HOGDescriptor>
impl HOGDescriptorTraitConst for BoxedRef<'_, HOGDescriptor>
fn as_raw_HOGDescriptor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn win_size(&self) -> Size
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
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
fn block_stride(&self) -> Size
Block stride. It must be a multiple of cell size. Default value is Size(8,8).
Source§fn nbins(&self) -> i32
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
fn deriv_aperture(&self) -> i32
not documented
Source§fn histogram_norm_type(&self) -> HOGDescriptor_HistogramNormType
fn histogram_norm_type(&self) -> HOGDescriptor_HistogramNormType
histogramNormType
Source§fn l2_hys_threshold(&self) -> f64
fn l2_hys_threshold(&self) -> f64
L2-Hys normalization method shrinkage.
Source§fn gamma_correction(&self) -> bool
fn gamma_correction(&self) -> bool
Flag to specify whether the gamma correction preprocessing is required or not.
Source§fn svm_detector(&self) -> Vector<f32>
fn svm_detector(&self) -> Vector<f32>
coefficients for the linear SVM classifier.
Source§fn ocl_svm_detector(&self) -> UMat
fn ocl_svm_detector(&self) -> UMat
coefficients for the linear SVM classifier used when OpenCL is enabled
Source§fn signed_gradient(&self) -> bool
fn signed_gradient(&self) -> bool
Indicates signed gradient will be used or not
Source§fn get_descriptor_size(&self) -> Result<size_t>
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>
fn check_detector_size(&self) -> Result<bool>
Checks if detector size equal to descriptor size.
Source§fn get_win_sigma(&self) -> Result<f64>
fn get_win_sigma(&self) -> Result<f64>
Returns winSigma value
Source§fn write(&self, fs: &mut impl FileStorageTrait, objname: &str) -> Result<()>
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<()>
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<()>
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<()>
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<()>
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<()>
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<()>
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<()>
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<()>
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<()>
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<()>
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<()>
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<()>
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<()>
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<()>
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<()>
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<()>
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<()>
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<()>
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<()>
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§impl HammingTraitConst for BoxedRef<'_, Hamming>
impl HammingTraitConst for BoxedRef<'_, Hamming>
fn as_raw_Hamming(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl HardSigmoidLayerTraitConst for BoxedRef<'_, HardSigmoidLayer>
impl HardSigmoidLayerTraitConst for BoxedRef<'_, HardSigmoidLayer>
Source§impl HardSwishLayerTraitConst for BoxedRef<'_, HardSwishLayer>
impl HardSwishLayerTraitConst for BoxedRef<'_, HardSwishLayer>
fn as_raw_HardSwishLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl HarrisLaplaceFeatureDetectorTraitConst for BoxedRef<'_, HarrisLaplaceFeatureDetector>
impl HarrisLaplaceFeatureDetectorTraitConst for BoxedRef<'_, HarrisLaplaceFeatureDetector>
fn as_raw_HarrisLaplaceFeatureDetector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_num_octaves(&self) -> Result<i32>
fn get_corn_thresh(&self) -> Result<f32>
fn get_dog_thresh(&self) -> Result<f32>
fn get_max_corners(&self) -> Result<i32>
fn get_num_layers(&self) -> Result<i32>
fn get_default_name(&self) -> Result<String>
Source§impl HausdorffDistanceExtractorTraitConst for BoxedRef<'_, HausdorffDistanceExtractor>
impl HausdorffDistanceExtractorTraitConst for BoxedRef<'_, HausdorffDistanceExtractor>
fn as_raw_HausdorffDistanceExtractor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_distance_flag(&self) -> Result<i32>
fn get_rank_proportion(&self) -> Result<f32>
Source§impl HfsSegmentTraitConst for BoxedRef<'_, HfsSegment>
impl HfsSegmentTraitConst for BoxedRef<'_, HfsSegment>
fn as_raw_HfsSegment(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl HierarchicalClusteringIndexParamsTraitConst for BoxedRef<'_, HierarchicalClusteringIndexParams>
impl HierarchicalClusteringIndexParamsTraitConst for BoxedRef<'_, HierarchicalClusteringIndexParams>
fn as_raw_HierarchicalClusteringIndexParams( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl HistogramCostExtractorTraitConst for BoxedRef<'_, ChiHistogramCostExtractor>
impl HistogramCostExtractorTraitConst for BoxedRef<'_, ChiHistogramCostExtractor>
fn as_raw_HistogramCostExtractor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_n_dummies(&self) -> Result<i32>
fn get_default_cost(&self) -> Result<f32>
Source§impl HistogramCostExtractorTraitConst for BoxedRef<'_, EMDHistogramCostExtractor>
impl HistogramCostExtractorTraitConst for BoxedRef<'_, EMDHistogramCostExtractor>
fn as_raw_HistogramCostExtractor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_n_dummies(&self) -> Result<i32>
fn get_default_cost(&self) -> Result<f32>
Source§impl HistogramCostExtractorTraitConst for BoxedRef<'_, EMDL1HistogramCostExtractor>
impl HistogramCostExtractorTraitConst for BoxedRef<'_, EMDL1HistogramCostExtractor>
fn as_raw_HistogramCostExtractor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_n_dummies(&self) -> Result<i32>
fn get_default_cost(&self) -> Result<f32>
Source§impl HistogramCostExtractorTraitConst for BoxedRef<'_, HistogramCostExtractor>
impl HistogramCostExtractorTraitConst for BoxedRef<'_, HistogramCostExtractor>
fn as_raw_HistogramCostExtractor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_n_dummies(&self) -> Result<i32>
fn get_default_cost(&self) -> Result<f32>
Source§impl HistogramCostExtractorTraitConst for BoxedRef<'_, NormHistogramCostExtractor>
impl HistogramCostExtractorTraitConst for BoxedRef<'_, NormHistogramCostExtractor>
fn as_raw_HistogramCostExtractor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_n_dummies(&self) -> Result<i32>
fn get_default_cost(&self) -> Result<f32>
Source§impl HistogramPhaseUnwrappingTraitConst for BoxedRef<'_, HistogramPhaseUnwrapping>
impl HistogramPhaseUnwrappingTraitConst for BoxedRef<'_, HistogramPhaseUnwrapping>
fn as_raw_HistogramPhaseUnwrapping( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl HostMemTraitConst for BoxedRef<'_, HostMem>
impl HostMemTraitConst for BoxedRef<'_, HostMem>
fn as_raw_HostMem(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn flags(&self) -> i32
fn rows(&self) -> i32
fn cols(&self) -> i32
fn step(&self) -> size_t
fn data(&self) -> *const u8
fn refcount(&self) -> *const i32
fn datastart(&self) -> *const u8
fn dataend(&self) -> *const u8
fn alloc_type(&self) -> HostMem_AllocType
Source§fn try_clone(&self) -> Result<HostMem>
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>
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>
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>
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>
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
fn is_continuous(&self) -> Result<bool>
fn elem_size(&self) -> Result<size_t>
fn elem_size1(&self) -> Result<size_t>
fn typ(&self) -> Result<i32>
fn depth(&self) -> Result<i32>
fn channels(&self) -> Result<i32>
fn step1(&self) -> Result<size_t>
fn size(&self) -> Result<Size>
fn empty(&self) -> Result<bool>
Source§impl ICPOdometryTraitConst for BoxedRef<'_, ICPOdometry>
impl ICPOdometryTraitConst for BoxedRef<'_, ICPOdometry>
fn as_raw_ICPOdometry(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn prepare_frame_cache( &self, frame: &mut Ptr<OdometryFrame>, cache_type: i32, ) -> Result<Size>
fn get_camera_matrix(&self) -> Result<Mat>
fn get_min_depth(&self) -> Result<f64>
fn get_max_depth(&self) -> Result<f64>
fn get_max_depth_diff(&self) -> Result<f64>
fn get_iteration_counts(&self) -> Result<Mat>
fn get_max_points_part(&self) -> Result<f64>
fn get_transform_type(&self) -> Result<i32>
fn get_max_translation(&self) -> Result<f64>
fn get_max_rotation(&self) -> Result<f64>
fn get_normals_computer(&self) -> Result<Ptr<RgbdNormals>>
Source§impl ICPTraitConst for BoxedRef<'_, ICP>
impl ICPTraitConst for BoxedRef<'_, ICP>
fn as_raw_ICP(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl IDenseOptFlowEstimatorTraitConst for BoxedRef<'_, DensePyrLkOptFlowEstimatorGpu>
impl IDenseOptFlowEstimatorTraitConst for BoxedRef<'_, DensePyrLkOptFlowEstimatorGpu>
fn as_raw_IDenseOptFlowEstimator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl IDenseOptFlowEstimatorTraitConst for BoxedRef<'_, IDenseOptFlowEstimator>
impl IDenseOptFlowEstimatorTraitConst for BoxedRef<'_, IDenseOptFlowEstimator>
fn as_raw_IDenseOptFlowEstimator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl IFrameSourceTraitConst for BoxedRef<'_, IFrameSource>
impl IFrameSourceTraitConst for BoxedRef<'_, IFrameSource>
fn as_raw_IFrameSource(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl IFrameSourceTraitConst for BoxedRef<'_, MaskFrameSource>
impl IFrameSourceTraitConst for BoxedRef<'_, MaskFrameSource>
fn as_raw_IFrameSource(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl IFrameSourceTraitConst for BoxedRef<'_, NullFrameSource>
impl IFrameSourceTraitConst for BoxedRef<'_, NullFrameSource>
fn as_raw_IFrameSource(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl IFrameSourceTraitConst for BoxedRef<'_, OnePassStabilizer>
impl IFrameSourceTraitConst for BoxedRef<'_, OnePassStabilizer>
fn as_raw_IFrameSource(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl IFrameSourceTraitConst for BoxedRef<'_, TwoPassStabilizer>
impl IFrameSourceTraitConst for BoxedRef<'_, TwoPassStabilizer>
fn as_raw_IFrameSource(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl IFrameSourceTraitConst for BoxedRef<'_, VideoFileSource>
impl IFrameSourceTraitConst for BoxedRef<'_, VideoFileSource>
fn as_raw_IFrameSource(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl ILogTraitConst for BoxedRef<'_, ILog>
impl ILogTraitConst for BoxedRef<'_, ILog>
fn as_raw_ILog(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl ILogTraitConst for BoxedRef<'_, LogToStdout>
impl ILogTraitConst for BoxedRef<'_, LogToStdout>
fn as_raw_ILog(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl ILogTraitConst for BoxedRef<'_, NullLog>
impl ILogTraitConst for BoxedRef<'_, NullLog>
fn as_raw_ILog(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl IMotionStabilizerTraitConst for BoxedRef<'_, GaussianMotionFilter>
impl IMotionStabilizerTraitConst for BoxedRef<'_, GaussianMotionFilter>
fn as_raw_IMotionStabilizer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl IMotionStabilizerTraitConst for BoxedRef<'_, IMotionStabilizer>
impl IMotionStabilizerTraitConst for BoxedRef<'_, IMotionStabilizer>
fn as_raw_IMotionStabilizer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl IMotionStabilizerTraitConst for BoxedRef<'_, LpMotionStabilizer>
impl IMotionStabilizerTraitConst for BoxedRef<'_, LpMotionStabilizer>
fn as_raw_IMotionStabilizer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl IMotionStabilizerTraitConst for BoxedRef<'_, MotionFilterBase>
impl IMotionStabilizerTraitConst for BoxedRef<'_, MotionFilterBase>
fn as_raw_IMotionStabilizer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl IMotionStabilizerTraitConst for BoxedRef<'_, MotionStabilizationPipeline>
impl IMotionStabilizerTraitConst for BoxedRef<'_, MotionStabilizationPipeline>
fn as_raw_IMotionStabilizer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl IOutlierRejectorTraitConst for BoxedRef<'_, IOutlierRejector>
impl IOutlierRejectorTraitConst for BoxedRef<'_, IOutlierRejector>
fn as_raw_IOutlierRejector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl IOutlierRejectorTraitConst for BoxedRef<'_, NullOutlierRejector>
impl IOutlierRejectorTraitConst for BoxedRef<'_, NullOutlierRejector>
fn as_raw_IOutlierRejector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl IOutlierRejectorTraitConst for BoxedRef<'_, TranslationBasedLocalOutlierRejector>
impl IOutlierRejectorTraitConst for BoxedRef<'_, TranslationBasedLocalOutlierRejector>
fn as_raw_IOutlierRejector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl ISparseOptFlowEstimatorTraitConst for BoxedRef<'_, ISparseOptFlowEstimator>
impl ISparseOptFlowEstimatorTraitConst for BoxedRef<'_, ISparseOptFlowEstimator>
fn as_raw_ISparseOptFlowEstimator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl ISparseOptFlowEstimatorTraitConst for BoxedRef<'_, SparsePyrLkOptFlowEstimator>
impl ISparseOptFlowEstimatorTraitConst for BoxedRef<'_, SparsePyrLkOptFlowEstimator>
fn as_raw_ISparseOptFlowEstimator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl ISparseOptFlowEstimatorTraitConst for BoxedRef<'_, SparsePyrLkOptFlowEstimatorGpu>
impl ISparseOptFlowEstimatorTraitConst for BoxedRef<'_, SparsePyrLkOptFlowEstimatorGpu>
fn as_raw_ISparseOptFlowEstimator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl IStreamReaderTraitConst for BoxedRef<'_, IStreamReader>
impl IStreamReaderTraitConst for BoxedRef<'_, IStreamReader>
fn as_raw_IStreamReader( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Image2DTraitConst for BoxedRef<'_, Image2D>
impl Image2DTraitConst for BoxedRef<'_, Image2D>
Source§impl ImageCollectionTraitConst for BoxedRef<'_, ImageCollection>
impl ImageCollectionTraitConst for BoxedRef<'_, ImageCollection>
Source§impl ImageCollection_iteratorTraitConst for BoxedRef<'_, ImageCollection_iterator>
impl ImageCollection_iteratorTraitConst for BoxedRef<'_, ImageCollection_iterator>
fn as_raw_ImageCollection_iterator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl ImageMotionEstimatorBaseTraitConst for BoxedRef<'_, FromFileMotionReader>
impl ImageMotionEstimatorBaseTraitConst for BoxedRef<'_, FromFileMotionReader>
fn as_raw_ImageMotionEstimatorBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn motion_model(&self) -> Result<MotionModel>
Source§impl ImageMotionEstimatorBaseTraitConst for BoxedRef<'_, ImageMotionEstimatorBase>
impl ImageMotionEstimatorBaseTraitConst for BoxedRef<'_, ImageMotionEstimatorBase>
fn as_raw_ImageMotionEstimatorBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn motion_model(&self) -> Result<MotionModel>
Source§impl ImageMotionEstimatorBaseTraitConst for BoxedRef<'_, KeypointBasedMotionEstimator>
impl ImageMotionEstimatorBaseTraitConst for BoxedRef<'_, KeypointBasedMotionEstimator>
fn as_raw_ImageMotionEstimatorBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn motion_model(&self) -> Result<MotionModel>
Source§impl ImageMotionEstimatorBaseTraitConst for BoxedRef<'_, KeypointBasedMotionEstimatorGpu>
impl ImageMotionEstimatorBaseTraitConst for BoxedRef<'_, KeypointBasedMotionEstimatorGpu>
fn as_raw_ImageMotionEstimatorBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn motion_model(&self) -> Result<MotionModel>
Source§impl ImageMotionEstimatorBaseTraitConst for BoxedRef<'_, ToFileMotionWriter>
impl ImageMotionEstimatorBaseTraitConst for BoxedRef<'_, ToFileMotionWriter>
fn as_raw_ImageMotionEstimatorBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn motion_model(&self) -> Result<MotionModel>
Source§impl ImageTraitConst for BoxedRef<'_, Image>
impl ImageTraitConst for BoxedRef<'_, Image>
Source§impl ImgHashBaseTraitConst for BoxedRef<'_, AverageHash>
impl ImgHashBaseTraitConst for BoxedRef<'_, AverageHash>
fn as_raw_ImgHashBase(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn compare(
&self,
hash_one: &impl ToInputArray,
hash_two: &impl ToInputArray,
) -> Result<f64>
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 BoxedRef<'_, BlockMeanHash>
impl ImgHashBaseTraitConst for BoxedRef<'_, BlockMeanHash>
fn as_raw_ImgHashBase(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn compare(
&self,
hash_one: &impl ToInputArray,
hash_two: &impl ToInputArray,
) -> Result<f64>
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 BoxedRef<'_, ColorMomentHash>
impl ImgHashBaseTraitConst for BoxedRef<'_, ColorMomentHash>
fn as_raw_ImgHashBase(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn compare(
&self,
hash_one: &impl ToInputArray,
hash_two: &impl ToInputArray,
) -> Result<f64>
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 BoxedRef<'_, ImgHashBase>
impl ImgHashBaseTraitConst for BoxedRef<'_, ImgHashBase>
fn as_raw_ImgHashBase(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn compare(
&self,
hash_one: &impl ToInputArray,
hash_two: &impl ToInputArray,
) -> Result<f64>
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 BoxedRef<'_, MarrHildrethHash>
impl ImgHashBaseTraitConst for BoxedRef<'_, MarrHildrethHash>
fn as_raw_ImgHashBase(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn compare(
&self,
hash_one: &impl ToInputArray,
hash_two: &impl ToInputArray,
) -> Result<f64>
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 BoxedRef<'_, PHash>
impl ImgHashBaseTraitConst for BoxedRef<'_, PHash>
fn as_raw_ImgHashBase(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn compare(
&self,
hash_one: &impl ToInputArray,
hash_two: &impl ToInputArray,
) -> Result<f64>
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 BoxedRef<'_, RadialVarianceHash>
impl ImgHashBaseTraitConst for BoxedRef<'_, RadialVarianceHash>
fn as_raw_ImgHashBase(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn compare(
&self,
hash_one: &impl ToInputArray,
hash_two: &impl ToInputArray,
) -> Result<f64>
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 IndexParamsTraitConst for BoxedRef<'_, AutotunedIndexParams>
impl IndexParamsTraitConst for BoxedRef<'_, AutotunedIndexParams>
fn as_raw_IndexParams(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_string(&self, key: &str, default_val: &str) -> Result<String>
fn get_string(&self, key: &str, default_val: &str) -> Result<String>
C++ default parameters Read more
Source§fn get_int(&self, key: &str, default_val: i32) -> Result<i32>
fn get_int(&self, key: &str, default_val: i32) -> Result<i32>
C++ default parameters Read more
Source§fn get_double(&self, key: &str, default_val: f64) -> Result<f64>
fn get_double(&self, key: &str, default_val: f64) -> Result<f64>
C++ default parameters Read more
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 BoxedRef<'_, CompositeIndexParams>
impl IndexParamsTraitConst for BoxedRef<'_, CompositeIndexParams>
fn as_raw_IndexParams(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_string(&self, key: &str, default_val: &str) -> Result<String>
fn get_string(&self, key: &str, default_val: &str) -> Result<String>
C++ default parameters Read more
Source§fn get_int(&self, key: &str, default_val: i32) -> Result<i32>
fn get_int(&self, key: &str, default_val: i32) -> Result<i32>
C++ default parameters Read more
Source§fn get_double(&self, key: &str, default_val: f64) -> Result<f64>
fn get_double(&self, key: &str, default_val: f64) -> Result<f64>
C++ default parameters Read more
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 BoxedRef<'_, HierarchicalClusteringIndexParams>
impl IndexParamsTraitConst for BoxedRef<'_, HierarchicalClusteringIndexParams>
fn as_raw_IndexParams(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_string(&self, key: &str, default_val: &str) -> Result<String>
fn get_string(&self, key: &str, default_val: &str) -> Result<String>
C++ default parameters Read more
Source§fn get_int(&self, key: &str, default_val: i32) -> Result<i32>
fn get_int(&self, key: &str, default_val: i32) -> Result<i32>
C++ default parameters Read more
Source§fn get_double(&self, key: &str, default_val: f64) -> Result<f64>
fn get_double(&self, key: &str, default_val: f64) -> Result<f64>
C++ default parameters Read more
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 BoxedRef<'_, IndexParams>
impl IndexParamsTraitConst for BoxedRef<'_, IndexParams>
fn as_raw_IndexParams(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_string(&self, key: &str, default_val: &str) -> Result<String>
fn get_string(&self, key: &str, default_val: &str) -> Result<String>
C++ default parameters Read more
Source§fn get_int(&self, key: &str, default_val: i32) -> Result<i32>
fn get_int(&self, key: &str, default_val: i32) -> Result<i32>
C++ default parameters Read more
Source§fn get_double(&self, key: &str, default_val: f64) -> Result<f64>
fn get_double(&self, key: &str, default_val: f64) -> Result<f64>
C++ default parameters Read more
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 BoxedRef<'_, KDTreeIndexParams>
impl IndexParamsTraitConst for BoxedRef<'_, KDTreeIndexParams>
fn as_raw_IndexParams(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_string(&self, key: &str, default_val: &str) -> Result<String>
fn get_string(&self, key: &str, default_val: &str) -> Result<String>
C++ default parameters Read more
Source§fn get_int(&self, key: &str, default_val: i32) -> Result<i32>
fn get_int(&self, key: &str, default_val: i32) -> Result<i32>
C++ default parameters Read more
Source§fn get_double(&self, key: &str, default_val: f64) -> Result<f64>
fn get_double(&self, key: &str, default_val: f64) -> Result<f64>
C++ default parameters Read more
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 BoxedRef<'_, KMeansIndexParams>
impl IndexParamsTraitConst for BoxedRef<'_, KMeansIndexParams>
fn as_raw_IndexParams(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_string(&self, key: &str, default_val: &str) -> Result<String>
fn get_string(&self, key: &str, default_val: &str) -> Result<String>
C++ default parameters Read more
Source§fn get_int(&self, key: &str, default_val: i32) -> Result<i32>
fn get_int(&self, key: &str, default_val: i32) -> Result<i32>
C++ default parameters Read more
Source§fn get_double(&self, key: &str, default_val: f64) -> Result<f64>
fn get_double(&self, key: &str, default_val: f64) -> Result<f64>
C++ default parameters Read more
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 BoxedRef<'_, LinearIndexParams>
impl IndexParamsTraitConst for BoxedRef<'_, LinearIndexParams>
fn as_raw_IndexParams(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_string(&self, key: &str, default_val: &str) -> Result<String>
fn get_string(&self, key: &str, default_val: &str) -> Result<String>
C++ default parameters Read more
Source§fn get_int(&self, key: &str, default_val: i32) -> Result<i32>
fn get_int(&self, key: &str, default_val: i32) -> Result<i32>
C++ default parameters Read more
Source§fn get_double(&self, key: &str, default_val: f64) -> Result<f64>
fn get_double(&self, key: &str, default_val: f64) -> Result<f64>
C++ default parameters Read more
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 BoxedRef<'_, LshIndexParams>
impl IndexParamsTraitConst for BoxedRef<'_, LshIndexParams>
fn as_raw_IndexParams(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_string(&self, key: &str, default_val: &str) -> Result<String>
fn get_string(&self, key: &str, default_val: &str) -> Result<String>
C++ default parameters Read more
Source§fn get_int(&self, key: &str, default_val: i32) -> Result<i32>
fn get_int(&self, key: &str, default_val: i32) -> Result<i32>
C++ default parameters Read more
Source§fn get_double(&self, key: &str, default_val: f64) -> Result<f64>
fn get_double(&self, key: &str, default_val: f64) -> Result<f64>
C++ default parameters Read more
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 BoxedRef<'_, SavedIndexParams>
impl IndexParamsTraitConst for BoxedRef<'_, SavedIndexParams>
fn as_raw_IndexParams(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_string(&self, key: &str, default_val: &str) -> Result<String>
fn get_string(&self, key: &str, default_val: &str) -> Result<String>
C++ default parameters Read more
Source§fn get_int(&self, key: &str, default_val: i32) -> Result<i32>
fn get_int(&self, key: &str, default_val: i32) -> Result<i32>
C++ default parameters Read more
Source§fn get_double(&self, key: &str, default_val: f64) -> Result<f64>
fn get_double(&self, key: &str, default_val: f64) -> Result<f64>
C++ default parameters Read more
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 BoxedRef<'_, SearchParams>
impl IndexParamsTraitConst for BoxedRef<'_, SearchParams>
fn as_raw_IndexParams(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_string(&self, key: &str, default_val: &str) -> Result<String>
fn get_string(&self, key: &str, default_val: &str) -> Result<String>
C++ default parameters Read more
Source§fn get_int(&self, key: &str, default_val: i32) -> Result<i32>
fn get_int(&self, key: &str, default_val: i32) -> Result<i32>
C++ default parameters Read more
Source§fn get_double(&self, key: &str, default_val: f64) -> Result<f64>
fn get_double(&self, key: &str, default_val: f64) -> Result<f64>
C++ default parameters Read more
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 IndexTraitConst for BoxedRef<'_, Index>
impl IndexTraitConst for BoxedRef<'_, Index>
fn as_raw_Index(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn save(&self, filename: &str) -> Result<()>
fn get_distance(&self) -> Result<flann_distance_t>
fn get_algorithm(&self) -> Result<flann_algorithm_t>
Source§impl InnerProductLayerTraitConst for BoxedRef<'_, InnerProductLayer>
impl InnerProductLayerTraitConst for BoxedRef<'_, InnerProductLayer>
Source§impl InnerProductLayerTraitConst for BoxedRef<'_, InnerProductLayerInt8>
impl InnerProductLayerTraitConst for BoxedRef<'_, InnerProductLayerInt8>
Source§impl InpainterBaseTraitConst for BoxedRef<'_, ColorAverageInpainter>
impl InpainterBaseTraitConst for BoxedRef<'_, ColorAverageInpainter>
fn as_raw_InpainterBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn radius(&self) -> Result<i32>
fn motion_model(&self) -> Result<MotionModel>
fn frames(&self) -> Result<Vector<Mat>>
fn motions(&self) -> Result<Vector<Mat>>
fn stabilized_frames(&self) -> Result<Vector<Mat>>
fn stabilization_motions(&self) -> Result<Vector<Mat>>
Source§impl InpainterBaseTraitConst for BoxedRef<'_, ColorInpainter>
impl InpainterBaseTraitConst for BoxedRef<'_, ColorInpainter>
fn as_raw_InpainterBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn radius(&self) -> Result<i32>
fn motion_model(&self) -> Result<MotionModel>
fn frames(&self) -> Result<Vector<Mat>>
fn motions(&self) -> Result<Vector<Mat>>
fn stabilized_frames(&self) -> Result<Vector<Mat>>
fn stabilization_motions(&self) -> Result<Vector<Mat>>
Source§impl InpainterBaseTraitConst for BoxedRef<'_, ConsistentMosaicInpainter>
impl InpainterBaseTraitConst for BoxedRef<'_, ConsistentMosaicInpainter>
fn as_raw_InpainterBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn radius(&self) -> Result<i32>
fn motion_model(&self) -> Result<MotionModel>
fn frames(&self) -> Result<Vector<Mat>>
fn motions(&self) -> Result<Vector<Mat>>
fn stabilized_frames(&self) -> Result<Vector<Mat>>
fn stabilization_motions(&self) -> Result<Vector<Mat>>
Source§impl InpainterBaseTraitConst for BoxedRef<'_, InpainterBase>
impl InpainterBaseTraitConst for BoxedRef<'_, InpainterBase>
fn as_raw_InpainterBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn radius(&self) -> Result<i32>
fn motion_model(&self) -> Result<MotionModel>
fn frames(&self) -> Result<Vector<Mat>>
fn motions(&self) -> Result<Vector<Mat>>
fn stabilized_frames(&self) -> Result<Vector<Mat>>
fn stabilization_motions(&self) -> Result<Vector<Mat>>
Source§impl InpainterBaseTraitConst for BoxedRef<'_, InpaintingPipeline>
impl InpainterBaseTraitConst for BoxedRef<'_, InpaintingPipeline>
fn as_raw_InpainterBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn radius(&self) -> Result<i32>
fn motion_model(&self) -> Result<MotionModel>
fn frames(&self) -> Result<Vector<Mat>>
fn motions(&self) -> Result<Vector<Mat>>
fn stabilized_frames(&self) -> Result<Vector<Mat>>
fn stabilization_motions(&self) -> Result<Vector<Mat>>
Source§impl InpainterBaseTraitConst for BoxedRef<'_, MotionInpainter>
impl InpainterBaseTraitConst for BoxedRef<'_, MotionInpainter>
fn as_raw_InpainterBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn radius(&self) -> Result<i32>
fn motion_model(&self) -> Result<MotionModel>
fn frames(&self) -> Result<Vector<Mat>>
fn motions(&self) -> Result<Vector<Mat>>
fn stabilized_frames(&self) -> Result<Vector<Mat>>
fn stabilization_motions(&self) -> Result<Vector<Mat>>
Source§impl InpainterBaseTraitConst for BoxedRef<'_, NullInpainter>
impl InpainterBaseTraitConst for BoxedRef<'_, NullInpainter>
fn as_raw_InpainterBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn radius(&self) -> Result<i32>
fn motion_model(&self) -> Result<MotionModel>
fn frames(&self) -> Result<Vector<Mat>>
fn motions(&self) -> Result<Vector<Mat>>
fn stabilized_frames(&self) -> Result<Vector<Mat>>
fn stabilization_motions(&self) -> Result<Vector<Mat>>
Source§impl InpaintingPipelineTraitConst for BoxedRef<'_, InpaintingPipeline>
impl InpaintingPipelineTraitConst for BoxedRef<'_, InpaintingPipeline>
Source§impl InstanceNormLayerTraitConst for BoxedRef<'_, InstanceNormLayer>
impl InstanceNormLayerTraitConst for BoxedRef<'_, InstanceNormLayer>
Source§impl IntelligentScissorsMBTraitConst for BoxedRef<'_, IntelligentScissorsMB>
impl IntelligentScissorsMBTraitConst for BoxedRef<'_, IntelligentScissorsMB>
fn as_raw_IntelligentScissorsMB( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_contour(
&self,
target_pt: Point,
contour: &mut impl ToOutputArray,
backward: bool,
) -> Result<()>
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<()>
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 InterpLayerTraitConst for BoxedRef<'_, InterpLayer>
impl InterpLayerTraitConst for BoxedRef<'_, InterpLayer>
fn as_raw_InterpLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl KAZETraitConst for BoxedRef<'_, KAZE>
impl KAZETraitConst for BoxedRef<'_, KAZE>
fn as_raw_KAZE(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_extended(&self) -> Result<bool>
fn get_upright(&self) -> Result<bool>
fn get_threshold(&self) -> Result<f64>
fn get_n_octaves(&self) -> Result<i32>
fn get_n_octave_layers(&self) -> Result<i32>
fn get_diffusivity(&self) -> Result<KAZE_DiffusivityType>
fn get_default_name(&self) -> Result<String>
Source§impl KDTreeIndexParamsTraitConst for BoxedRef<'_, KDTreeIndexParams>
impl KDTreeIndexParamsTraitConst for BoxedRef<'_, KDTreeIndexParams>
fn as_raw_KDTreeIndexParams( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl KMeansIndexParamsTraitConst for BoxedRef<'_, KMeansIndexParams>
impl KMeansIndexParamsTraitConst for BoxedRef<'_, KMeansIndexParams>
fn as_raw_KMeansIndexParams( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl KNearestTraitConst for BoxedRef<'_, KNearest>
impl KNearestTraitConst for BoxedRef<'_, KNearest>
fn as_raw_KNearest(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_default_k(&self) -> Result<i32>
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>
fn get_is_classifier(&self) -> Result<bool>
Whether classification or regression model should be trained. Read more
Source§fn get_algorithm_type(&self) -> Result<i32>
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>
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>
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 KalmanFilterTraitConst for BoxedRef<'_, KalmanFilter>
impl KalmanFilterTraitConst for BoxedRef<'_, KalmanFilter>
fn as_raw_KalmanFilter(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn state_post(&self) -> Mat
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
fn transition_matrix(&self) -> Mat
state transition matrix (A)
Source§fn control_matrix(&self) -> Mat
fn control_matrix(&self) -> Mat
control matrix (B) (not used if there is no control)
Source§fn measurement_matrix(&self) -> Mat
fn measurement_matrix(&self) -> Mat
measurement matrix (H)
Source§fn process_noise_cov(&self) -> Mat
fn process_noise_cov(&self) -> Mat
process noise covariance matrix (Q)
Source§fn measurement_noise_cov(&self) -> Mat
fn measurement_noise_cov(&self) -> Mat
measurement noise covariance matrix (R)
Source§fn error_cov_pre(&self) -> Mat
fn error_cov_pre(&self) -> Mat
priori error estimate covariance matrix (P’(k)): P’(k)=A*P(k-1)*At + Q)
Source§fn error_cov_post(&self) -> Mat
fn error_cov_post(&self) -> Mat
posteriori error estimate covariance matrix (P(k)): P(k)=(I-K(k)*H)*P’(k)
fn temp1(&self) -> Mat
fn temp2(&self) -> Mat
fn temp3(&self) -> Mat
fn temp4(&self) -> Mat
fn temp5(&self) -> Mat
Source§impl KernelArgTraitConst for BoxedRef<'_, KernelArg>
impl KernelArgTraitConst for BoxedRef<'_, KernelArg>
Source§impl KernelTraitConst for BoxedRef<'_, Kernel>
impl KernelTraitConst for BoxedRef<'_, Kernel>
fn as_raw_Kernel(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn empty(&self) -> Result<bool>
fn work_group_size(&self) -> Result<size_t>
fn prefered_work_group_size_multiple(&self) -> Result<size_t>
fn compile_work_group_size(&self, wsz: &mut [size_t]) -> Result<bool>
fn local_mem_size(&self) -> Result<size_t>
fn ptr(&self) -> Result<*mut c_void>
Source§impl KeyPointTraitConst for BoxedRef<'_, Elliptic_KeyPoint>
impl KeyPointTraitConst for BoxedRef<'_, Elliptic_KeyPoint>
fn as_raw_KeyPoint(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn angle(&self) -> f32
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
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 class_id(&self) -> i32
fn class_id(&self) -> i32
object class (if the keypoints need to be clustered by an object they belong to)
fn hash(&self) -> Result<size_t>
Source§impl KeyPointTraitConst for BoxedRef<'_, KeyPoint>
impl KeyPointTraitConst for BoxedRef<'_, KeyPoint>
fn as_raw_KeyPoint(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn angle(&self) -> f32
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
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 class_id(&self) -> i32
fn class_id(&self) -> i32
object class (if the keypoints need to be clustered by an object they belong to)
fn hash(&self) -> Result<size_t>
Source§impl KeyPointsFilterTraitConst for BoxedRef<'_, KeyPointsFilter>
impl KeyPointsFilterTraitConst for BoxedRef<'_, KeyPointsFilter>
fn as_raw_KeyPointsFilter( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl KeyboardEventTraitConst for BoxedRef<'_, KeyboardEvent>
impl KeyboardEventTraitConst for BoxedRef<'_, KeyboardEvent>
Source§impl KeypointBasedMotionEstimatorGpuTraitConst for BoxedRef<'_, KeypointBasedMotionEstimatorGpu>
impl KeypointBasedMotionEstimatorGpuTraitConst for BoxedRef<'_, KeypointBasedMotionEstimatorGpu>
fn as_raw_KeypointBasedMotionEstimatorGpu( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn motion_model(&self) -> Result<MotionModel>
fn outlier_rejector(&self) -> Result<Ptr<IOutlierRejector>>
Source§impl KeypointBasedMotionEstimatorTraitConst for BoxedRef<'_, KeypointBasedMotionEstimator>
impl KeypointBasedMotionEstimatorTraitConst for BoxedRef<'_, KeypointBasedMotionEstimator>
fn as_raw_KeypointBasedMotionEstimator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn motion_model(&self) -> Result<MotionModel>
fn detector(&self) -> Result<Ptr<Feature2D>>
fn optical_flow_estimator(&self) -> Result<Ptr<ISparseOptFlowEstimator>>
fn outlier_rejector(&self) -> Result<Ptr<IOutlierRejector>>
Source§impl KeypointsModelTraitConst for BoxedRef<'_, KeypointsModel>
impl KeypointsModelTraitConst for BoxedRef<'_, KeypointsModel>
fn as_raw_KeypointsModel( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Kinfu_Detail_PoseGraphTraitConst for BoxedRef<'_, Kinfu_Detail_PoseGraph>
impl Kinfu_Detail_PoseGraphTraitConst for BoxedRef<'_, Kinfu_Detail_PoseGraph>
fn as_raw_Kinfu_Detail_PoseGraph( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn is_node_exist(&self, node_id: size_t) -> Result<bool>
fn is_node_fixed(&self, node_id: size_t) -> Result<bool>
fn get_node_pose(&self, node_id: size_t) -> Result<Affine3d>
fn get_nodes_ids(&self) -> Result<Vector<size_t>>
fn get_num_nodes(&self) -> Result<size_t>
fn get_edge_start(&self, i: size_t) -> Result<size_t>
fn get_edge_end(&self, i: size_t) -> Result<size_t>
fn get_num_edges(&self) -> Result<size_t>
fn is_valid(&self) -> Result<bool>
fn calc_energy(&self) -> Result<f64>
Source§impl Kinfu_KinFuTraitConst for BoxedRef<'_, Kinfu_KinFu>
impl Kinfu_KinFuTraitConst for BoxedRef<'_, Kinfu_KinFu>
fn as_raw_Kinfu_KinFu(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_params(&self) -> Result<Kinfu_Params>
fn get_params(&self) -> Result<Kinfu_Params>
Get current parameters
Source§fn render(&self, image: &mut impl ToOutputArray) -> Result<()>
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<()>
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<()>
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<()>
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<()>
fn get_normals( &self, points: &impl ToInputArray, normals: &mut impl ToOutputArray, ) -> Result<()>
Calculates normals for given points Read more
Source§impl Kinfu_ParamsTraitConst for BoxedRef<'_, Kinfu_Params>
impl Kinfu_ParamsTraitConst for BoxedRef<'_, Kinfu_Params>
fn as_raw_Kinfu_Params(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn frame_size(&self) -> Size
fn frame_size(&self) -> Size
frame size in pixels
Source§fn volume_type(&self) -> Kinfu_VolumeType
fn volume_type(&self) -> Kinfu_VolumeType
rgb frame size in pixels
Source§fn depth_factor(&self) -> f32
fn depth_factor(&self) -> f32
pre-scale per 1 meter for input values Read more
Source§fn bilateral_sigma_depth(&self) -> f32
fn bilateral_sigma_depth(&self) -> f32
Depth sigma in meters for bilateral smooth
Source§fn bilateral_sigma_spatial(&self) -> f32
fn bilateral_sigma_spatial(&self) -> f32
Spatial sigma in pixels for bilateral smooth
Source§fn bilateral_kernel_size(&self) -> i32
fn bilateral_kernel_size(&self) -> i32
Kernel size in pixels for bilateral smooth
Source§fn pyramid_levels(&self) -> i32
fn pyramid_levels(&self) -> i32
Number of pyramid levels for ICP
Source§fn volume_dims(&self) -> Vec3i
fn volume_dims(&self) -> Vec3i
Resolution of voxel space Read more
Source§fn voxel_size(&self) -> f32
fn voxel_size(&self) -> f32
Size of voxel in meters
Source§fn tsdf_min_camera_movement(&self) -> f32
fn tsdf_min_camera_movement(&self) -> f32
Minimal camera movement in meters Read more
Source§fn volume_pose(&self) -> Affine3f
fn volume_pose(&self) -> Affine3f
initial volume pose in meters
Source§fn tsdf_trunc_dist(&self) -> f32
fn tsdf_trunc_dist(&self) -> f32
distance to truncate in meters Read more
Source§fn tsdf_max_weight(&self) -> i32
fn tsdf_max_weight(&self) -> i32
max number of frames per voxel Read more
Source§fn raycast_step_factor(&self) -> f32
fn raycast_step_factor(&self) -> f32
A length of one raycast step Read more
Source§fn light_pose(&self) -> Vec3f
fn light_pose(&self) -> Vec3f
light pose for rendering in meters
Source§fn icp_dist_thresh(&self) -> f32
fn icp_dist_thresh(&self) -> f32
distance theshold for ICP in meters
Source§fn icp_angle_thresh(&self) -> f32
fn icp_angle_thresh(&self) -> f32
angle threshold for ICP in radians
Source§fn icp_iterations(&self) -> Vector<i32>
fn icp_iterations(&self) -> Vector<i32>
number of ICP iterations for each pyramid level
Source§fn truncate_threshold(&self) -> f32
fn truncate_threshold(&self) -> f32
Threshold for depth truncation in meters Read more
Source§impl Kinfu_VolumeParamsTraitConst for BoxedRef<'_, Kinfu_VolumeParams>
impl Kinfu_VolumeParamsTraitConst for BoxedRef<'_, Kinfu_VolumeParams>
fn as_raw_Kinfu_VolumeParams( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn typ(&self) -> Kinfu_VolumeType
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
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
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 voxel_size(&self) -> f32
fn voxel_size(&self) -> f32
Length of voxels in meters
Source§fn tsdf_trunc_dist(&self) -> f32
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
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
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
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_VolumeTraitConst for BoxedRef<'_, Kinfu_Volume>
impl Kinfu_VolumeTraitConst for BoxedRef<'_, Kinfu_Volume>
fn as_raw_Kinfu_Volume(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn voxel_size(&self) -> f32
fn voxel_size_inv(&self) -> f32
fn pose(&self) -> Affine3f
fn raycast_step_factor(&self) -> f32
fn raycast( &self, camera_pose: Matx44f, intrinsics: Kinfu_Intr, frame_size: Size, points: &mut impl ToOutputArray, normals: &mut impl ToOutputArray, ) -> Result<()>
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<()>
fn fetch_normals( &self, points: &impl ToInputArray, _normals: &mut impl ToOutputArray, ) -> Result<()>
fn fetch_points_normals( &self, points: &mut impl ToOutputArray, normals: &mut impl ToOutputArray, ) -> Result<()>
fn fetch_points_normals_colors( &self, unnamed: &mut impl ToOutputArray, unnamed_1: &mut impl ToOutputArray, unnamed_2: &mut impl ToOutputArray, ) -> Result<()>
Source§impl LATCHTraitConst for BoxedRef<'_, LATCH>
impl LATCHTraitConst for BoxedRef<'_, LATCH>
fn as_raw_LATCH(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_bytes(&self) -> Result<i32>
fn get_rotation_invariance(&self) -> Result<bool>
fn get_half_ss_dsize(&self) -> Result<i32>
fn get_sigma(&self) -> Result<f64>
fn get_default_name(&self) -> Result<String>
Source§impl LBPHFaceRecognizerTraitConst for BoxedRef<'_, LBPHFaceRecognizer>
impl LBPHFaceRecognizerTraitConst for BoxedRef<'_, LBPHFaceRecognizer>
fn as_raw_LBPHFaceRecognizer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_histograms(&self) -> Result<Vector<Mat>>
fn get_labels(&self) -> Result<Mat>
Source§impl LDATraitConst for BoxedRef<'_, LDA>
impl LDATraitConst for BoxedRef<'_, LDA>
fn as_raw_LDA(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn save_1(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn save_1(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Serializes this object to a given cv::FileStorage.
Source§fn eigenvectors(&self) -> Result<Mat>
fn eigenvectors(&self) -> Result<Mat>
Returns the eigenvectors of this LDA.
Source§fn eigenvalues(&self) -> Result<Mat>
fn eigenvalues(&self) -> Result<Mat>
Returns the eigenvalues of this LDA.
Source§impl LMSolverTraitConst for BoxedRef<'_, LMSolver>
impl LMSolverTraitConst for BoxedRef<'_, LMSolver>
fn as_raw_LMSolver(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn run(&self, param: &mut impl ToInputOutputArray) -> Result<i32>
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>
fn get_max_iters(&self) -> Result<i32>
Retrieves the current maximum number of iterations
Source§impl LMSolver_CallbackTraitConst for BoxedRef<'_, LMSolver_Callback>
impl LMSolver_CallbackTraitConst for BoxedRef<'_, LMSolver_Callback>
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>
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 LRNLayerTraitConst for BoxedRef<'_, LRNLayer>
impl LRNLayerTraitConst for BoxedRef<'_, LRNLayer>
Source§impl LSDDetectorTraitConst for BoxedRef<'_, LSDDetector>
impl LSDDetectorTraitConst for BoxedRef<'_, LSDDetector>
Source§impl LSTMLayerTraitConst for BoxedRef<'_, LSTMLayer>
impl LSTMLayerTraitConst for BoxedRef<'_, LSTMLayer>
fn as_raw_LSTMLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl LUCIDTraitConst for BoxedRef<'_, LUCID>
impl LUCIDTraitConst for BoxedRef<'_, LUCID>
fn as_raw_LUCID(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_lucid_kernel(&self) -> Result<i32>
fn get_blur_kernel(&self) -> Result<i32>
fn get_default_name(&self) -> Result<String>
Source§impl LargeKinfuTraitConst for BoxedRef<'_, LargeKinfu>
impl LargeKinfuTraitConst for BoxedRef<'_, LargeKinfu>
fn as_raw_LargeKinfu(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_params(&self) -> Result<Params>
fn render(&self, image: &mut impl ToOutputArray) -> Result<()>
fn render_1( &self, image: &mut impl ToOutputArray, camera_pose: Matx44f, ) -> Result<()>
fn get_cloud( &self, points: &mut impl ToOutputArray, normals: &mut impl ToOutputArray, ) -> Result<()>
fn get_points(&self, points: &mut impl ToOutputArray) -> Result<()>
fn get_normals( &self, points: &impl ToInputArray, normals: &mut impl ToOutputArray, ) -> Result<()>
fn get_pose(&self) -> Result<Affine3f>
Source§impl LayerFactoryTraitConst for BoxedRef<'_, LayerFactory>
impl LayerFactoryTraitConst for BoxedRef<'_, LayerFactory>
fn as_raw_LayerFactory(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl LayerNormLayerTraitConst for BoxedRef<'_, LayerNormLayer>
impl LayerNormLayerTraitConst for BoxedRef<'_, LayerNormLayer>
Source§impl LayerParamsTraitConst for BoxedRef<'_, LayerParams>
impl LayerParamsTraitConst for BoxedRef<'_, LayerParams>
Source§impl LayerTraitConst for BoxedRef<'_, AbsLayer>
impl LayerTraitConst for BoxedRef<'_, AbsLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, AccumLayer>
impl LayerTraitConst for BoxedRef<'_, AccumLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, AcosLayer>
impl LayerTraitConst for BoxedRef<'_, AcosLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, AcoshLayer>
impl LayerTraitConst for BoxedRef<'_, AcoshLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, ActivationLayer>
impl LayerTraitConst for BoxedRef<'_, ActivationLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, ActivationLayerInt8>
impl LayerTraitConst for BoxedRef<'_, ActivationLayerInt8>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, ArgLayer>
impl LayerTraitConst for BoxedRef<'_, ArgLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, AsinLayer>
impl LayerTraitConst for BoxedRef<'_, AsinLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, AsinhLayer>
impl LayerTraitConst for BoxedRef<'_, AsinhLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, AtanLayer>
impl LayerTraitConst for BoxedRef<'_, AtanLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, AtanhLayer>
impl LayerTraitConst for BoxedRef<'_, AtanhLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, AttentionLayer>
impl LayerTraitConst for BoxedRef<'_, AttentionLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, BNLLLayer>
impl LayerTraitConst for BoxedRef<'_, BNLLLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, BaseConvolutionLayer>
impl LayerTraitConst for BoxedRef<'_, BaseConvolutionLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, BatchNormLayer>
impl LayerTraitConst for BoxedRef<'_, BatchNormLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, BatchNormLayerInt8>
impl LayerTraitConst for BoxedRef<'_, BatchNormLayerInt8>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, BlankLayer>
impl LayerTraitConst for BoxedRef<'_, BlankLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, CeilLayer>
impl LayerTraitConst for BoxedRef<'_, CeilLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, CeluLayer>
impl LayerTraitConst for BoxedRef<'_, CeluLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, ChannelsPReLULayer>
impl LayerTraitConst for BoxedRef<'_, ChannelsPReLULayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, CompareLayer>
impl LayerTraitConst for BoxedRef<'_, CompareLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, ConcatLayer>
impl LayerTraitConst for BoxedRef<'_, ConcatLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, ConstLayer>
impl LayerTraitConst for BoxedRef<'_, ConstLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, ConvolutionLayer>
impl LayerTraitConst for BoxedRef<'_, ConvolutionLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, ConvolutionLayerInt8>
impl LayerTraitConst for BoxedRef<'_, ConvolutionLayerInt8>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, CorrelationLayer>
impl LayerTraitConst for BoxedRef<'_, CorrelationLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, CosLayer>
impl LayerTraitConst for BoxedRef<'_, CosLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, CoshLayer>
impl LayerTraitConst for BoxedRef<'_, CoshLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, CropAndResizeLayer>
impl LayerTraitConst for BoxedRef<'_, CropAndResizeLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, CropLayer>
impl LayerTraitConst for BoxedRef<'_, CropLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, CumSumLayer>
impl LayerTraitConst for BoxedRef<'_, CumSumLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, DataAugmentationLayer>
impl LayerTraitConst for BoxedRef<'_, DataAugmentationLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, DeconvolutionLayer>
impl LayerTraitConst for BoxedRef<'_, DeconvolutionLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, DepthToSpaceLayer>
impl LayerTraitConst for BoxedRef<'_, DepthToSpaceLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, DequantizeLayer>
impl LayerTraitConst for BoxedRef<'_, DequantizeLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, DetectionOutputLayer>
impl LayerTraitConst for BoxedRef<'_, DetectionOutputLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, ELULayer>
impl LayerTraitConst for BoxedRef<'_, ELULayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, EinsumLayer>
impl LayerTraitConst for BoxedRef<'_, EinsumLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, EltwiseLayer>
impl LayerTraitConst for BoxedRef<'_, EltwiseLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, EltwiseLayerInt8>
impl LayerTraitConst for BoxedRef<'_, EltwiseLayerInt8>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, ErfLayer>
impl LayerTraitConst for BoxedRef<'_, ErfLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, ExpLayer>
impl LayerTraitConst for BoxedRef<'_, ExpLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, ExpandLayer>
impl LayerTraitConst for BoxedRef<'_, ExpandLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, FlattenLayer>
impl LayerTraitConst for BoxedRef<'_, FlattenLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, FloorLayer>
impl LayerTraitConst for BoxedRef<'_, FloorLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, FlowWarpLayer>
impl LayerTraitConst for BoxedRef<'_, FlowWarpLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, GRULayer>
impl LayerTraitConst for BoxedRef<'_, GRULayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, GatherElementsLayer>
impl LayerTraitConst for BoxedRef<'_, GatherElementsLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, GatherLayer>
impl LayerTraitConst for BoxedRef<'_, GatherLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, GeluApproximationLayer>
impl LayerTraitConst for BoxedRef<'_, GeluApproximationLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, GeluLayer>
impl LayerTraitConst for BoxedRef<'_, GeluLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, GemmLayer>
impl LayerTraitConst for BoxedRef<'_, GemmLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, GroupNormLayer>
impl LayerTraitConst for BoxedRef<'_, GroupNormLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, HardSigmoidLayer>
impl LayerTraitConst for BoxedRef<'_, HardSigmoidLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, HardSwishLayer>
impl LayerTraitConst for BoxedRef<'_, HardSwishLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, InnerProductLayer>
impl LayerTraitConst for BoxedRef<'_, InnerProductLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, InnerProductLayerInt8>
impl LayerTraitConst for BoxedRef<'_, InnerProductLayerInt8>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, InstanceNormLayer>
impl LayerTraitConst for BoxedRef<'_, InstanceNormLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, InterpLayer>
impl LayerTraitConst for BoxedRef<'_, InterpLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, LRNLayer>
impl LayerTraitConst for BoxedRef<'_, LRNLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, LSTMLayer>
impl LayerTraitConst for BoxedRef<'_, LSTMLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, Layer>
impl LayerTraitConst for BoxedRef<'_, Layer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, LayerNormLayer>
impl LayerTraitConst for BoxedRef<'_, LayerNormLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, LogLayer>
impl LayerTraitConst for BoxedRef<'_, LogLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, MVNLayer>
impl LayerTraitConst for BoxedRef<'_, MVNLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, MatMulLayer>
impl LayerTraitConst for BoxedRef<'_, MatMulLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, MaxUnpoolLayer>
impl LayerTraitConst for BoxedRef<'_, MaxUnpoolLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, MishLayer>
impl LayerTraitConst for BoxedRef<'_, MishLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, NaryEltwiseLayer>
impl LayerTraitConst for BoxedRef<'_, NaryEltwiseLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, NormalizeBBoxLayer>
impl LayerTraitConst for BoxedRef<'_, NormalizeBBoxLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, NotLayer>
impl LayerTraitConst for BoxedRef<'_, NotLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, PaddingLayer>
impl LayerTraitConst for BoxedRef<'_, PaddingLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, PermuteLayer>
impl LayerTraitConst for BoxedRef<'_, PermuteLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, PoolingLayer>
impl LayerTraitConst for BoxedRef<'_, PoolingLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, PoolingLayerInt8>
impl LayerTraitConst for BoxedRef<'_, PoolingLayerInt8>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, PowerLayer>
impl LayerTraitConst for BoxedRef<'_, PowerLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, PriorBoxLayer>
impl LayerTraitConst for BoxedRef<'_, PriorBoxLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, ProposalLayer>
impl LayerTraitConst for BoxedRef<'_, ProposalLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, QuantizeLayer>
impl LayerTraitConst for BoxedRef<'_, QuantizeLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, RNNLayer>
impl LayerTraitConst for BoxedRef<'_, RNNLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, ReLU6Layer>
impl LayerTraitConst for BoxedRef<'_, ReLU6Layer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, ReLULayer>
impl LayerTraitConst for BoxedRef<'_, ReLULayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, ReciprocalLayer>
impl LayerTraitConst for BoxedRef<'_, ReciprocalLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, ReduceLayer>
impl LayerTraitConst for BoxedRef<'_, ReduceLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, RegionLayer>
impl LayerTraitConst for BoxedRef<'_, RegionLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, ReorgLayer>
impl LayerTraitConst for BoxedRef<'_, ReorgLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, RequantizeLayer>
impl LayerTraitConst for BoxedRef<'_, RequantizeLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, ReshapeLayer>
impl LayerTraitConst for BoxedRef<'_, ReshapeLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, ResizeLayer>
impl LayerTraitConst for BoxedRef<'_, ResizeLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, RoundLayer>
impl LayerTraitConst for BoxedRef<'_, RoundLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, ScaleLayer>
impl LayerTraitConst for BoxedRef<'_, ScaleLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, ScaleLayerInt8>
impl LayerTraitConst for BoxedRef<'_, ScaleLayerInt8>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, ScatterLayer>
impl LayerTraitConst for BoxedRef<'_, ScatterLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, ScatterNDLayer>
impl LayerTraitConst for BoxedRef<'_, ScatterNDLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, SeluLayer>
impl LayerTraitConst for BoxedRef<'_, SeluLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, ShiftLayer>
impl LayerTraitConst for BoxedRef<'_, ShiftLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, ShiftLayerInt8>
impl LayerTraitConst for BoxedRef<'_, ShiftLayerInt8>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, ShrinkLayer>
impl LayerTraitConst for BoxedRef<'_, ShrinkLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, ShuffleChannelLayer>
impl LayerTraitConst for BoxedRef<'_, ShuffleChannelLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, SigmoidLayer>
impl LayerTraitConst for BoxedRef<'_, SigmoidLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, SignLayer>
impl LayerTraitConst for BoxedRef<'_, SignLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, SinLayer>
impl LayerTraitConst for BoxedRef<'_, SinLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, SinhLayer>
impl LayerTraitConst for BoxedRef<'_, SinhLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, SliceLayer>
impl LayerTraitConst for BoxedRef<'_, SliceLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, SoftmaxLayer>
impl LayerTraitConst for BoxedRef<'_, SoftmaxLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, SoftmaxLayerInt8>
impl LayerTraitConst for BoxedRef<'_, SoftmaxLayerInt8>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, SoftplusLayer>
impl LayerTraitConst for BoxedRef<'_, SoftplusLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, SoftsignLayer>
impl LayerTraitConst for BoxedRef<'_, SoftsignLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, SpaceToDepthLayer>
impl LayerTraitConst for BoxedRef<'_, SpaceToDepthLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, SplitLayer>
impl LayerTraitConst for BoxedRef<'_, SplitLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, SqrtLayer>
impl LayerTraitConst for BoxedRef<'_, SqrtLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, SwishLayer>
impl LayerTraitConst for BoxedRef<'_, SwishLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, TanHLayer>
impl LayerTraitConst for BoxedRef<'_, TanHLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, TanLayer>
impl LayerTraitConst for BoxedRef<'_, TanLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, ThresholdedReluLayer>
impl LayerTraitConst for BoxedRef<'_, ThresholdedReluLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, TileLayer>
impl LayerTraitConst for BoxedRef<'_, TileLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LayerTraitConst for BoxedRef<'_, TopKLayer>
impl LayerTraitConst for BoxedRef<'_, TopKLayer>
fn as_raw_Layer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn blobs(&self) -> Vector<Mat>
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
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
Source§fn preferable_target(&self) -> i32
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<()>
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<()>
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<()>
fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32, ) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape>, ) -> Result<bool>
fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape>, ) -> Result<i64>
Source§impl LearningBasedWBTraitConst for BoxedRef<'_, LearningBasedWB>
impl LearningBasedWBTraitConst for BoxedRef<'_, LearningBasedWB>
fn as_raw_LearningBasedWB( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_range_max_val(&self) -> Result<i32>
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§impl LineIteratorTraitConst for BoxedRef<'_, LineIterator>
impl LineIteratorTraitConst for BoxedRef<'_, LineIterator>
fn as_raw_LineIterator(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn ptr(&self) -> *const u8
fn ptr0(&self) -> *const u8
fn step(&self) -> i32
fn elem_size(&self) -> i32
fn err(&self) -> i32
fn count(&self) -> i32
fn minus_delta(&self) -> i32
fn plus_delta(&self) -> i32
fn minus_step(&self) -> i32
fn plus_step(&self) -> i32
fn minus_shift(&self) -> i32
fn plus_shift(&self) -> i32
fn p(&self) -> Point
fn ptmode(&self) -> bool
Source§impl LineMod_ColorGradientTraitConst for BoxedRef<'_, LineMod_ColorGradient>
impl LineMod_ColorGradientTraitConst for BoxedRef<'_, LineMod_ColorGradient>
fn as_raw_LineMod_ColorGradient( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn weak_threshold(&self) -> f32
fn num_features(&self) -> size_t
fn strong_threshold(&self) -> f32
fn name(&self) -> Result<String>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Source§impl LineMod_DepthNormalTraitConst for BoxedRef<'_, LineMod_DepthNormal>
impl LineMod_DepthNormalTraitConst for BoxedRef<'_, LineMod_DepthNormal>
fn as_raw_LineMod_DepthNormal( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn distance_threshold(&self) -> i32
fn difference_threshold(&self) -> i32
fn num_features(&self) -> size_t
fn extract_threshold(&self) -> i32
fn name(&self) -> Result<String>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Source§impl LineMod_DetectorTraitConst for BoxedRef<'_, LineMod_Detector>
impl LineMod_DetectorTraitConst for BoxedRef<'_, LineMod_Detector>
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<()>
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<()>
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>>>
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>
fn get_t(&self, pyramid_level: i32) -> Result<i32>
\brief Get sampling step T at pyramid_level.
Source§fn pyramid_levels(&self) -> Result<i32>
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>>
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
fn num_templates(&self) -> Result<i32>
fn num_templates_1(&self, class_id: &str) -> Result<i32>
fn num_classes(&self) -> Result<i32>
fn class_ids(&self) -> Result<Vector<String>>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write_class( &self, class_id: &str, fs: &mut impl FileStorageTrait, ) -> Result<()>
Source§impl LineMod_MatchTraitConst for BoxedRef<'_, LineMod_Match>
impl LineMod_MatchTraitConst for BoxedRef<'_, LineMod_Match>
fn as_raw_LineMod_Match( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn x(&self) -> i32
fn y(&self) -> i32
fn similarity(&self) -> f32
fn class_id(&self) -> String
fn template_id(&self) -> i32
Source§fn less_than(&self, rhs: &impl LineMod_MatchTraitConst) -> Result<bool>
fn less_than(&self, rhs: &impl LineMod_MatchTraitConst) -> Result<bool>
Sort matches with high similarity to the front
fn equals(&self, rhs: &impl LineMod_MatchTraitConst) -> Result<bool>
Source§impl LineMod_ModalityTraitConst for BoxedRef<'_, LineMod_ColorGradient>
impl LineMod_ModalityTraitConst for BoxedRef<'_, LineMod_ColorGradient>
fn as_raw_LineMod_Modality( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn process(
&self,
src: &impl MatTraitConst,
mask: &impl MatTraitConst,
) -> Result<Ptr<LineMod_QuantizedPyramid>>
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>>
fn process_def( &self, src: &impl MatTraitConst, ) -> Result<Ptr<LineMod_QuantizedPyramid>>
\brief Form a quantized image pyramid from a source image. Read more
fn name(&self) -> Result<String>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Source§impl LineMod_ModalityTraitConst for BoxedRef<'_, LineMod_DepthNormal>
impl LineMod_ModalityTraitConst for BoxedRef<'_, LineMod_DepthNormal>
fn as_raw_LineMod_Modality( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn process(
&self,
src: &impl MatTraitConst,
mask: &impl MatTraitConst,
) -> Result<Ptr<LineMod_QuantizedPyramid>>
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>>
fn process_def( &self, src: &impl MatTraitConst, ) -> Result<Ptr<LineMod_QuantizedPyramid>>
\brief Form a quantized image pyramid from a source image. Read more
fn name(&self) -> Result<String>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Source§impl LineMod_ModalityTraitConst for BoxedRef<'_, LineMod_Modality>
impl LineMod_ModalityTraitConst for BoxedRef<'_, LineMod_Modality>
fn as_raw_LineMod_Modality( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn process(
&self,
src: &impl MatTraitConst,
mask: &impl MatTraitConst,
) -> Result<Ptr<LineMod_QuantizedPyramid>>
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>>
fn process_def( &self, src: &impl MatTraitConst, ) -> Result<Ptr<LineMod_QuantizedPyramid>>
\brief Form a quantized image pyramid from a source image. Read more
fn name(&self) -> Result<String>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Source§impl LineMod_QuantizedPyramidTraitConst for BoxedRef<'_, LineMod_QuantizedPyramid>
impl LineMod_QuantizedPyramidTraitConst for BoxedRef<'_, LineMod_QuantizedPyramid>
fn as_raw_LineMod_QuantizedPyramid( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn quantize(&self, dst: &mut impl MatTrait) -> Result<()>
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>
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_TemplateTraitConst for BoxedRef<'_, LineMod_Template>
impl LineMod_TemplateTraitConst for BoxedRef<'_, LineMod_Template>
fn as_raw_LineMod_Template( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn width(&self) -> i32
fn height(&self) -> i32
fn pyramid_level(&self) -> i32
fn features(&self) -> Vector<LineMod_Feature>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Source§impl LineSegmentDetectorTraitConst for BoxedRef<'_, LineSegmentDetector>
impl LineSegmentDetectorTraitConst for BoxedRef<'_, LineSegmentDetector>
fn as_raw_LineSegmentDetector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl LinearIndexParamsTraitConst for BoxedRef<'_, LinearIndexParams>
impl LinearIndexParamsTraitConst for BoxedRef<'_, LinearIndexParams>
fn as_raw_LinearIndexParams( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl LogLayerTraitConst for BoxedRef<'_, LogLayer>
impl LogLayerTraitConst for BoxedRef<'_, LogLayer>
fn as_raw_LogLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl LogTagTraitConst for BoxedRef<'_, LogTag>
impl LogTagTraitConst for BoxedRef<'_, LogTag>
Source§impl LogToStdoutTraitConst for BoxedRef<'_, LogToStdout>
impl LogToStdoutTraitConst for BoxedRef<'_, LogToStdout>
fn as_raw_LogToStdout(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl LogisticRegressionTraitConst for BoxedRef<'_, LogisticRegression>
impl LogisticRegressionTraitConst for BoxedRef<'_, LogisticRegression>
fn as_raw_LogisticRegression( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_regularization(&self) -> Result<i32>
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>
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>
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>
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>
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>
fn predict_def(&self, samples: &impl ToInputArray) -> Result<f32>
Predicts responses for input samples and returns a float type. Read more
Source§impl LookUpTableTraitConst for BoxedRef<'_, LookUpTable>
impl LookUpTableTraitConst for BoxedRef<'_, LookUpTable>
fn as_raw_LookUpTable(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl LpMotionStabilizerTraitConst for BoxedRef<'_, LpMotionStabilizer>
impl LpMotionStabilizerTraitConst for BoxedRef<'_, LpMotionStabilizer>
fn as_raw_LpMotionStabilizer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn motion_model(&self) -> Result<MotionModel>
fn frame_size(&self) -> Result<Size>
fn trim_ratio(&self) -> Result<f32>
fn weight1(&self) -> Result<f32>
fn weight2(&self) -> Result<f32>
fn weight3(&self) -> Result<f32>
fn weight4(&self) -> Result<f32>
Source§impl LshIndexParamsTraitConst for BoxedRef<'_, LshIndexParams>
impl LshIndexParamsTraitConst for BoxedRef<'_, LshIndexParams>
fn as_raw_LshIndexParams( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl MACETraitConst for BoxedRef<'_, MACE>
impl MACETraitConst for BoxedRef<'_, MACE>
fn as_raw_MACE(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl MCC_CCheckerDetectorTraitConst for BoxedRef<'_, MCC_CCheckerDetector>
impl MCC_CCheckerDetectorTraitConst for BoxedRef<'_, MCC_CCheckerDetector>
fn as_raw_MCC_CCheckerDetector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl MCC_CCheckerDrawTraitConst for BoxedRef<'_, MCC_CCheckerDraw>
impl MCC_CCheckerDrawTraitConst for BoxedRef<'_, MCC_CCheckerDraw>
fn as_raw_MCC_CCheckerDraw( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl MCC_CCheckerTraitConst for BoxedRef<'_, MCC_CChecker>
impl MCC_CCheckerTraitConst for BoxedRef<'_, MCC_CChecker>
fn as_raw_MCC_CChecker(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl MCC_DetectorParametersTraitConst for BoxedRef<'_, MCC_DetectorParameters>
impl MCC_DetectorParametersTraitConst for BoxedRef<'_, MCC_DetectorParameters>
fn as_raw_MCC_DetectorParameters( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn adaptive_thresh_win_size_min(&self) -> i32
fn adaptive_thresh_win_size_max(&self) -> i32
fn adaptive_thresh_win_size_step(&self) -> i32
fn adaptive_thresh_constant(&self) -> f64
fn min_contours_area_rate(&self) -> f64
fn min_contours_area(&self) -> f64
fn confidence_threshold(&self) -> f64
fn min_contour_solidity(&self) -> f64
fn find_candidates_approx_poly_dp_eps_multiplier(&self) -> f64
fn border_width(&self) -> i32
fn b0factor(&self) -> f32
fn max_error(&self) -> f32
fn min_contour_points_allowed(&self) -> i32
fn min_contour_length_allowed(&self) -> i32
fn min_inter_contour_distance(&self) -> i32
fn min_inter_checker_distance(&self) -> i32
fn min_image_size(&self) -> i32
fn min_group_size(&self) -> u32
Source§impl MSDDetectorTraitConst for BoxedRef<'_, MSDDetector>
impl MSDDetectorTraitConst for BoxedRef<'_, MSDDetector>
fn as_raw_MSDDetector(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_patch_radius(&self) -> Result<i32>
fn get_search_area_radius(&self) -> Result<i32>
fn get_nms_radius(&self) -> Result<i32>
fn get_nms_scale_radius(&self) -> Result<i32>
fn get_th_saliency(&self) -> Result<f32>
fn get_knn(&self) -> Result<i32>
fn get_scale_factor(&self) -> Result<f32>
fn get_n_scales(&self) -> Result<i32>
fn get_compute_orientation(&self) -> Result<bool>
fn get_default_name(&self) -> Result<String>
Source§impl MSERTraitConst for BoxedRef<'_, MSER>
impl MSERTraitConst for BoxedRef<'_, MSER>
fn as_raw_MSER(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_delta(&self) -> Result<i32>
fn get_min_area(&self) -> Result<i32>
fn get_max_area(&self) -> Result<i32>
fn get_max_variation(&self) -> Result<f64>
fn get_min_diversity(&self) -> Result<f64>
fn get_max_evolution(&self) -> Result<i32>
fn get_area_threshold(&self) -> Result<f64>
fn get_min_margin(&self) -> Result<f64>
fn get_edge_blur_size(&self) -> Result<i32>
fn get_pass2_only(&self) -> Result<bool>
fn get_default_name(&self) -> Result<String>
Source§impl MVNLayerTraitConst for BoxedRef<'_, MVNLayer>
impl MVNLayerTraitConst for BoxedRef<'_, MVNLayer>
fn as_raw_MVNLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn eps(&self) -> f32
fn norm_variance(&self) -> bool
fn across_channels(&self) -> bool
Source§impl MarrHildrethHashTraitConst for BoxedRef<'_, MarrHildrethHash>
impl MarrHildrethHashTraitConst for BoxedRef<'_, MarrHildrethHash>
Source§impl MaskFrameSourceTraitConst for BoxedRef<'_, MaskFrameSource>
impl MaskFrameSourceTraitConst for BoxedRef<'_, MaskFrameSource>
fn as_raw_MaskFrameSource( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl MatConstIteratorTraitConst for BoxedRef<'_, MatConstIterator>
impl MatConstIteratorTraitConst for BoxedRef<'_, MatConstIterator>
fn as_raw_MatConstIterator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn m(&self) -> Mat
fn elem_size(&self) -> size_t
fn ptr(&self) -> *const u8
fn slice_start(&self) -> *const u8
fn slice_end(&self) -> *const u8
Source§fn get(&self, i: ptrdiff_t) -> Result<*const u8>
fn get(&self, i: ptrdiff_t) -> Result<*const u8>
returns the i-th matrix element, relative to the current
fn lpos(&self) -> Result<ptrdiff_t>
fn typ(&self) -> i32
Source§impl MatExprTraitConst for BoxedRef<'_, MatExpr>
impl MatExprTraitConst for BoxedRef<'_, MatExpr>
fn as_raw_MatExpr(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn flags(&self) -> i32
fn a(&self) -> Mat
fn b(&self) -> Mat
fn c(&self) -> Mat
fn alpha(&self) -> f64
fn beta(&self) -> f64
fn s(&self) -> Scalar
fn to_mat(&self) -> Result<Mat>
fn size(&self) -> Result<Size>
fn typ(&self) -> Result<i32>
fn row(&self, y: i32) -> Result<MatExpr>
fn col(&self, x: i32) -> Result<MatExpr>
fn rowscols( &self, row_range: &impl RangeTraitConst, col_range: &impl RangeTraitConst, ) -> Result<MatExpr>
fn roi(&self, roi: Rect) -> Result<MatExpr>
fn t(&self) -> Result<MatExpr>
Source§fn mul_matexpr(&self, e: &impl MatExprTraitConst, scale: f64) -> Result<MatExpr>
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>
fn mul_matexpr_def(&self, e: &impl MatExprTraitConst) -> Result<MatExpr>
Note Read more
Source§fn mul(&self, m: &impl MatTraitConst, scale: f64) -> Result<MatExpr>
fn mul(&self, m: &impl MatTraitConst, scale: f64) -> Result<MatExpr>
C++ default parameters Read more
fn cross(&self, m: &impl MatTraitConst) -> Result<Mat>
fn dot(&self, m: &impl MatTraitConst) -> Result<f64>
Source§impl MatMulLayerTraitConst for BoxedRef<'_, MatMulLayer>
impl MatMulLayerTraitConst for BoxedRef<'_, MatMulLayer>
fn as_raw_MatMulLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl MatOpTraitConst for BoxedRef<'_, MatOp>
impl MatOpTraitConst for BoxedRef<'_, MatOp>
fn as_raw_MatOp(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn element_wise(&self, expr: &impl MatExprTraitConst) -> Result<bool>
Source§fn assign(
&self,
expr: &impl MatExprTraitConst,
m: &mut impl MatTrait,
typ: i32,
) -> Result<()>
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<()>
fn assign_def( &self, expr: &impl MatExprTraitConst, m: &mut impl MatTrait, ) -> Result<()>
Note Read more
fn roi( &self, expr: &impl MatExprTraitConst, row_range: &impl RangeTraitConst, col_range: &impl RangeTraitConst, res: &mut impl MatExprTrait, ) -> Result<()>
fn diag( &self, expr: &impl MatExprTraitConst, d: i32, res: &mut impl MatExprTrait, ) -> Result<()>
fn aug_assign_add( &self, expr: &impl MatExprTraitConst, m: &mut impl MatTrait, ) -> Result<()>
fn aug_assign_subtract( &self, expr: &impl MatExprTraitConst, m: &mut impl MatTrait, ) -> Result<()>
fn aug_assign_multiply( &self, expr: &impl MatExprTraitConst, m: &mut impl MatTrait, ) -> Result<()>
fn aug_assign_divide( &self, expr: &impl MatExprTraitConst, m: &mut impl MatTrait, ) -> Result<()>
fn aug_assign_and( &self, expr: &impl MatExprTraitConst, m: &mut impl MatTrait, ) -> Result<()>
fn aug_assign_or( &self, expr: &impl MatExprTraitConst, m: &mut impl MatTrait, ) -> Result<()>
fn aug_assign_xor( &self, expr: &impl MatExprTraitConst, m: &mut impl MatTrait, ) -> Result<()>
fn add( &self, expr1: &impl MatExprTraitConst, expr2: &impl MatExprTraitConst, res: &mut impl MatExprTrait, ) -> Result<()>
fn add_scalar( &self, expr1: &impl MatExprTraitConst, s: Scalar, res: &mut impl MatExprTrait, ) -> Result<()>
fn subtract( &self, expr1: &impl MatExprTraitConst, expr2: &impl MatExprTraitConst, res: &mut impl MatExprTrait, ) -> Result<()>
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<()>
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<()>
fn multiply_def( &self, expr1: &impl MatExprTraitConst, expr2: &impl MatExprTraitConst, res: &mut impl MatExprTrait, ) -> Result<()>
Note Read more
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<()>
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<()>
fn divide_def( &self, expr1: &impl MatExprTraitConst, expr2: &impl MatExprTraitConst, res: &mut impl MatExprTrait, ) -> Result<()>
Note Read more
fn divide_f64( &self, s: f64, expr: &impl MatExprTraitConst, res: &mut impl MatExprTrait, ) -> Result<()>
fn abs( &self, expr: &impl MatExprTraitConst, res: &mut impl MatExprTrait, ) -> Result<()>
fn transpose( &self, expr: &impl MatExprTraitConst, res: &mut impl MatExprTrait, ) -> Result<()>
fn matmul( &self, expr1: &impl MatExprTraitConst, expr2: &impl MatExprTraitConst, res: &mut impl MatExprTrait, ) -> Result<()>
fn invert( &self, expr: &impl MatExprTraitConst, method: i32, res: &mut impl MatExprTrait, ) -> Result<()>
fn size(&self, expr: &impl MatExprTraitConst) -> Result<Size>
fn typ(&self, expr: &impl MatExprTraitConst) -> Result<i32>
Source§impl MatSizeTraitConst for BoxedRef<'_, MatSize>
impl MatSizeTraitConst for BoxedRef<'_, MatSize>
fn as_raw_MatSize(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn p(&self) -> *const i32
fn dims(&self) -> i32
fn apply(&self) -> Result<Size>
fn get(&self, i: i32) -> Result<i32>
fn to_xconst_i32(&self) -> *const i32
fn equals(&self, sz: &impl MatSizeTraitConst) -> bool
fn not_equals(&self, sz: &impl MatSizeTraitConst) -> bool
Source§impl MatStepTraitConst for BoxedRef<'_, MatStep>
impl MatStepTraitConst for BoxedRef<'_, MatStep>
Source§impl MatTraitConst for BoxedRef<'_, Mat>
impl MatTraitConst for BoxedRef<'_, Mat>
fn as_raw_Mat(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn rows(&self) -> i32
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
fn cols(&self) -> i32
the number of rows and columns or (-1, -1) when the matrix has more than 2 dimensions
fn dataend(&self) -> *const u8
fn datalimit(&self) -> *const u8
fn mat_size(&self) -> MatSize
fn mat_step(&self) -> MatStep
Source§fn get_umat(
&self,
access_flags: AccessFlag,
usage_flags: UMatUsageFlags,
) -> Result<UMat>
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>
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>>
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>>
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>>
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>>
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>>
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>>
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>>
fn diag(&self, d: i32) -> Result<BoxedRef<'_, Mat>>
Extracts a diagonal from a matrix Read more
Source§fn try_clone(&self) -> Result<Mat>
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<()>
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<()>
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<()>
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<()>
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<()>
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<()>
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>>
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>>
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>>
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>>
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 mul(&self, m: &impl ToInputArray, scale: f64) -> Result<MatExpr>
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>
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>
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>
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<()>
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>>
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>>
fn roi(&self, roi: Rect) -> Result<BoxedRef<'_, Mat>>
Extracts a rectangular submatrix. Read more
Source§fn ranges(&self, ranges: &Vector<Range>) -> Result<BoxedRef<'_, Mat>>
fn ranges(&self, ranges: &Vector<Range>) -> Result<BoxedRef<'_, Mat>>
Extracts a rectangular submatrix. Read more
Source§fn is_continuous(&self) -> bool
fn is_continuous(&self) -> bool
Reports whether the matrix is continuous or not. Read more
Source§fn is_submatrix(&self) -> bool
fn is_submatrix(&self) -> bool
returns true if the matrix is a submatrix of another matrix
Source§fn elem_size1(&self) -> size_t
fn elem_size1(&self) -> size_t
Returns the size of each matrix element channel in bytes. Read more
Source§fn total_slice(&self, start_dim: i32, end_dim: i32) -> Result<size_t>
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>
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>
fn check_vector( &self, elem_channels: i32, depth: i32, require_continuous: bool, ) -> Result<i32>
Parameters Read more
Source§fn ptr(&self, i0: i32) -> Result<*const u8>
fn ptr(&self, i0: i32) -> Result<*const u8>
Returns a pointer to the specified matrix row. Read more
Source§fn ptr_2d(&self, row: i32, col: i32) -> Result<*const u8>
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>
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>
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>
fn at<T: DataType>(&self, i0: i32) -> 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>
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>
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>
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>
fn at_pt<T: DataType>(&self, pt: Point) -> Result<&T>
Returns a reference to the specified array element. Read more
fn size(&self) -> Result<Size>
Source§fn get_data_dump(&self) -> Result<String>
fn get_data_dump(&self) -> Result<String>
Return the dump of the Mat’s data
Source§impl Matx_AddOpTraitConst for BoxedRef<'_, Matx_AddOp>
impl Matx_AddOpTraitConst for BoxedRef<'_, Matx_AddOp>
fn as_raw_Matx_AddOp(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Matx_DivOpTraitConst for BoxedRef<'_, Matx_DivOp>
impl Matx_DivOpTraitConst for BoxedRef<'_, Matx_DivOp>
fn as_raw_Matx_DivOp(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Matx_MatMulOpTraitConst for BoxedRef<'_, Matx_MatMulOp>
impl Matx_MatMulOpTraitConst for BoxedRef<'_, Matx_MatMulOp>
fn as_raw_Matx_MatMulOp( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Matx_MulOpTraitConst for BoxedRef<'_, Matx_MulOp>
impl Matx_MulOpTraitConst for BoxedRef<'_, Matx_MulOp>
fn as_raw_Matx_MulOp(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Matx_ScaleOpTraitConst for BoxedRef<'_, Matx_ScaleOp>
impl Matx_ScaleOpTraitConst for BoxedRef<'_, Matx_ScaleOp>
fn as_raw_Matx_ScaleOp(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Matx_SubOpTraitConst for BoxedRef<'_, Matx_SubOp>
impl Matx_SubOpTraitConst for BoxedRef<'_, Matx_SubOp>
fn as_raw_Matx_SubOp(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Matx_TOpTraitConst for BoxedRef<'_, Matx_TOp>
impl Matx_TOpTraitConst for BoxedRef<'_, Matx_TOp>
fn as_raw_Matx_TOp(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl MaxUnpoolLayerTraitConst for BoxedRef<'_, MaxUnpoolLayer>
impl MaxUnpoolLayerTraitConst for BoxedRef<'_, MaxUnpoolLayer>
fn as_raw_MaxUnpoolLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn pool_kernel(&self) -> Size
fn pool_pad(&self) -> Size
fn pool_stride(&self) -> Size
Source§impl MediaFrameTraitConst for BoxedRef<'_, MediaFrame>
impl MediaFrameTraitConst for BoxedRef<'_, MediaFrame>
fn as_raw_MediaFrame(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn desc(&self) -> Result<GFrameDesc>
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>
fn blob_params(&self) -> Result<any>
@private – exclude from the OpenCV documentation for now.
Source§impl MediaFrame_IAdapterTraitConst for BoxedRef<'_, MediaFrame_IAdapter>
impl MediaFrame_IAdapterTraitConst for BoxedRef<'_, MediaFrame_IAdapter>
fn as_raw_MediaFrame_IAdapter( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn meta(&self) -> Result<GFrameDesc>
fn blob_params(&self) -> Result<any>
Source§impl MediaFrame_ViewTraitConst for BoxedRef<'_, MediaFrame_View>
impl MediaFrame_ViewTraitConst for BoxedRef<'_, MediaFrame_View>
fn as_raw_MediaFrame_View( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl MercatorWarperTraitConst for BoxedRef<'_, MercatorWarper>
impl MercatorWarperTraitConst for BoxedRef<'_, MercatorWarper>
fn as_raw_MercatorWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn create(&self, scale: f32) -> Result<Ptr<Detail_RotationWarper>>
Source§impl MergeDebevecTraitConst for BoxedRef<'_, MergeDebevec>
impl MergeDebevecTraitConst for BoxedRef<'_, MergeDebevec>
fn as_raw_MergeDebevec(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl MergeExposuresTraitConst for BoxedRef<'_, MergeDebevec>
impl MergeExposuresTraitConst for BoxedRef<'_, MergeDebevec>
fn as_raw_MergeExposures( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl MergeExposuresTraitConst for BoxedRef<'_, MergeExposures>
impl MergeExposuresTraitConst for BoxedRef<'_, MergeExposures>
fn as_raw_MergeExposures( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl MergeExposuresTraitConst for BoxedRef<'_, MergeMertens>
impl MergeExposuresTraitConst for BoxedRef<'_, MergeMertens>
fn as_raw_MergeExposures( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl MergeExposuresTraitConst for BoxedRef<'_, MergeRobertson>
impl MergeExposuresTraitConst for BoxedRef<'_, MergeRobertson>
fn as_raw_MergeExposures( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl MergeMertensTraitConst for BoxedRef<'_, MergeMertens>
impl MergeMertensTraitConst for BoxedRef<'_, MergeMertens>
fn as_raw_MergeMertens(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_contrast_weight(&self) -> Result<f32>
fn get_saturation_weight(&self) -> Result<f32>
fn get_exposure_weight(&self) -> Result<f32>
Source§impl MergeRobertsonTraitConst for BoxedRef<'_, MergeRobertson>
impl MergeRobertsonTraitConst for BoxedRef<'_, MergeRobertson>
fn as_raw_MergeRobertson( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl MeshTraitConst for BoxedRef<'_, Mesh>
impl MeshTraitConst for BoxedRef<'_, Mesh>
Source§impl MinProblemSolverTraitConst for BoxedRef<'_, ConjGradSolver>
impl MinProblemSolverTraitConst for BoxedRef<'_, ConjGradSolver>
fn as_raw_MinProblemSolver( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_function(&self) -> Result<Ptr<MinProblemSolver_Function>>
fn get_function(&self) -> Result<Ptr<MinProblemSolver_Function>>
Getter for the optimized function. Read more
Source§fn get_term_criteria(&self) -> Result<TermCriteria>
fn get_term_criteria(&self) -> Result<TermCriteria>
Getter for the previously set terminal criteria for this algorithm. Read more
Source§impl MinProblemSolverTraitConst for BoxedRef<'_, DownhillSolver>
impl MinProblemSolverTraitConst for BoxedRef<'_, DownhillSolver>
fn as_raw_MinProblemSolver( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_function(&self) -> Result<Ptr<MinProblemSolver_Function>>
fn get_function(&self) -> Result<Ptr<MinProblemSolver_Function>>
Getter for the optimized function. Read more
Source§fn get_term_criteria(&self) -> Result<TermCriteria>
fn get_term_criteria(&self) -> Result<TermCriteria>
Getter for the previously set terminal criteria for this algorithm. Read more
Source§impl MinProblemSolverTraitConst for BoxedRef<'_, MinProblemSolver>
impl MinProblemSolverTraitConst for BoxedRef<'_, MinProblemSolver>
fn as_raw_MinProblemSolver( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_function(&self) -> Result<Ptr<MinProblemSolver_Function>>
fn get_function(&self) -> Result<Ptr<MinProblemSolver_Function>>
Getter for the optimized function. Read more
Source§fn get_term_criteria(&self) -> Result<TermCriteria>
fn get_term_criteria(&self) -> Result<TermCriteria>
Getter for the previously set terminal criteria for this algorithm. Read more
Source§impl MishLayerTraitConst for BoxedRef<'_, MishLayer>
impl MishLayerTraitConst for BoxedRef<'_, MishLayer>
fn as_raw_MishLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl ModelTraitConst for BoxedRef<'_, ClassificationModel>
impl ModelTraitConst for BoxedRef<'_, ClassificationModel>
fn as_raw_Model(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn predict(
&self,
frame: &impl ToInputArray,
outs: &mut impl ToOutputArray,
) -> Result<()>
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
fn get_network_(&self) -> Result<Net>
Source§impl ModelTraitConst for BoxedRef<'_, DetectionModel>
impl ModelTraitConst for BoxedRef<'_, DetectionModel>
fn as_raw_Model(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn predict(
&self,
frame: &impl ToInputArray,
outs: &mut impl ToOutputArray,
) -> Result<()>
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
fn get_network_(&self) -> Result<Net>
Source§impl ModelTraitConst for BoxedRef<'_, KeypointsModel>
impl ModelTraitConst for BoxedRef<'_, KeypointsModel>
fn as_raw_Model(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn predict(
&self,
frame: &impl ToInputArray,
outs: &mut impl ToOutputArray,
) -> Result<()>
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
fn get_network_(&self) -> Result<Net>
Source§impl ModelTraitConst for BoxedRef<'_, Model>
impl ModelTraitConst for BoxedRef<'_, Model>
fn as_raw_Model(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn predict(
&self,
frame: &impl ToInputArray,
outs: &mut impl ToOutputArray,
) -> Result<()>
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
fn get_network_(&self) -> Result<Net>
Source§impl ModelTraitConst for BoxedRef<'_, SegmentationModel>
impl ModelTraitConst for BoxedRef<'_, SegmentationModel>
fn as_raw_Model(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn predict(
&self,
frame: &impl ToInputArray,
outs: &mut impl ToOutputArray,
) -> Result<()>
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
fn get_network_(&self) -> Result<Net>
Source§impl ModelTraitConst for BoxedRef<'_, TextDetectionModel>
impl ModelTraitConst for BoxedRef<'_, TextDetectionModel>
fn as_raw_Model(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn predict(
&self,
frame: &impl ToInputArray,
outs: &mut impl ToOutputArray,
) -> Result<()>
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
fn get_network_(&self) -> Result<Net>
Source§impl ModelTraitConst for BoxedRef<'_, TextDetectionModel_DB>
impl ModelTraitConst for BoxedRef<'_, TextDetectionModel_DB>
fn as_raw_Model(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn predict(
&self,
frame: &impl ToInputArray,
outs: &mut impl ToOutputArray,
) -> Result<()>
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
fn get_network_(&self) -> Result<Net>
Source§impl ModelTraitConst for BoxedRef<'_, TextDetectionModel_EAST>
impl ModelTraitConst for BoxedRef<'_, TextDetectionModel_EAST>
fn as_raw_Model(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn predict(
&self,
frame: &impl ToInputArray,
outs: &mut impl ToOutputArray,
) -> Result<()>
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
fn get_network_(&self) -> Result<Net>
Source§impl ModelTraitConst for BoxedRef<'_, TextRecognitionModel>
impl ModelTraitConst for BoxedRef<'_, TextRecognitionModel>
fn as_raw_Model(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn predict(
&self,
frame: &impl ToInputArray,
outs: &mut impl ToOutputArray,
) -> Result<()>
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
fn get_network_(&self) -> Result<Net>
Source§impl MoreAccurateMotionWobbleSuppressorBaseTraitConst for BoxedRef<'_, MoreAccurateMotionWobbleSuppressor>
impl MoreAccurateMotionWobbleSuppressorBaseTraitConst for BoxedRef<'_, MoreAccurateMotionWobbleSuppressor>
Source§impl MoreAccurateMotionWobbleSuppressorBaseTraitConst for BoxedRef<'_, MoreAccurateMotionWobbleSuppressorBase>
impl MoreAccurateMotionWobbleSuppressorBaseTraitConst for BoxedRef<'_, MoreAccurateMotionWobbleSuppressorBase>
Source§impl MoreAccurateMotionWobbleSuppressorBaseTraitConst for BoxedRef<'_, MoreAccurateMotionWobbleSuppressorGpu>
impl MoreAccurateMotionWobbleSuppressorBaseTraitConst for BoxedRef<'_, MoreAccurateMotionWobbleSuppressorGpu>
Source§impl MoreAccurateMotionWobbleSuppressorGpuTraitConst for BoxedRef<'_, MoreAccurateMotionWobbleSuppressorGpu>
impl MoreAccurateMotionWobbleSuppressorGpuTraitConst for BoxedRef<'_, MoreAccurateMotionWobbleSuppressorGpu>
fn as_raw_MoreAccurateMotionWobbleSuppressorGpu( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl MoreAccurateMotionWobbleSuppressorTraitConst for BoxedRef<'_, MoreAccurateMotionWobbleSuppressor>
impl MoreAccurateMotionWobbleSuppressorTraitConst for BoxedRef<'_, MoreAccurateMotionWobbleSuppressor>
fn as_raw_MoreAccurateMotionWobbleSuppressor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl MotionEstimatorBaseTraitConst for BoxedRef<'_, MotionEstimatorBase>
impl MotionEstimatorBaseTraitConst for BoxedRef<'_, MotionEstimatorBase>
fn as_raw_MotionEstimatorBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn motion_model(&self) -> Result<MotionModel>
fn motion_model(&self) -> Result<MotionModel>
Returns Read more
Source§impl MotionEstimatorBaseTraitConst for BoxedRef<'_, MotionEstimatorL1>
impl MotionEstimatorBaseTraitConst for BoxedRef<'_, MotionEstimatorL1>
fn as_raw_MotionEstimatorBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn motion_model(&self) -> Result<MotionModel>
fn motion_model(&self) -> Result<MotionModel>
Returns Read more
Source§impl MotionEstimatorBaseTraitConst for BoxedRef<'_, MotionEstimatorRansacL2>
impl MotionEstimatorBaseTraitConst for BoxedRef<'_, MotionEstimatorRansacL2>
fn as_raw_MotionEstimatorBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn motion_model(&self) -> Result<MotionModel>
fn motion_model(&self) -> Result<MotionModel>
Returns Read more
Source§impl MotionEstimatorL1TraitConst for BoxedRef<'_, MotionEstimatorL1>
impl MotionEstimatorL1TraitConst for BoxedRef<'_, MotionEstimatorL1>
fn as_raw_MotionEstimatorL1( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl MotionEstimatorRansacL2TraitConst for BoxedRef<'_, MotionEstimatorRansacL2>
impl MotionEstimatorRansacL2TraitConst for BoxedRef<'_, MotionEstimatorRansacL2>
fn as_raw_MotionEstimatorRansacL2( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn ransac_params(&self) -> Result<RansacParams>
fn min_inlier_ratio(&self) -> Result<f32>
Source§impl MotionFilterBaseTraitConst for BoxedRef<'_, GaussianMotionFilter>
impl MotionFilterBaseTraitConst for BoxedRef<'_, GaussianMotionFilter>
fn as_raw_MotionFilterBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl MotionFilterBaseTraitConst for BoxedRef<'_, MotionFilterBase>
impl MotionFilterBaseTraitConst for BoxedRef<'_, MotionFilterBase>
fn as_raw_MotionFilterBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl MotionInpainterTraitConst for BoxedRef<'_, MotionInpainter>
impl MotionInpainterTraitConst for BoxedRef<'_, MotionInpainter>
fn as_raw_MotionInpainter( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn opt_flow_estimator(&self) -> Result<Ptr<IDenseOptFlowEstimator>>
fn flow_error_threshold(&self) -> Result<f32>
fn dist_thresh(&self) -> Result<f32>
fn border_mode(&self) -> Result<i32>
Source§impl MotionSaliencyBinWangApr2014TraitConst for BoxedRef<'_, MotionSaliencyBinWangApr2014>
impl MotionSaliencyBinWangApr2014TraitConst for BoxedRef<'_, MotionSaliencyBinWangApr2014>
fn as_raw_MotionSaliencyBinWangApr2014( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_image_width(&self) -> Result<i32>
fn get_image_height(&self) -> Result<i32>
Source§impl MotionSaliencyTraitConst for BoxedRef<'_, MotionSaliency>
impl MotionSaliencyTraitConst for BoxedRef<'_, MotionSaliency>
fn as_raw_MotionSaliency( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl MotionSaliencyTraitConst for BoxedRef<'_, MotionSaliencyBinWangApr2014>
impl MotionSaliencyTraitConst for BoxedRef<'_, MotionSaliencyBinWangApr2014>
fn as_raw_MotionSaliency( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl MouseEventTraitConst for BoxedRef<'_, MouseEvent>
impl MouseEventTraitConst for BoxedRef<'_, MouseEvent>
Source§impl MultiCameraCalibrationTraitConst for BoxedRef<'_, MultiCameraCalibration>
impl MultiCameraCalibrationTraitConst for BoxedRef<'_, MultiCameraCalibration>
fn as_raw_MultiCameraCalibration( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl MultiCameraCalibration_edgeTraitConst for BoxedRef<'_, MultiCameraCalibration_edge>
impl MultiCameraCalibration_edgeTraitConst for BoxedRef<'_, MultiCameraCalibration_edge>
fn as_raw_MultiCameraCalibration_edge( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn camera_vertex(&self) -> i32
fn photo_vertex(&self) -> i32
fn photo_index(&self) -> i32
fn transform(&self) -> Mat
Source§impl NaryEltwiseLayerTraitConst for BoxedRef<'_, NaryEltwiseLayer>
impl NaryEltwiseLayerTraitConst for BoxedRef<'_, NaryEltwiseLayer>
fn as_raw_NaryEltwiseLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl NetTraitConst for BoxedRef<'_, Net>
impl NetTraitConst for BoxedRef<'_, Net>
fn as_raw_Net(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_layer_id(&self, layer: &str) -> Result<i32>
fn get_layer_id(&self, layer: &str) -> Result<i32>
Converts string name of the layer to the integer identifier. Read more
fn get_layer_names(&self) -> Result<Vector<String>>
Source§fn get_layer(&self, layer_id: i32) -> Result<Ptr<Layer>>
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>>
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>>
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>>>
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<()>
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<()>
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>
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>
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>
fn get_param_1(&self, layer_name: &str, num_param: i32) -> Result<Mat>
C++ default parameters Read more
Source§fn get_unconnected_out_layers(&self) -> Result<Vector<i32>>
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>>
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<()>
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<()>
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<()>
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<()>
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>
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>
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>
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>
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<()>
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>
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<()>
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<()>
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<()>
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<()>
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<()>
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§impl NodeDataTraitConst for BoxedRef<'_, NodeData>
impl NodeDataTraitConst for BoxedRef<'_, NodeData>
fn as_raw_NodeData(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn m_fun_name(&self) -> String
fn m_instr_type(&self) -> TYPE
fn m_impl_type(&self) -> IMPL
fn m_file_name(&self) -> String
fn m_line_num(&self) -> i32
fn m_always_expand(&self) -> bool
fn m_fun_error(&self) -> bool
fn m_counter(&self) -> i32
fn m_ticks_total(&self) -> u64
fn m_threads(&self) -> i32
fn get_total_ms(&self) -> Result<f64>
fn get_mean_ms(&self) -> Result<f64>
Source§impl NormHistogramCostExtractorTraitConst for BoxedRef<'_, NormHistogramCostExtractor>
impl NormHistogramCostExtractorTraitConst for BoxedRef<'_, NormHistogramCostExtractor>
fn as_raw_NormHistogramCostExtractor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_norm_flag(&self) -> Result<i32>
Source§impl NormalBayesClassifierTraitConst for BoxedRef<'_, NormalBayesClassifier>
impl NormalBayesClassifierTraitConst for BoxedRef<'_, NormalBayesClassifier>
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>
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>
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 NormalizeBBoxLayerTraitConst for BoxedRef<'_, NormalizeBBoxLayer>
impl NormalizeBBoxLayerTraitConst for BoxedRef<'_, NormalizeBBoxLayer>
Source§impl NotLayerTraitConst for BoxedRef<'_, NotLayer>
impl NotLayerTraitConst for BoxedRef<'_, NotLayer>
fn as_raw_NotLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl NullDeblurerTraitConst for BoxedRef<'_, NullDeblurer>
impl NullDeblurerTraitConst for BoxedRef<'_, NullDeblurer>
fn as_raw_NullDeblurer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl NullFrameSourceTraitConst for BoxedRef<'_, NullFrameSource>
impl NullFrameSourceTraitConst for BoxedRef<'_, NullFrameSource>
fn as_raw_NullFrameSource( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl NullInpainterTraitConst for BoxedRef<'_, NullInpainter>
impl NullInpainterTraitConst for BoxedRef<'_, NullInpainter>
fn as_raw_NullInpainter( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl NullLogTraitConst for BoxedRef<'_, NullLog>
impl NullLogTraitConst for BoxedRef<'_, NullLog>
fn as_raw_NullLog(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl NullOutlierRejectorTraitConst for BoxedRef<'_, NullOutlierRejector>
impl NullOutlierRejectorTraitConst for BoxedRef<'_, NullOutlierRejector>
fn as_raw_NullOutlierRejector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl NullWobbleSuppressorTraitConst for BoxedRef<'_, NullWobbleSuppressor>
impl NullWobbleSuppressorTraitConst for BoxedRef<'_, NullWobbleSuppressor>
fn as_raw_NullWobbleSuppressor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl OCRBeamSearchDecoderTraitConst for BoxedRef<'_, OCRBeamSearchDecoder>
impl OCRBeamSearchDecoderTraitConst for BoxedRef<'_, OCRBeamSearchDecoder>
fn as_raw_OCRBeamSearchDecoder( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl OCRBeamSearchDecoder_ClassifierCallbackTraitConst for BoxedRef<'_, OCRBeamSearchDecoder_ClassifierCallback>
impl OCRBeamSearchDecoder_ClassifierCallbackTraitConst for BoxedRef<'_, OCRBeamSearchDecoder_ClassifierCallback>
fn as_raw_OCRBeamSearchDecoder_ClassifierCallback( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl OCRHMMDecoderTraitConst for BoxedRef<'_, OCRHMMDecoder>
impl OCRHMMDecoderTraitConst for BoxedRef<'_, OCRHMMDecoder>
fn as_raw_OCRHMMDecoder( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl OCRHMMDecoder_ClassifierCallbackTraitConst for BoxedRef<'_, OCRHMMDecoder_ClassifierCallback>
impl OCRHMMDecoder_ClassifierCallbackTraitConst for BoxedRef<'_, OCRHMMDecoder_ClassifierCallback>
fn as_raw_OCRHMMDecoder_ClassifierCallback( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl OCRHolisticWordRecognizerTraitConst for BoxedRef<'_, OCRHolisticWordRecognizer>
impl OCRHolisticWordRecognizerTraitConst for BoxedRef<'_, OCRHolisticWordRecognizer>
fn as_raw_OCRHolisticWordRecognizer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl OCRTesseractTraitConst for BoxedRef<'_, OCRTesseract>
impl OCRTesseractTraitConst for BoxedRef<'_, OCRTesseract>
fn as_raw_OCRTesseract(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl ORBTraitConst for BoxedRef<'_, ORB>
impl ORBTraitConst for BoxedRef<'_, ORB>
fn as_raw_ORB(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_max_features(&self) -> Result<i32>
fn get_scale_factor(&self) -> Result<f64>
fn get_n_levels(&self) -> Result<i32>
fn get_edge_threshold(&self) -> Result<i32>
fn get_first_level(&self) -> Result<i32>
fn get_wta_k(&self) -> Result<i32>
fn get_score_type(&self) -> Result<ORB_ScoreType>
fn get_patch_size(&self) -> Result<i32>
fn get_fast_threshold(&self) -> Result<i32>
fn get_default_name(&self) -> Result<String>
Source§impl ObjectnessBINGTraitConst for BoxedRef<'_, ObjectnessBING>
impl ObjectnessBINGTraitConst for BoxedRef<'_, ObjectnessBING>
Source§impl ObjectnessTraitConst for BoxedRef<'_, Objectness>
impl ObjectnessTraitConst for BoxedRef<'_, Objectness>
fn as_raw_Objectness(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl ObjectnessTraitConst for BoxedRef<'_, ObjectnessBING>
impl ObjectnessTraitConst for BoxedRef<'_, ObjectnessBING>
fn as_raw_Objectness(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl OdometryFrameTraitConst for BoxedRef<'_, OdometryFrame>
impl OdometryFrameTraitConst for BoxedRef<'_, OdometryFrame>
fn as_raw_OdometryFrame( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn pyramid_image(&self) -> Vector<Mat>
fn pyramid_depth(&self) -> Vector<Mat>
fn pyramid_mask(&self) -> Vector<Mat>
fn pyramid_cloud(&self) -> Vector<Mat>
fn pyramid_d_i_dx(&self) -> Vector<Mat>
fn pyramid_d_i_dy(&self) -> Vector<Mat>
fn pyramid_textured_mask(&self) -> Vector<Mat>
fn pyramid_normals(&self) -> Vector<Mat>
fn pyramid_normals_mask(&self) -> Vector<Mat>
Source§impl OdometryTraitConst for BoxedRef<'_, FastICPOdometry>
impl OdometryTraitConst for BoxedRef<'_, FastICPOdometry>
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>
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>
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>
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>
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>
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§impl OdometryTraitConst for BoxedRef<'_, ICPOdometry>
impl OdometryTraitConst for BoxedRef<'_, ICPOdometry>
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>
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>
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>
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>
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>
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§impl OdometryTraitConst for BoxedRef<'_, Odometry>
impl OdometryTraitConst for BoxedRef<'_, Odometry>
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>
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>
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>
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>
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>
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§impl OdometryTraitConst for BoxedRef<'_, RgbdICPOdometry>
impl OdometryTraitConst for BoxedRef<'_, RgbdICPOdometry>
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>
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>
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>
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>
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>
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§impl OdometryTraitConst for BoxedRef<'_, RgbdOdometry>
impl OdometryTraitConst for BoxedRef<'_, RgbdOdometry>
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>
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>
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>
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>
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>
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§impl OnePassStabilizerTraitConst for BoxedRef<'_, OnePassStabilizer>
impl OnePassStabilizerTraitConst for BoxedRef<'_, OnePassStabilizer>
fn as_raw_OnePassStabilizer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn motion_filter(&self) -> Result<Ptr<MotionFilterBase>>
Source§impl OpenCLExecutionContextTraitConst for BoxedRef<'_, OpenCLExecutionContext>
impl OpenCLExecutionContextTraitConst for BoxedRef<'_, OpenCLExecutionContext>
fn as_raw_OpenCLExecutionContext( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_context(&self) -> Result<Context>
fn get_context(&self) -> Result<Context>
Get associated ocl::Context
Source§fn get_device(&self) -> Result<Device>
fn get_device(&self) -> Result<Device>
Get the single default associated ocl::Device
Source§fn get_queue(&self) -> Result<Queue>
fn get_queue(&self) -> Result<Queue>
Get the single ocl::Queue that is associated with the ocl::Context and
the single default ocl::Device
fn use_opencl(&self) -> Result<bool>
Source§fn clone_with_new_queue(
&self,
q: &impl QueueTraitConst,
) -> Result<OpenCLExecutionContext>
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>
fn clone_with_new_queue_1(&self) -> Result<OpenCLExecutionContext>
Creates new execution context with same OpenCV context and device Read more
fn empty(&self) -> Result<bool>
Source§impl OpticalFlowPCAFlowTraitConst for BoxedRef<'_, OpticalFlowPCAFlow>
impl OpticalFlowPCAFlowTraitConst for BoxedRef<'_, OpticalFlowPCAFlow>
fn as_raw_OpticalFlowPCAFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl OriginalClassNameTraitConst for BoxedRef<'_, OriginalClassName>
impl OriginalClassNameTraitConst for BoxedRef<'_, OriginalClassName>
fn as_raw_OriginalClassName( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_int_param(&self) -> Result<i32>
fn get_float_param(&self) -> Result<f32>
Source§impl PCAPriorTraitConst for BoxedRef<'_, PCAPrior>
impl PCAPriorTraitConst for BoxedRef<'_, PCAPrior>
Source§impl PCATraitConst for BoxedRef<'_, PCA>
impl PCATraitConst for BoxedRef<'_, PCA>
fn as_raw_PCA(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn eigenvectors(&self) -> Mat
fn eigenvectors(&self) -> Mat
eigenvectors of the covariation matrix
Source§fn eigenvalues(&self) -> Mat
fn eigenvalues(&self) -> Mat
eigenvalues of the covariation matrix
Source§fn mean(&self) -> Mat
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>
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<()>
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>
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<()>
fn back_project_to( &self, vec: &impl ToInputArray, result: &mut impl ToOutputArray, ) -> Result<()>
Reconstructs vectors from their PC projections. Read more
Source§impl PCTSignaturesSQFDTraitConst for BoxedRef<'_, PCTSignaturesSQFD>
impl PCTSignaturesSQFDTraitConst for BoxedRef<'_, PCTSignaturesSQFD>
fn as_raw_PCTSignaturesSQFD( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn compute_quadratic_form_distance(
&self,
_signature0: &impl ToInputArray,
_signature1: &impl ToInputArray,
) -> Result<f32>
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§impl PCTSignaturesTraitConst for BoxedRef<'_, PCTSignatures>
impl PCTSignaturesTraitConst for BoxedRef<'_, PCTSignatures>
fn as_raw_PCTSignatures( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn compute_signature(
&self,
image: &impl ToInputArray,
signature: &mut impl ToOutputArray,
) -> Result<()>
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<()>
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>
fn get_sample_count(&self) -> Result<i32>
Number of initial samples taken from the image.
Source§fn get_grayscale_bits(&self) -> Result<i32>
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>
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>
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>
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>
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>
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>
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>
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>
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>>
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_count(&self) -> Result<i32>
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>
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>
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>
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>
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>
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>
fn get_distance_function(&self) -> Result<i32>
Distance function selector used for measuring distance between two points in k-means.
Source§impl PHashTraitConst for BoxedRef<'_, PHash>
impl PHashTraitConst for BoxedRef<'_, PHash>
fn as_raw_PHash(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl PPF3DDetectorTraitConst for BoxedRef<'_, PPF3DDetector>
impl PPF3DDetectorTraitConst for BoxedRef<'_, PPF3DDetector>
fn as_raw_PPF3DDetector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl PaddingLayerTraitConst for BoxedRef<'_, PaddingLayer>
impl PaddingLayerTraitConst for BoxedRef<'_, PaddingLayer>
fn as_raw_PaddingLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl PaniniPortraitWarperTraitConst for BoxedRef<'_, PaniniPortraitWarper>
impl PaniniPortraitWarperTraitConst for BoxedRef<'_, PaniniPortraitWarper>
fn as_raw_PaniniPortraitWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn create(&self, scale: f32) -> Result<Ptr<Detail_RotationWarper>>
Source§impl PaniniWarperTraitConst for BoxedRef<'_, PaniniWarper>
impl PaniniWarperTraitConst for BoxedRef<'_, PaniniWarper>
fn as_raw_PaniniWarper(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn create(&self, scale: f32) -> Result<Ptr<Detail_RotationWarper>>
Source§impl ParallelLoopBodyTraitConst for BoxedRef<'_, ParallelLoopBody>
impl ParallelLoopBodyTraitConst for BoxedRef<'_, ParallelLoopBody>
fn as_raw_ParallelLoopBody( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn apply(&self, range: &impl RangeTraitConst) -> Result<()>
Source§impl ParamGridTraitConst for BoxedRef<'_, ParamGrid>
impl ParamGridTraitConst for BoxedRef<'_, ParamGrid>
fn as_raw_ParamGrid(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl ParamsTraitConst for BoxedRef<'_, Params>
impl ParamsTraitConst for BoxedRef<'_, Params>
fn as_raw_Params(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn frame_size(&self) -> Size
fn frame_size(&self) -> Size
frame size in pixels
Source§fn depth_factor(&self) -> f32
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
fn bilateral_sigma_depth(&self) -> f32
Depth sigma in meters for bilateral smooth
Source§fn bilateral_sigma_spatial(&self) -> f32
fn bilateral_sigma_spatial(&self) -> f32
Spatial sigma in pixels for bilateral smooth
Source§fn bilateral_kernel_size(&self) -> i32
fn bilateral_kernel_size(&self) -> i32
Kernel size in pixels for bilateral smooth
Source§fn pyramid_levels(&self) -> i32
fn pyramid_levels(&self) -> i32
Number of pyramid levels for ICP
Source§fn tsdf_min_camera_movement(&self) -> f32
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
fn light_pose(&self) -> Vec3f
light pose for rendering in meters
Source§fn icp_dist_thresh(&self) -> f32
fn icp_dist_thresh(&self) -> f32
distance theshold for ICP in meters
Source§fn icp_angle_thresh(&self) -> f32
fn icp_angle_thresh(&self) -> f32
angle threshold for ICP in radians
Source§fn icp_iterations(&self) -> Vector<i32>
fn icp_iterations(&self) -> Vector<i32>
number of ICP iterations for each pyramid level
Source§fn truncate_threshold(&self) -> f32
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
fn volume_params(&self) -> Kinfu_VolumeParams
Volume parameters
Source§impl PermuteLayerTraitConst for BoxedRef<'_, PermuteLayer>
impl PermuteLayerTraitConst for BoxedRef<'_, PermuteLayer>
fn as_raw_PermuteLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl PhaseUnwrappingTraitConst for BoxedRef<'_, HistogramPhaseUnwrapping>
impl PhaseUnwrappingTraitConst for BoxedRef<'_, HistogramPhaseUnwrapping>
fn as_raw_PhaseUnwrapping( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl PhaseUnwrappingTraitConst for BoxedRef<'_, PhaseUnwrapping>
impl PhaseUnwrappingTraitConst for BoxedRef<'_, PhaseUnwrapping>
fn as_raw_PhaseUnwrapping( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl PlaneWarperGpuTraitConst for BoxedRef<'_, PlaneWarperGpu>
impl PlaneWarperGpuTraitConst for BoxedRef<'_, PlaneWarperGpu>
fn as_raw_PlaneWarperGpu( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn create(&self, scale: f32) -> Result<Ptr<Detail_RotationWarper>>
Source§impl PlaneWarperTraitConst for BoxedRef<'_, PlaneWarper>
impl PlaneWarperTraitConst for BoxedRef<'_, PlaneWarper>
fn as_raw_PlaneWarper(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn create(&self, scale: f32) -> Result<Ptr<Detail_RotationWarper>>
Source§impl PlatformInfoTraitConst for BoxedRef<'_, PlatformInfo>
impl PlatformInfoTraitConst for BoxedRef<'_, PlatformInfo>
fn as_raw_PlatformInfo(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn name(&self) -> Result<String>
fn vendor(&self) -> Result<String>
fn version_major(&self) -> Result<i32>
fn version_minor(&self) -> Result<i32>
fn device_number(&self) -> Result<i32>
fn get_device(&self, device: &mut impl DeviceTrait, d: i32) -> Result<()>
fn empty(&self) -> Result<bool>
Source§impl PlatformTraitConst for BoxedRef<'_, Platform>
impl PlatformTraitConst for BoxedRef<'_, Platform>
Source§impl Plot2dTraitConst for BoxedRef<'_, Plot2d>
impl Plot2dTraitConst for BoxedRef<'_, Plot2d>
fn as_raw_Plot2d(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl PolyTraitConst for BoxedRef<'_, Poly>
impl PolyTraitConst for BoxedRef<'_, Poly>
fn as_raw_Poly(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl PoolingLayerInt8TraitConst for BoxedRef<'_, PoolingLayerInt8>
impl PoolingLayerInt8TraitConst for BoxedRef<'_, PoolingLayerInt8>
Source§impl PoolingLayerTraitConst for BoxedRef<'_, PoolingLayer>
impl PoolingLayerTraitConst for BoxedRef<'_, PoolingLayer>
fn as_raw_PoolingLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn typ(&self) -> i32
fn kernel_size(&self) -> Vector<size_t>
fn strides(&self) -> Vector<size_t>
fn pads_begin(&self) -> Vector<size_t>
fn pads_end(&self) -> Vector<size_t>
Source§fn global_pooling(&self) -> bool
fn global_pooling(&self) -> bool
Flag is true if at least one of the axes is global pooled.
fn is_global_pooling(&self) -> Vector<bool>
fn compute_max_idx(&self) -> bool
fn pad_mode(&self) -> String
fn ceil_mode(&self) -> bool
fn ave_pool_padded_area(&self) -> bool
fn pooled_size(&self) -> Size
fn spatial_scale(&self) -> f32
fn ps_roi_out_channels(&self) -> i32
Source§impl PoolingLayerTraitConst for BoxedRef<'_, PoolingLayerInt8>
impl PoolingLayerTraitConst for BoxedRef<'_, PoolingLayerInt8>
fn as_raw_PoolingLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn typ(&self) -> i32
fn kernel_size(&self) -> Vector<size_t>
fn strides(&self) -> Vector<size_t>
fn pads_begin(&self) -> Vector<size_t>
fn pads_end(&self) -> Vector<size_t>
Source§fn global_pooling(&self) -> bool
fn global_pooling(&self) -> bool
Flag is true if at least one of the axes is global pooled.
fn is_global_pooling(&self) -> Vector<bool>
fn compute_max_idx(&self) -> bool
fn pad_mode(&self) -> String
fn ceil_mode(&self) -> bool
fn ave_pool_padded_area(&self) -> bool
fn pooled_size(&self) -> Size
fn spatial_scale(&self) -> f32
fn ps_roi_out_channels(&self) -> i32
Source§impl Pose3DTraitConst for BoxedRef<'_, Pose3D>
impl Pose3DTraitConst for BoxedRef<'_, Pose3D>
fn as_raw_Pose3D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn alpha(&self) -> f64
fn residual(&self) -> f64
fn model_index(&self) -> size_t
fn num_votes(&self) -> size_t
fn pose(&self) -> Matx44d
fn angle(&self) -> f64
fn t(&self) -> Vec3d
fn q(&self) -> Vec4d
Source§impl PoseCluster3DTraitConst for BoxedRef<'_, PoseCluster3D>
impl PoseCluster3DTraitConst for BoxedRef<'_, PoseCluster3D>
Source§impl PowerLayerTraitConst for BoxedRef<'_, PowerLayer>
impl PowerLayerTraitConst for BoxedRef<'_, PowerLayer>
Source§impl PredictCollectorTraitConst for BoxedRef<'_, PredictCollector>
impl PredictCollectorTraitConst for BoxedRef<'_, PredictCollector>
fn as_raw_PredictCollector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl PredictCollectorTraitConst for BoxedRef<'_, StandardCollector>
impl PredictCollectorTraitConst for BoxedRef<'_, StandardCollector>
fn as_raw_PredictCollector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl PriorBoxLayerTraitConst for BoxedRef<'_, PriorBoxLayer>
impl PriorBoxLayerTraitConst for BoxedRef<'_, PriorBoxLayer>
fn as_raw_PriorBoxLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl ProgramSourceTraitConst for BoxedRef<'_, ProgramSource>
impl ProgramSourceTraitConst for BoxedRef<'_, ProgramSource>
Source§impl ProgramTraitConst for BoxedRef<'_, Program>
impl ProgramTraitConst for BoxedRef<'_, Program>
fn as_raw_Program(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn ptr(&self) -> Result<*mut c_void>
Source§fn get_binary(&self, binary: &mut Vector<c_char>) -> Result<()>
fn get_binary(&self, binary: &mut Vector<c_char>) -> Result<()>
Query device-specific program binary. Read more
fn empty(&self) -> Result<bool>
fn write(&self, buf: &mut String) -> Result<bool>
fn source(&self) -> Result<ProgramSource>
fn get_prefix(&self) -> Result<String>
Source§impl ProposalLayerTraitConst for BoxedRef<'_, ProposalLayer>
impl ProposalLayerTraitConst for BoxedRef<'_, ProposalLayer>
fn as_raw_ProposalLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl PyRotationWarperTraitConst for BoxedRef<'_, PyRotationWarper>
impl PyRotationWarperTraitConst for BoxedRef<'_, PyRotationWarper>
Source§impl QRCodeDetectorArucoTraitConst for BoxedRef<'_, QRCodeDetectorAruco>
impl QRCodeDetectorArucoTraitConst for BoxedRef<'_, QRCodeDetectorAruco>
fn as_raw_QRCodeDetectorAruco( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_detector_parameters(&self) -> Result<QRCodeDetectorAruco_Params>
fn get_detector_parameters(&self) -> Result<QRCodeDetectorAruco_Params>
Detector parameters getter. See cv::QRCodeDetectorAruco::Params
Source§fn get_aruco_parameters(&self) -> Result<DetectorParameters>
fn get_aruco_parameters(&self) -> Result<DetectorParameters>
Aruco detector parameters are used to search for the finder patterns.
Source§impl QRCodeDetectorTraitConst for BoxedRef<'_, QRCodeDetector>
impl QRCodeDetectorTraitConst for BoxedRef<'_, QRCodeDetector>
fn as_raw_QRCodeDetector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl QRCodeEncoderTraitConst for BoxedRef<'_, QRCodeEncoder>
impl QRCodeEncoderTraitConst for BoxedRef<'_, QRCodeEncoder>
fn as_raw_QRCodeEncoder( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl QtFontTraitConst for BoxedRef<'_, QtFont>
impl QtFontTraitConst for BoxedRef<'_, QtFont>
fn as_raw_QtFont(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn color(&self) -> Scalar
fn color(&self) -> Scalar
Color of the font. Scalar(blue_component, green_component, red_component[, alpha_component])
fn greek(&self) -> *const i32
fn cyrillic(&self) -> *const i32
fn hscale(&self) -> f32
fn vscale(&self) -> f32
Source§impl QualityBRISQUETraitConst for BoxedRef<'_, QualityBRISQUE>
impl QualityBRISQUETraitConst for BoxedRef<'_, QualityBRISQUE>
fn as_raw_QualityBRISQUE( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl QualityBaseTraitConst for BoxedRef<'_, QualityBRISQUE>
impl QualityBaseTraitConst for BoxedRef<'_, QualityBRISQUE>
fn as_raw_QualityBase(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_quality_map(&self, dst: &mut impl ToOutputArray) -> Result<()>
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§impl QualityBaseTraitConst for BoxedRef<'_, QualityBase>
impl QualityBaseTraitConst for BoxedRef<'_, QualityBase>
fn as_raw_QualityBase(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_quality_map(&self, dst: &mut impl ToOutputArray) -> Result<()>
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§impl QualityBaseTraitConst for BoxedRef<'_, QualityGMSD>
impl QualityBaseTraitConst for BoxedRef<'_, QualityGMSD>
fn as_raw_QualityBase(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_quality_map(&self, dst: &mut impl ToOutputArray) -> Result<()>
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§impl QualityBaseTraitConst for BoxedRef<'_, QualityMSE>
impl QualityBaseTraitConst for BoxedRef<'_, QualityMSE>
fn as_raw_QualityBase(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_quality_map(&self, dst: &mut impl ToOutputArray) -> Result<()>
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§impl QualityBaseTraitConst for BoxedRef<'_, QualityPSNR>
impl QualityBaseTraitConst for BoxedRef<'_, QualityPSNR>
fn as_raw_QualityBase(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_quality_map(&self, dst: &mut impl ToOutputArray) -> Result<()>
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§impl QualityBaseTraitConst for BoxedRef<'_, QualitySSIM>
impl QualityBaseTraitConst for BoxedRef<'_, QualitySSIM>
fn as_raw_QualityBase(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_quality_map(&self, dst: &mut impl ToOutputArray) -> Result<()>
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§impl QualityGMSDTraitConst for BoxedRef<'_, QualityGMSD>
impl QualityGMSDTraitConst for BoxedRef<'_, QualityGMSD>
Source§impl QualityMSETraitConst for BoxedRef<'_, QualityMSE>
impl QualityMSETraitConst for BoxedRef<'_, QualityMSE>
Source§impl QualityPSNRTraitConst for BoxedRef<'_, QualityPSNR>
impl QualityPSNRTraitConst for BoxedRef<'_, QualityPSNR>
Source§impl QualitySSIMTraitConst for BoxedRef<'_, QualitySSIM>
impl QualitySSIMTraitConst for BoxedRef<'_, QualitySSIM>
Source§impl QuantizeLayerTraitConst for BoxedRef<'_, QuantizeLayer>
impl QuantizeLayerTraitConst for BoxedRef<'_, QuantizeLayer>
Source§impl QuasiDenseStereoTraitConst for BoxedRef<'_, QuasiDenseStereo>
impl QuasiDenseStereoTraitConst for BoxedRef<'_, QuasiDenseStereo>
fn as_raw_QuasiDenseStereo( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn param(&self) -> PropagationParameters
Source§impl QueueTraitConst for BoxedRef<'_, Queue>
impl QueueTraitConst for BoxedRef<'_, Queue>
Source§impl RFFeatureGetterTraitConst for BoxedRef<'_, RFFeatureGetter>
impl RFFeatureGetterTraitConst for BoxedRef<'_, RFFeatureGetter>
Source§impl RICInterpolatorTraitConst for BoxedRef<'_, RICInterpolator>
impl RICInterpolatorTraitConst for BoxedRef<'_, RICInterpolator>
fn as_raw_RICInterpolator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_superpixel_size(&self) -> Result<i32>
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>
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>
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>
fn get_superpixel_mode(&self) -> Result<i32>
Parameter to choose superpixel algorithm variant to use: Read more
Source§fn get_alpha(&self) -> Result<f32>
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>
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>
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>
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>
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>
fn get_use_global_smoother_filter(&self) -> Result<bool>
Sets whether the fastGlobalSmootherFilter() post-processing is employed. Read more
Source§impl RLOFOpticalFlowParameterTraitConst for BoxedRef<'_, RLOFOpticalFlowParameter>
impl RLOFOpticalFlowParameterTraitConst for BoxedRef<'_, RLOFOpticalFlowParameter>
fn as_raw_RLOFOpticalFlowParameter( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn solver_type(&self) -> SolverType
fn support_region_type(&self) -> SupportRegionType
fn norm_sigma0(&self) -> f32
fn norm_sigma1(&self) -> f32
fn small_win_size(&self) -> i32
fn large_win_size(&self) -> i32
fn cross_segmentation_threshold(&self) -> i32
fn max_level(&self) -> i32
fn use_initial_flow(&self) -> bool
fn use_illumination_model(&self) -> bool
fn use_global_motion_prior(&self) -> bool
fn max_iteration(&self) -> i32
fn min_eigen_value(&self) -> f32
fn global_motion_ransac_threshold(&self) -> f32
fn get_solver_type(&self) -> Result<SolverType>
fn get_support_region_type(&self) -> Result<SupportRegionType>
fn get_norm_sigma0(&self) -> Result<f32>
fn get_norm_sigma1(&self) -> Result<f32>
fn get_small_win_size(&self) -> Result<i32>
fn get_large_win_size(&self) -> Result<i32>
fn get_cross_segmentation_threshold(&self) -> Result<i32>
fn get_max_level(&self) -> Result<i32>
fn get_use_initial_flow(&self) -> Result<bool>
fn get_use_illumination_model(&self) -> Result<bool>
fn get_use_global_motion_prior(&self) -> Result<bool>
fn get_max_iteration(&self) -> Result<i32>
fn get_min_eigen_value(&self) -> Result<f32>
fn get_global_motion_ransac_threshold(&self) -> Result<f32>
Source§impl RMatTraitConst for BoxedRef<'_, RMat>
impl RMatTraitConst for BoxedRef<'_, RMat>
Source§impl RMat_IAdapterTraitConst for BoxedRef<'_, RMat_IAdapter>
impl RMat_IAdapterTraitConst for BoxedRef<'_, RMat_IAdapter>
Source§impl RMat_ViewTraitConst for BoxedRef<'_, RMat_View>
impl RMat_ViewTraitConst for BoxedRef<'_, RMat_View>
fn as_raw_RMat_View(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn size(&self) -> Result<Size>
fn dims(&self) -> Result<Vector<i32>>
fn cols(&self) -> Result<i32>
fn rows(&self) -> Result<i32>
fn typ(&self) -> Result<i32>
fn depth(&self) -> Result<i32>
fn chan(&self) -> Result<i32>
fn elem_size(&self) -> Result<size_t>
fn steps(&self) -> Result<RMat_View_stepsT>
Source§impl RNGTraitConst for BoxedRef<'_, RNG>
impl RNGTraitConst for BoxedRef<'_, RNG>
Source§impl RNG_MT19937TraitConst for BoxedRef<'_, RNG_MT19937>
impl RNG_MT19937TraitConst for BoxedRef<'_, RNG_MT19937>
fn as_raw_RNG_MT19937(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl RNNLayerTraitConst for BoxedRef<'_, RNNLayer>
impl RNNLayerTraitConst for BoxedRef<'_, RNNLayer>
fn as_raw_RNNLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl RTreesTraitConst for BoxedRef<'_, RTrees>
impl RTreesTraitConst for BoxedRef<'_, RTrees>
fn as_raw_RTrees(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_calculate_var_importance(&self) -> Result<bool>
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>
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>
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>
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<()>
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
fn get_oob_error(&self) -> Result<f64>
Source§impl RadialVarianceHashTraitConst for BoxedRef<'_, RadialVarianceHash>
impl RadialVarianceHashTraitConst for BoxedRef<'_, RadialVarianceHash>
Source§impl RandomPatternCornerFinderTraitConst for BoxedRef<'_, RandomPatternCornerFinder>
impl RandomPatternCornerFinderTraitConst for BoxedRef<'_, RandomPatternCornerFinder>
fn as_raw_RandomPatternCornerFinder( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl RandomPatternGeneratorTraitConst for BoxedRef<'_, RandomPatternGenerator>
impl RandomPatternGeneratorTraitConst for BoxedRef<'_, RandomPatternGenerator>
fn as_raw_RandomPatternGenerator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl RangeTraitConst for BoxedRef<'_, Range>
impl RangeTraitConst for BoxedRef<'_, Range>
Source§impl RangeTraitConst for BoxedRef<'_, _Range>
impl RangeTraitConst for BoxedRef<'_, _Range>
Source§impl RansacParamsTraitConst for BoxedRef<'_, RansacParams>
impl RansacParamsTraitConst for BoxedRef<'_, RansacParams>
fn as_raw_RansacParams(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Rapid_GOSTrackerTraitConst for BoxedRef<'_, Rapid_GOSTracker>
impl Rapid_GOSTrackerTraitConst for BoxedRef<'_, Rapid_GOSTracker>
fn as_raw_Rapid_GOSTracker( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Rapid_OLSTrackerTraitConst for BoxedRef<'_, Rapid_OLSTracker>
impl Rapid_OLSTrackerTraitConst for BoxedRef<'_, Rapid_OLSTracker>
fn as_raw_Rapid_OLSTracker( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Rapid_RapidTraitConst for BoxedRef<'_, Rapid_Rapid>
impl Rapid_RapidTraitConst for BoxedRef<'_, Rapid_Rapid>
fn as_raw_Rapid_Rapid(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Rapid_TrackerTraitConst for BoxedRef<'_, Rapid_GOSTracker>
impl Rapid_TrackerTraitConst for BoxedRef<'_, Rapid_GOSTracker>
fn as_raw_Rapid_Tracker( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Rapid_TrackerTraitConst for BoxedRef<'_, Rapid_OLSTracker>
impl Rapid_TrackerTraitConst for BoxedRef<'_, Rapid_OLSTracker>
fn as_raw_Rapid_Tracker( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Rapid_TrackerTraitConst for BoxedRef<'_, Rapid_Rapid>
impl Rapid_TrackerTraitConst for BoxedRef<'_, Rapid_Rapid>
fn as_raw_Rapid_Tracker( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Rapid_TrackerTraitConst for BoxedRef<'_, Rapid_Tracker>
impl Rapid_TrackerTraitConst for BoxedRef<'_, Rapid_Tracker>
fn as_raw_Rapid_Tracker( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl ReLU6LayerTraitConst for BoxedRef<'_, ReLU6Layer>
impl ReLU6LayerTraitConst for BoxedRef<'_, ReLU6Layer>
Source§impl ReLULayerTraitConst for BoxedRef<'_, ReLULayer>
impl ReLULayerTraitConst for BoxedRef<'_, ReLULayer>
fn as_raw_ReLULayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn negative_slope(&self) -> f32
Source§impl ReciprocalLayerTraitConst for BoxedRef<'_, ReciprocalLayer>
impl ReciprocalLayerTraitConst for BoxedRef<'_, ReciprocalLayer>
fn as_raw_ReciprocalLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl ReduceLayerTraitConst for BoxedRef<'_, ReduceLayer>
impl ReduceLayerTraitConst for BoxedRef<'_, ReduceLayer>
fn as_raw_ReduceLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl RegionLayerTraitConst for BoxedRef<'_, RegionLayer>
impl RegionLayerTraitConst for BoxedRef<'_, RegionLayer>
fn as_raw_RegionLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn nms_threshold(&self) -> f32
Source§impl ReorgLayerTraitConst for BoxedRef<'_, ReorgLayer>
impl ReorgLayerTraitConst for BoxedRef<'_, ReorgLayer>
fn as_raw_ReorgLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl RequantizeLayerTraitConst for BoxedRef<'_, RequantizeLayer>
impl RequantizeLayerTraitConst for BoxedRef<'_, RequantizeLayer>
Source§impl ReshapeLayerTraitConst for BoxedRef<'_, ReshapeLayer>
impl ReshapeLayerTraitConst for BoxedRef<'_, ReshapeLayer>
fn as_raw_ReshapeLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn new_shape_desc(&self) -> MatShape
fn new_shape_range(&self) -> Range
Source§impl ResizeLayerTraitConst for BoxedRef<'_, ResizeLayer>
impl ResizeLayerTraitConst for BoxedRef<'_, ResizeLayer>
fn as_raw_ResizeLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl RetinaFastToneMappingTraitConst for BoxedRef<'_, RetinaFastToneMapping>
impl RetinaFastToneMappingTraitConst for BoxedRef<'_, RetinaFastToneMapping>
fn as_raw_RetinaFastToneMapping( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl RetinaParametersTraitConst for BoxedRef<'_, RetinaParameters>
impl RetinaParametersTraitConst for BoxedRef<'_, RetinaParameters>
fn as_raw_RetinaParameters( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn op_land_ipl_parvo(&self) -> RetinaParameters_OPLandIplParvoParameters
fn ipl_magno(&self) -> RetinaParameters_IplMagnoParameters
Source§impl RetinaTraitConst for BoxedRef<'_, Retina>
impl RetinaTraitConst for BoxedRef<'_, Retina>
fn as_raw_Retina(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &str) -> Result<()>
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<()>
fn write_to_storage(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Write xml/yml formated parameters information Read more
Source§impl RgbdFrameTraitConst for BoxedRef<'_, OdometryFrame>
impl RgbdFrameTraitConst for BoxedRef<'_, OdometryFrame>
Source§impl RgbdFrameTraitConst for BoxedRef<'_, RgbdFrame>
impl RgbdFrameTraitConst for BoxedRef<'_, RgbdFrame>
Source§impl RgbdICPOdometryTraitConst for BoxedRef<'_, RgbdICPOdometry>
impl RgbdICPOdometryTraitConst for BoxedRef<'_, RgbdICPOdometry>
fn as_raw_RgbdICPOdometry( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn prepare_frame_cache( &self, frame: &mut Ptr<OdometryFrame>, cache_type: i32, ) -> Result<Size>
fn get_camera_matrix(&self) -> Result<Mat>
fn get_min_depth(&self) -> Result<f64>
fn get_max_depth(&self) -> Result<f64>
fn get_max_depth_diff(&self) -> Result<f64>
fn get_max_points_part(&self) -> Result<f64>
fn get_iteration_counts(&self) -> Result<Mat>
fn get_min_gradient_magnitudes(&self) -> Result<Mat>
fn get_transform_type(&self) -> Result<i32>
fn get_max_translation(&self) -> Result<f64>
fn get_max_rotation(&self) -> Result<f64>
fn get_normals_computer(&self) -> Result<Ptr<RgbdNormals>>
Source§impl RgbdNormalsTraitConst for BoxedRef<'_, RgbdNormals>
impl RgbdNormalsTraitConst for BoxedRef<'_, RgbdNormals>
fn as_raw_RgbdNormals(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn apply(
&self,
points: &impl ToInputArray,
normals: &mut impl ToOutputArray,
) -> Result<()>
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<()>
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
fn get_rows(&self) -> Result<i32>
fn get_cols(&self) -> Result<i32>
fn get_window_size(&self) -> Result<i32>
fn get_depth(&self) -> Result<i32>
fn get_k(&self) -> Result<Mat>
fn get_method(&self) -> Result<i32>
Source§impl RgbdOdometryTraitConst for BoxedRef<'_, RgbdOdometry>
impl RgbdOdometryTraitConst for BoxedRef<'_, RgbdOdometry>
fn as_raw_RgbdOdometry(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn prepare_frame_cache( &self, frame: &mut Ptr<OdometryFrame>, cache_type: i32, ) -> Result<Size>
fn get_camera_matrix(&self) -> Result<Mat>
fn get_min_depth(&self) -> Result<f64>
fn get_max_depth(&self) -> Result<f64>
fn get_max_depth_diff(&self) -> Result<f64>
fn get_iteration_counts(&self) -> Result<Mat>
fn get_min_gradient_magnitudes(&self) -> Result<Mat>
fn get_max_points_part(&self) -> Result<f64>
fn get_transform_type(&self) -> Result<i32>
fn get_max_translation(&self) -> Result<f64>
fn get_max_rotation(&self) -> Result<f64>
Source§impl RgbdPlaneTraitConst for BoxedRef<'_, RgbdPlane>
impl RgbdPlaneTraitConst for BoxedRef<'_, RgbdPlane>
fn as_raw_RgbdPlane(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_block_size(&self) -> Result<i32>
fn get_min_size(&self) -> Result<i32>
fn get_method(&self) -> Result<i32>
fn get_threshold(&self) -> Result<f64>
fn get_sensor_error_a(&self) -> Result<f64>
fn get_sensor_error_b(&self) -> Result<f64>
fn get_sensor_error_c(&self) -> Result<f64>
Source§impl RidgeDetectionFilterTraitConst for BoxedRef<'_, RidgeDetectionFilter>
impl RidgeDetectionFilterTraitConst for BoxedRef<'_, RidgeDetectionFilter>
fn as_raw_RidgeDetectionFilter( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl RoundLayerTraitConst for BoxedRef<'_, RoundLayer>
impl RoundLayerTraitConst for BoxedRef<'_, RoundLayer>
fn as_raw_RoundLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl SFMLibmvEuclideanReconstructionTraitConst for BoxedRef<'_, SFMLibmvEuclideanReconstruction>
impl SFMLibmvEuclideanReconstructionTraitConst for BoxedRef<'_, SFMLibmvEuclideanReconstruction>
Source§impl SIFTTraitConst for BoxedRef<'_, SIFT>
impl SIFTTraitConst for BoxedRef<'_, SIFT>
fn as_raw_SIFT(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_default_name(&self) -> Result<String>
fn get_n_features(&self) -> Result<i32>
fn get_n_octave_layers(&self) -> Result<i32>
fn get_contrast_threshold(&self) -> Result<f64>
fn get_edge_threshold(&self) -> Result<f64>
fn get_sigma(&self) -> Result<f64>
Source§impl SURFTraitConst for BoxedRef<'_, SURF>
impl SURFTraitConst for BoxedRef<'_, SURF>
fn as_raw_SURF(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_hessian_threshold(&self) -> Result<f64>
fn get_n_octaves(&self) -> Result<i32>
fn get_n_octave_layers(&self) -> Result<i32>
fn get_extended(&self) -> Result<bool>
fn get_upright(&self) -> Result<bool>
fn get_default_name(&self) -> Result<String>
Source§impl SURF_CUDATraitConst for BoxedRef<'_, SURF_CUDA>
impl SURF_CUDATraitConst for BoxedRef<'_, SURF_CUDA>
fn as_raw_SURF_CUDA(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn hessian_threshold(&self) -> f64
fn n_octaves(&self) -> i32
fn n_octave_layers(&self) -> i32
fn extended(&self) -> bool
fn upright(&self) -> bool
Source§fn keypoints_ratio(&self) -> f32
fn keypoints_ratio(&self) -> f32
max keypoints = min(keypointsRatio * img.size().area(), 65535)
fn sum(&self) -> GpuMat
fn mask1(&self) -> GpuMat
fn mask_sum(&self) -> GpuMat
fn det(&self) -> GpuMat
fn trace(&self) -> GpuMat
fn max_pos_buffer(&self) -> GpuMat
Source§fn descriptor_size(&self) -> Result<i32>
fn descriptor_size(&self) -> Result<i32>
returns the descriptor size in float’s (64 or 128)
Source§fn default_norm(&self) -> Result<i32>
fn default_norm(&self) -> Result<i32>
returns the default norm type
Source§impl SVDTraitConst for BoxedRef<'_, SVD>
impl SVDTraitConst for BoxedRef<'_, SVD>
fn as_raw_SVD(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn u(&self) -> Mat
fn w(&self) -> Mat
fn vt(&self) -> Mat
Source§fn back_subst(
&self,
rhs: &impl ToInputArray,
dst: &mut impl ToOutputArray,
) -> Result<()>
fn back_subst( &self, rhs: &impl ToInputArray, dst: &mut impl ToOutputArray, ) -> Result<()>
performs a singular value back substitution. Read more
Source§impl SVMSGDTraitConst for BoxedRef<'_, SVMSGD>
impl SVMSGDTraitConst for BoxedRef<'_, SVMSGD>
fn as_raw_SVMSGD(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_svmsgd_type(&self) -> Result<i32>
fn get_svmsgd_type(&self) -> Result<i32>
%Algorithm type, one of SVMSGD::SvmsgdType. Read more
Source§fn get_margin_regularization(&self) -> Result<f32>
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>
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>
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>
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 SVMTraitConst for BoxedRef<'_, SVM>
impl SVMTraitConst for BoxedRef<'_, SVM>
fn as_raw_SVM(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_type(&self) -> Result<i32>
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>
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>
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>
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>
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>
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>
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>
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 moreSource§fn get_term_criteria(&self) -> Result<TermCriteria>
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 moreSource§fn get_kernel_type(&self) -> Result<i32>
fn get_kernel_type(&self) -> Result<i32>
Type of a %SVM kernel.
See SVM::KernelTypes. Default value is SVM::RBF.
Source§fn get_uncompressed_support_vectors(&self) -> Result<Mat>
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>
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_KernelTraitConst for BoxedRef<'_, SVM_Kernel>
impl SVM_KernelTraitConst for BoxedRef<'_, SVM_Kernel>
Source§impl SaliencyTraitConst for BoxedRef<'_, MotionSaliency>
impl SaliencyTraitConst for BoxedRef<'_, MotionSaliency>
fn as_raw_Saliency(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl SaliencyTraitConst for BoxedRef<'_, MotionSaliencyBinWangApr2014>
impl SaliencyTraitConst for BoxedRef<'_, MotionSaliencyBinWangApr2014>
fn as_raw_Saliency(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl SaliencyTraitConst for BoxedRef<'_, Objectness>
impl SaliencyTraitConst for BoxedRef<'_, Objectness>
fn as_raw_Saliency(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl SaliencyTraitConst for BoxedRef<'_, ObjectnessBING>
impl SaliencyTraitConst for BoxedRef<'_, ObjectnessBING>
fn as_raw_Saliency(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl SaliencyTraitConst for BoxedRef<'_, Saliency>
impl SaliencyTraitConst for BoxedRef<'_, Saliency>
fn as_raw_Saliency(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl SaliencyTraitConst for BoxedRef<'_, StaticSaliency>
impl SaliencyTraitConst for BoxedRef<'_, StaticSaliency>
fn as_raw_Saliency(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl SaliencyTraitConst for BoxedRef<'_, StaticSaliencyFineGrained>
impl SaliencyTraitConst for BoxedRef<'_, StaticSaliencyFineGrained>
fn as_raw_Saliency(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl SaliencyTraitConst for BoxedRef<'_, StaticSaliencySpectralResidual>
impl SaliencyTraitConst for BoxedRef<'_, StaticSaliencySpectralResidual>
fn as_raw_Saliency(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl SavedIndexParamsTraitConst for BoxedRef<'_, SavedIndexParams>
impl SavedIndexParamsTraitConst for BoxedRef<'_, SavedIndexParams>
fn as_raw_SavedIndexParams( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl ScalarTraitConst for BoxedRef<'_, Scalar>
impl ScalarTraitConst for BoxedRef<'_, Scalar>
Source§impl ScaleLayerInt8TraitConst for BoxedRef<'_, ScaleLayerInt8>
impl ScaleLayerInt8TraitConst for BoxedRef<'_, ScaleLayerInt8>
Source§impl ScaleLayerTraitConst for BoxedRef<'_, ScaleLayer>
impl ScaleLayerTraitConst for BoxedRef<'_, ScaleLayer>
Source§impl ScaleLayerTraitConst for BoxedRef<'_, ScaleLayerInt8>
impl ScaleLayerTraitConst for BoxedRef<'_, ScaleLayerInt8>
Source§impl ScanSegmentTraitConst for BoxedRef<'_, ScanSegment>
impl ScanSegmentTraitConst for BoxedRef<'_, ScanSegment>
fn as_raw_ScanSegment(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl ScatterLayerTraitConst for BoxedRef<'_, ScatterLayer>
impl ScatterLayerTraitConst for BoxedRef<'_, ScatterLayer>
fn as_raw_ScatterLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl ScatterNDLayerTraitConst for BoxedRef<'_, ScatterNDLayer>
impl ScatterNDLayerTraitConst for BoxedRef<'_, ScatterNDLayer>
fn as_raw_ScatterNDLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl SearchParamsTraitConst for BoxedRef<'_, SearchParams>
impl SearchParamsTraitConst for BoxedRef<'_, SearchParams>
fn as_raw_SearchParams(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl SegmentationModelTraitConst for BoxedRef<'_, SegmentationModel>
impl SegmentationModelTraitConst for BoxedRef<'_, SegmentationModel>
fn as_raw_SegmentationModel( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl SelectiveSearchSegmentationStrategyColorTraitConst for BoxedRef<'_, SelectiveSearchSegmentationStrategyColor>
impl SelectiveSearchSegmentationStrategyColorTraitConst for BoxedRef<'_, SelectiveSearchSegmentationStrategyColor>
fn as_raw_SelectiveSearchSegmentationStrategyColor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl SelectiveSearchSegmentationStrategyFillTraitConst for BoxedRef<'_, SelectiveSearchSegmentationStrategyFill>
impl SelectiveSearchSegmentationStrategyFillTraitConst for BoxedRef<'_, SelectiveSearchSegmentationStrategyFill>
fn as_raw_SelectiveSearchSegmentationStrategyFill( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl SelectiveSearchSegmentationStrategyMultipleTraitConst for BoxedRef<'_, SelectiveSearchSegmentationStrategyMultiple>
impl SelectiveSearchSegmentationStrategyMultipleTraitConst for BoxedRef<'_, SelectiveSearchSegmentationStrategyMultiple>
fn as_raw_SelectiveSearchSegmentationStrategyMultiple( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl SelectiveSearchSegmentationStrategySizeTraitConst for BoxedRef<'_, SelectiveSearchSegmentationStrategySize>
impl SelectiveSearchSegmentationStrategySizeTraitConst for BoxedRef<'_, SelectiveSearchSegmentationStrategySize>
fn as_raw_SelectiveSearchSegmentationStrategySize( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl SelectiveSearchSegmentationStrategyTextureTraitConst for BoxedRef<'_, SelectiveSearchSegmentationStrategyTexture>
impl SelectiveSearchSegmentationStrategyTextureTraitConst for BoxedRef<'_, SelectiveSearchSegmentationStrategyTexture>
fn as_raw_SelectiveSearchSegmentationStrategyTexture( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl SelectiveSearchSegmentationStrategyTraitConst for BoxedRef<'_, SelectiveSearchSegmentationStrategy>
impl SelectiveSearchSegmentationStrategyTraitConst for BoxedRef<'_, SelectiveSearchSegmentationStrategy>
fn as_raw_SelectiveSearchSegmentationStrategy( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl SelectiveSearchSegmentationStrategyTraitConst for BoxedRef<'_, SelectiveSearchSegmentationStrategyColor>
impl SelectiveSearchSegmentationStrategyTraitConst for BoxedRef<'_, SelectiveSearchSegmentationStrategyColor>
fn as_raw_SelectiveSearchSegmentationStrategy( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl SelectiveSearchSegmentationStrategyTraitConst for BoxedRef<'_, SelectiveSearchSegmentationStrategyFill>
impl SelectiveSearchSegmentationStrategyTraitConst for BoxedRef<'_, SelectiveSearchSegmentationStrategyFill>
fn as_raw_SelectiveSearchSegmentationStrategy( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl SelectiveSearchSegmentationStrategyTraitConst for BoxedRef<'_, SelectiveSearchSegmentationStrategyMultiple>
impl SelectiveSearchSegmentationStrategyTraitConst for BoxedRef<'_, SelectiveSearchSegmentationStrategyMultiple>
fn as_raw_SelectiveSearchSegmentationStrategy( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl SelectiveSearchSegmentationStrategyTraitConst for BoxedRef<'_, SelectiveSearchSegmentationStrategySize>
impl SelectiveSearchSegmentationStrategyTraitConst for BoxedRef<'_, SelectiveSearchSegmentationStrategySize>
fn as_raw_SelectiveSearchSegmentationStrategy( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl SelectiveSearchSegmentationStrategyTraitConst for BoxedRef<'_, SelectiveSearchSegmentationStrategyTexture>
impl SelectiveSearchSegmentationStrategyTraitConst for BoxedRef<'_, SelectiveSearchSegmentationStrategyTexture>
fn as_raw_SelectiveSearchSegmentationStrategy( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl SelectiveSearchSegmentationTraitConst for BoxedRef<'_, SelectiveSearchSegmentation>
impl SelectiveSearchSegmentationTraitConst for BoxedRef<'_, SelectiveSearchSegmentation>
fn as_raw_SelectiveSearchSegmentation( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl SeluLayerTraitConst for BoxedRef<'_, SeluLayer>
impl SeluLayerTraitConst for BoxedRef<'_, SeluLayer>
Source§impl ShapeContextDistanceExtractorTraitConst for BoxedRef<'_, ShapeContextDistanceExtractor>
impl ShapeContextDistanceExtractorTraitConst for BoxedRef<'_, ShapeContextDistanceExtractor>
fn as_raw_ShapeContextDistanceExtractor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_angular_bins(&self) -> Result<i32>
fn get_radial_bins(&self) -> Result<i32>
fn get_inner_radius(&self) -> Result<f32>
fn get_outer_radius(&self) -> Result<f32>
fn get_rotation_invariant(&self) -> Result<bool>
fn get_shape_context_weight(&self) -> Result<f32>
fn get_image_appearance_weight(&self) -> Result<f32>
fn get_bending_energy_weight(&self) -> Result<f32>
fn get_images( &self, image1: &mut impl ToOutputArray, image2: &mut impl ToOutputArray, ) -> Result<()>
fn get_iterations(&self) -> Result<i32>
fn get_cost_extractor(&self) -> Result<Ptr<HistogramCostExtractor>>
fn get_std_dev(&self) -> Result<f32>
fn get_transform_algorithm(&self) -> Result<Ptr<ShapeTransformer>>
Source§impl ShapeDistanceExtractorTraitConst for BoxedRef<'_, HausdorffDistanceExtractor>
impl ShapeDistanceExtractorTraitConst for BoxedRef<'_, HausdorffDistanceExtractor>
fn as_raw_ShapeDistanceExtractor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl ShapeDistanceExtractorTraitConst for BoxedRef<'_, ShapeContextDistanceExtractor>
impl ShapeDistanceExtractorTraitConst for BoxedRef<'_, ShapeContextDistanceExtractor>
fn as_raw_ShapeDistanceExtractor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl ShapeDistanceExtractorTraitConst for BoxedRef<'_, ShapeDistanceExtractor>
impl ShapeDistanceExtractorTraitConst for BoxedRef<'_, ShapeDistanceExtractor>
fn as_raw_ShapeDistanceExtractor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl ShapeTransformerTraitConst for BoxedRef<'_, AffineTransformer>
impl ShapeTransformerTraitConst for BoxedRef<'_, AffineTransformer>
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<()>
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<()>
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 BoxedRef<'_, ShapeTransformer>
impl ShapeTransformerTraitConst for BoxedRef<'_, ShapeTransformer>
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<()>
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<()>
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 BoxedRef<'_, ThinPlateSplineShapeTransformer>
impl ShapeTransformerTraitConst for BoxedRef<'_, ThinPlateSplineShapeTransformer>
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<()>
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<()>
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 ShiftLayerInt8TraitConst for BoxedRef<'_, ShiftLayerInt8>
impl ShiftLayerInt8TraitConst for BoxedRef<'_, ShiftLayerInt8>
fn as_raw_ShiftLayerInt8( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl ShiftLayerTraitConst for BoxedRef<'_, ShiftLayer>
impl ShiftLayerTraitConst for BoxedRef<'_, ShiftLayer>
fn as_raw_ShiftLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl ShrinkLayerTraitConst for BoxedRef<'_, ShrinkLayer>
impl ShrinkLayerTraitConst for BoxedRef<'_, ShrinkLayer>
Source§impl ShuffleChannelLayerTraitConst for BoxedRef<'_, ShuffleChannelLayer>
impl ShuffleChannelLayerTraitConst for BoxedRef<'_, ShuffleChannelLayer>
Source§impl SigmoidLayerTraitConst for BoxedRef<'_, SigmoidLayer>
impl SigmoidLayerTraitConst for BoxedRef<'_, SigmoidLayer>
fn as_raw_SigmoidLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl SignLayerTraitConst for BoxedRef<'_, SignLayer>
impl SignLayerTraitConst for BoxedRef<'_, SignLayer>
fn as_raw_SignLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl SimilarRectsTraitConst for BoxedRef<'_, SimilarRects>
impl SimilarRectsTraitConst for BoxedRef<'_, SimilarRects>
Source§impl SimpleBlobDetectorTraitConst for BoxedRef<'_, SimpleBlobDetector>
impl SimpleBlobDetectorTraitConst for BoxedRef<'_, SimpleBlobDetector>
fn as_raw_SimpleBlobDetector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_params(&self) -> Result<SimpleBlobDetector_Params>
fn get_default_name(&self) -> Result<String>
fn get_blob_contours(&self) -> Result<Vector<Vector<Point>>>
Source§impl SimpleWBTraitConst for BoxedRef<'_, SimpleWB>
impl SimpleWBTraitConst for BoxedRef<'_, SimpleWB>
fn as_raw_SimpleWB(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl SinLayerTraitConst for BoxedRef<'_, SinLayer>
impl SinLayerTraitConst for BoxedRef<'_, SinLayer>
fn as_raw_SinLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl SinhLayerTraitConst for BoxedRef<'_, SinhLayer>
impl SinhLayerTraitConst for BoxedRef<'_, SinhLayer>
fn as_raw_SinhLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl SinusoidalPatternTraitConst for BoxedRef<'_, SinusoidalPattern>
impl SinusoidalPatternTraitConst for BoxedRef<'_, SinusoidalPattern>
fn as_raw_SinusoidalPattern( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl SinusoidalPattern_ParamsTraitConst for BoxedRef<'_, SinusoidalPattern_Params>
impl SinusoidalPattern_ParamsTraitConst for BoxedRef<'_, SinusoidalPattern_Params>
fn as_raw_SinusoidalPattern_Params( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn width(&self) -> i32
fn height(&self) -> i32
fn nbr_of_periods(&self) -> i32
fn shift_value(&self) -> f32
fn method_id(&self) -> i32
fn nbr_of_pixels_between_markers(&self) -> i32
fn horizontal(&self) -> bool
fn set_markers(&self) -> bool
fn markers_location(&self) -> Vector<Point2f>
Source§impl SliceLayerTraitConst for BoxedRef<'_, SliceLayer>
impl SliceLayerTraitConst for BoxedRef<'_, SliceLayer>
Source§impl SoftmaxLayerInt8TraitConst for BoxedRef<'_, SoftmaxLayerInt8>
impl SoftmaxLayerInt8TraitConst for BoxedRef<'_, SoftmaxLayerInt8>
Source§impl SoftmaxLayerTraitConst for BoxedRef<'_, SoftmaxLayer>
impl SoftmaxLayerTraitConst for BoxedRef<'_, SoftmaxLayer>
fn as_raw_SoftmaxLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn log_soft_max(&self) -> bool
Source§impl SoftmaxLayerTraitConst for BoxedRef<'_, SoftmaxLayerInt8>
impl SoftmaxLayerTraitConst for BoxedRef<'_, SoftmaxLayerInt8>
fn as_raw_SoftmaxLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn log_soft_max(&self) -> bool
Source§impl SoftplusLayerTraitConst for BoxedRef<'_, SoftplusLayer>
impl SoftplusLayerTraitConst for BoxedRef<'_, SoftplusLayer>
fn as_raw_SoftplusLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl SoftsignLayerTraitConst for BoxedRef<'_, SoftsignLayer>
impl SoftsignLayerTraitConst for BoxedRef<'_, SoftsignLayer>
fn as_raw_SoftsignLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl SpaceToDepthLayerTraitConst for BoxedRef<'_, SpaceToDepthLayer>
impl SpaceToDepthLayerTraitConst for BoxedRef<'_, SpaceToDepthLayer>
fn as_raw_SpaceToDepthLayer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl SparseMatConstIteratorTraitConst for BoxedRef<'_, SparseMatConstIterator>
impl SparseMatConstIteratorTraitConst for BoxedRef<'_, SparseMatConstIterator>
fn as_raw_SparseMatConstIterator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn m(&self) -> SparseMat
fn hashidx(&self) -> size_t
fn ptr(&self) -> *const u8
Source§fn node(&self) -> Result<SparseMat_Node>
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 BoxedRef<'_, SparseMatIterator>
impl SparseMatConstIteratorTraitConst for BoxedRef<'_, SparseMatIterator>
fn as_raw_SparseMatConstIterator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn m(&self) -> SparseMat
fn hashidx(&self) -> size_t
fn ptr(&self) -> *const u8
Source§fn node(&self) -> Result<SparseMat_Node>
fn node(&self) -> Result<SparseMat_Node>
returns the current node of the sparse matrix. it.node->idx is the current element index
Source§impl SparseMatIteratorTraitConst for BoxedRef<'_, SparseMatIterator>
impl SparseMatIteratorTraitConst for BoxedRef<'_, SparseMatIterator>
fn as_raw_SparseMatIterator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn node(&self) -> Result<SparseMat_Node>
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 SparseMatTraitConst for BoxedRef<'_, SparseMat>
impl SparseMatTraitConst for BoxedRef<'_, SparseMat>
fn as_raw_SparseMat(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn flags(&self) -> i32
Source§fn copy_to(&self, m: &mut impl SparseMatTrait) -> Result<()>
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<()>
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<()>
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<()>
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<()>
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<()>
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<()>
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<()>
fn assign_to_def(&self, m: &mut impl SparseMatTrait) -> Result<()>
Note Read more
Source§fn elem_size(&self) -> size_t
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
fn elem_size1(&self) -> size_t
returns elemSize()/channels()
Source§fn size(&self) -> Result<*const i32>
fn size(&self) -> Result<*const i32>
returns the array of sizes, or NULL if the matrix is not allocated
Source§fn nzcount(&self) -> Result<size_t>
fn nzcount(&self) -> Result<size_t>
returns the number of non-zero elements (=the number of hash table nodes)
Source§fn hash_1(&self, i0: i32, i1: i32) -> Result<size_t>
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>
fn hash_2(&self, i0: i32, i1: i32, i2: i32) -> Result<size_t>
computes the element hash value (3D case)
Source§fn begin(&self) -> Result<SparseMatConstIterator>
fn begin(&self) -> Result<SparseMatConstIterator>
returns the read-only sparse matrix iterator at the matrix beginning
Source§fn end(&self) -> Result<SparseMatConstIterator>
fn end(&self) -> Result<SparseMatConstIterator>
returns the read-only sparse matrix iterator at the matrix end
fn node(&self, nidx: size_t) -> Result<SparseMat_Node>
Source§impl SparseMat_HdrTraitConst for BoxedRef<'_, SparseMat_Hdr>
impl SparseMat_HdrTraitConst for BoxedRef<'_, SparseMat_Hdr>
fn as_raw_SparseMat_Hdr( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn refcount(&self) -> i32
fn dims(&self) -> i32
fn value_offset(&self) -> i32
fn node_size(&self) -> size_t
fn node_count(&self) -> size_t
fn free_list(&self) -> size_t
fn pool(&self) -> Vector<u8>
fn hashtab(&self) -> Vector<size_t>
fn size(&self) -> &[i32; 32]
Source§impl SparseMat_NodeTraitConst for BoxedRef<'_, SparseMat_Node>
impl SparseMat_NodeTraitConst for BoxedRef<'_, SparseMat_Node>
Source§impl SparseMatchInterpolatorTraitConst for BoxedRef<'_, EdgeAwareInterpolator>
impl SparseMatchInterpolatorTraitConst for BoxedRef<'_, EdgeAwareInterpolator>
fn as_raw_SparseMatchInterpolator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl SparseMatchInterpolatorTraitConst for BoxedRef<'_, RICInterpolator>
impl SparseMatchInterpolatorTraitConst for BoxedRef<'_, RICInterpolator>
fn as_raw_SparseMatchInterpolator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl SparseMatchInterpolatorTraitConst for BoxedRef<'_, SparseMatchInterpolator>
impl SparseMatchInterpolatorTraitConst for BoxedRef<'_, SparseMatchInterpolator>
fn as_raw_SparseMatchInterpolator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl SparseOpticalFlowTraitConst for BoxedRef<'_, SparseOpticalFlow>
impl SparseOpticalFlowTraitConst for BoxedRef<'_, SparseOpticalFlow>
fn as_raw_SparseOpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl SparseOpticalFlowTraitConst for BoxedRef<'_, SparsePyrLKOpticalFlow>
impl SparseOpticalFlowTraitConst for BoxedRef<'_, SparsePyrLKOpticalFlow>
fn as_raw_SparseOpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl SparseOpticalFlowTraitConst for BoxedRef<'_, SparseRLOFOpticalFlow>
impl SparseOpticalFlowTraitConst for BoxedRef<'_, SparseRLOFOpticalFlow>
fn as_raw_SparseOpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl SparsePyrLKOpticalFlowTraitConst for BoxedRef<'_, SparsePyrLKOpticalFlow>
impl SparsePyrLKOpticalFlowTraitConst for BoxedRef<'_, SparsePyrLKOpticalFlow>
fn as_raw_SparsePyrLKOpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_win_size(&self) -> Result<Size>
fn get_max_level(&self) -> Result<i32>
fn get_term_criteria(&self) -> Result<TermCriteria>
fn get_flags(&self) -> Result<i32>
fn get_min_eig_threshold(&self) -> Result<f64>
Source§impl SparsePyrLkOptFlowEstimatorGpuTraitConst for BoxedRef<'_, SparsePyrLkOptFlowEstimatorGpu>
impl SparsePyrLkOptFlowEstimatorGpuTraitConst for BoxedRef<'_, SparsePyrLkOptFlowEstimatorGpu>
fn as_raw_SparsePyrLkOptFlowEstimatorGpu( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl SparsePyrLkOptFlowEstimatorTraitConst for BoxedRef<'_, SparsePyrLkOptFlowEstimator>
impl SparsePyrLkOptFlowEstimatorTraitConst for BoxedRef<'_, SparsePyrLkOptFlowEstimator>
fn as_raw_SparsePyrLkOptFlowEstimator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl SparseRLOFOpticalFlowTraitConst for BoxedRef<'_, SparseRLOFOpticalFlow>
impl SparseRLOFOpticalFlowTraitConst for BoxedRef<'_, SparseRLOFOpticalFlow>
fn as_raw_SparseRLOFOpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_rlof_optical_flow_parameter(
&self,
) -> Result<Ptr<RLOFOpticalFlowParameter>>
fn get_rlof_optical_flow_parameter( &self, ) -> Result<Ptr<RLOFOpticalFlowParameter>>
@copydoc DenseRLOFOpticalFlow::setRLOFOpticalFlowParameter Read more
Source§fn get_forward_backward(&self) -> Result<f32>
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 SphericalWarperGpuTraitConst for BoxedRef<'_, SphericalWarperGpu>
impl SphericalWarperGpuTraitConst for BoxedRef<'_, SphericalWarperGpu>
fn as_raw_SphericalWarperGpu( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn create(&self, scale: f32) -> Result<Ptr<Detail_RotationWarper>>
Source§impl SphericalWarperTraitConst for BoxedRef<'_, SphericalWarper>
impl SphericalWarperTraitConst for BoxedRef<'_, SphericalWarper>
fn as_raw_SphericalWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn create(&self, scale: f32) -> Result<Ptr<Detail_RotationWarper>>
Source§impl SplitLayerTraitConst for BoxedRef<'_, SplitLayer>
impl SplitLayerTraitConst for BoxedRef<'_, SplitLayer>
fn as_raw_SplitLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn outputs_count(&self) -> i32
fn outputs_count(&self) -> i32
Number of copies that will be produced (is ignored when negative).
Source§impl SqrtLayerTraitConst for BoxedRef<'_, SqrtLayer>
impl SqrtLayerTraitConst for BoxedRef<'_, SqrtLayer>
fn as_raw_SqrtLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl StabilizerBaseTraitConst for BoxedRef<'_, OnePassStabilizer>
impl StabilizerBaseTraitConst for BoxedRef<'_, OnePassStabilizer>
fn as_raw_StabilizerBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn log(&self) -> Result<Ptr<ILog>>
fn radius(&self) -> Result<i32>
fn frame_source(&self) -> Result<Ptr<IFrameSource>>
fn mask_source(&self) -> Result<Ptr<IFrameSource>>
fn motion_estimator(&self) -> Result<Ptr<ImageMotionEstimatorBase>>
fn deblurrer(&self) -> Result<Ptr<DeblurerBase>>
fn trim_ratio(&self) -> Result<f32>
fn do_correction_for_inclusion(&self) -> Result<bool>
fn border_mode(&self) -> Result<i32>
fn inpainter(&self) -> Result<Ptr<InpainterBase>>
Source§impl StabilizerBaseTraitConst for BoxedRef<'_, StabilizerBase>
impl StabilizerBaseTraitConst for BoxedRef<'_, StabilizerBase>
fn as_raw_StabilizerBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn log(&self) -> Result<Ptr<ILog>>
fn radius(&self) -> Result<i32>
fn frame_source(&self) -> Result<Ptr<IFrameSource>>
fn mask_source(&self) -> Result<Ptr<IFrameSource>>
fn motion_estimator(&self) -> Result<Ptr<ImageMotionEstimatorBase>>
fn deblurrer(&self) -> Result<Ptr<DeblurerBase>>
fn trim_ratio(&self) -> Result<f32>
fn do_correction_for_inclusion(&self) -> Result<bool>
fn border_mode(&self) -> Result<i32>
fn inpainter(&self) -> Result<Ptr<InpainterBase>>
Source§impl StabilizerBaseTraitConst for BoxedRef<'_, TwoPassStabilizer>
impl StabilizerBaseTraitConst for BoxedRef<'_, TwoPassStabilizer>
fn as_raw_StabilizerBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn log(&self) -> Result<Ptr<ILog>>
fn radius(&self) -> Result<i32>
fn frame_source(&self) -> Result<Ptr<IFrameSource>>
fn mask_source(&self) -> Result<Ptr<IFrameSource>>
fn motion_estimator(&self) -> Result<Ptr<ImageMotionEstimatorBase>>
fn deblurrer(&self) -> Result<Ptr<DeblurerBase>>
fn trim_ratio(&self) -> Result<f32>
fn do_correction_for_inclusion(&self) -> Result<bool>
fn border_mode(&self) -> Result<i32>
fn inpainter(&self) -> Result<Ptr<InpainterBase>>
Source§impl StandardCollectorTraitConst for BoxedRef<'_, StandardCollector>
impl StandardCollectorTraitConst for BoxedRef<'_, StandardCollector>
fn as_raw_StandardCollector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_min_label(&self) -> Result<i32>
fn get_min_label(&self) -> Result<i32>
Returns label with minimal distance
Source§fn get_min_dist(&self) -> Result<f64>
fn get_min_dist(&self) -> Result<f64>
Returns minimal distance value
Source§impl StarDetectorTraitConst for BoxedRef<'_, StarDetector>
impl StarDetectorTraitConst for BoxedRef<'_, StarDetector>
fn as_raw_StarDetector(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_max_size(&self) -> Result<i32>
fn get_response_threshold(&self) -> Result<i32>
fn get_line_threshold_projected(&self) -> Result<i32>
fn get_line_threshold_binarized(&self) -> Result<i32>
fn get_suppress_nonmax_size(&self) -> Result<i32>
fn get_default_name(&self) -> Result<String>
Source§impl StatModelTraitConst for BoxedRef<'_, ANN_MLP>
impl StatModelTraitConst for BoxedRef<'_, ANN_MLP>
fn as_raw_StatModel(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_var_count(&self) -> Result<i32>
fn get_var_count(&self) -> Result<i32>
Returns the number of variables in training samples
fn empty(&self) -> Result<bool>
Source§fn is_trained(&self) -> Result<bool>
fn is_trained(&self) -> Result<bool>
Returns true if the model is trained
Source§fn is_classifier(&self) -> Result<bool>
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>
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>
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>
fn predict_def(&self, samples: &impl ToInputArray) -> Result<f32>
Predicts response(s) for the provided sample(s) Read more
Source§impl StatModelTraitConst for BoxedRef<'_, Boost>
impl StatModelTraitConst for BoxedRef<'_, Boost>
fn as_raw_StatModel(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_var_count(&self) -> Result<i32>
fn get_var_count(&self) -> Result<i32>
Returns the number of variables in training samples
fn empty(&self) -> Result<bool>
Source§fn is_trained(&self) -> Result<bool>
fn is_trained(&self) -> Result<bool>
Returns true if the model is trained
Source§fn is_classifier(&self) -> Result<bool>
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>
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>
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>
fn predict_def(&self, samples: &impl ToInputArray) -> Result<f32>
Predicts response(s) for the provided sample(s) Read more
Source§impl StatModelTraitConst for BoxedRef<'_, DTrees>
impl StatModelTraitConst for BoxedRef<'_, DTrees>
fn as_raw_StatModel(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_var_count(&self) -> Result<i32>
fn get_var_count(&self) -> Result<i32>
Returns the number of variables in training samples
fn empty(&self) -> Result<bool>
Source§fn is_trained(&self) -> Result<bool>
fn is_trained(&self) -> Result<bool>
Returns true if the model is trained
Source§fn is_classifier(&self) -> Result<bool>
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>
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>
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>
fn predict_def(&self, samples: &impl ToInputArray) -> Result<f32>
Predicts response(s) for the provided sample(s) Read more
Source§impl StatModelTraitConst for BoxedRef<'_, EM>
impl StatModelTraitConst for BoxedRef<'_, EM>
fn as_raw_StatModel(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_var_count(&self) -> Result<i32>
fn get_var_count(&self) -> Result<i32>
Returns the number of variables in training samples
fn empty(&self) -> Result<bool>
Source§fn is_trained(&self) -> Result<bool>
fn is_trained(&self) -> Result<bool>
Returns true if the model is trained
Source§fn is_classifier(&self) -> Result<bool>
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>
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>
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>
fn predict_def(&self, samples: &impl ToInputArray) -> Result<f32>
Predicts response(s) for the provided sample(s) Read more
Source§impl StatModelTraitConst for BoxedRef<'_, KNearest>
impl StatModelTraitConst for BoxedRef<'_, KNearest>
fn as_raw_StatModel(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_var_count(&self) -> Result<i32>
fn get_var_count(&self) -> Result<i32>
Returns the number of variables in training samples
fn empty(&self) -> Result<bool>
Source§fn is_trained(&self) -> Result<bool>
fn is_trained(&self) -> Result<bool>
Returns true if the model is trained
Source§fn is_classifier(&self) -> Result<bool>
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>
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>
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>
fn predict_def(&self, samples: &impl ToInputArray) -> Result<f32>
Predicts response(s) for the provided sample(s) Read more
Source§impl StatModelTraitConst for BoxedRef<'_, LogisticRegression>
impl StatModelTraitConst for BoxedRef<'_, LogisticRegression>
fn as_raw_StatModel(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_var_count(&self) -> Result<i32>
fn get_var_count(&self) -> Result<i32>
Returns the number of variables in training samples
fn empty(&self) -> Result<bool>
Source§fn is_trained(&self) -> Result<bool>
fn is_trained(&self) -> Result<bool>
Returns true if the model is trained
Source§fn is_classifier(&self) -> Result<bool>
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>
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>
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>
fn predict_def(&self, samples: &impl ToInputArray) -> Result<f32>
Predicts response(s) for the provided sample(s) Read more
Source§impl StatModelTraitConst for BoxedRef<'_, NormalBayesClassifier>
impl StatModelTraitConst for BoxedRef<'_, NormalBayesClassifier>
fn as_raw_StatModel(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_var_count(&self) -> Result<i32>
fn get_var_count(&self) -> Result<i32>
Returns the number of variables in training samples
fn empty(&self) -> Result<bool>
Source§fn is_trained(&self) -> Result<bool>
fn is_trained(&self) -> Result<bool>
Returns true if the model is trained
Source§fn is_classifier(&self) -> Result<bool>
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>
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>
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>
fn predict_def(&self, samples: &impl ToInputArray) -> Result<f32>
Predicts response(s) for the provided sample(s) Read more
Source§impl StatModelTraitConst for BoxedRef<'_, RTrees>
impl StatModelTraitConst for BoxedRef<'_, RTrees>
fn as_raw_StatModel(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_var_count(&self) -> Result<i32>
fn get_var_count(&self) -> Result<i32>
Returns the number of variables in training samples
fn empty(&self) -> Result<bool>
Source§fn is_trained(&self) -> Result<bool>
fn is_trained(&self) -> Result<bool>
Returns true if the model is trained
Source§fn is_classifier(&self) -> Result<bool>
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>
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>
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>
fn predict_def(&self, samples: &impl ToInputArray) -> Result<f32>
Predicts response(s) for the provided sample(s) Read more
Source§impl StatModelTraitConst for BoxedRef<'_, SVM>
impl StatModelTraitConst for BoxedRef<'_, SVM>
fn as_raw_StatModel(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_var_count(&self) -> Result<i32>
fn get_var_count(&self) -> Result<i32>
Returns the number of variables in training samples
fn empty(&self) -> Result<bool>
Source§fn is_trained(&self) -> Result<bool>
fn is_trained(&self) -> Result<bool>
Returns true if the model is trained
Source§fn is_classifier(&self) -> Result<bool>
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>
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>
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>
fn predict_def(&self, samples: &impl ToInputArray) -> Result<f32>
Predicts response(s) for the provided sample(s) Read more
Source§impl StatModelTraitConst for BoxedRef<'_, SVMSGD>
impl StatModelTraitConst for BoxedRef<'_, SVMSGD>
fn as_raw_StatModel(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_var_count(&self) -> Result<i32>
fn get_var_count(&self) -> Result<i32>
Returns the number of variables in training samples
fn empty(&self) -> Result<bool>
Source§fn is_trained(&self) -> Result<bool>
fn is_trained(&self) -> Result<bool>
Returns true if the model is trained
Source§fn is_classifier(&self) -> Result<bool>
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>
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>
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>
fn predict_def(&self, samples: &impl ToInputArray) -> Result<f32>
Predicts response(s) for the provided sample(s) Read more
Source§impl StatModelTraitConst for BoxedRef<'_, StatModel>
impl StatModelTraitConst for BoxedRef<'_, StatModel>
fn as_raw_StatModel(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_var_count(&self) -> Result<i32>
fn get_var_count(&self) -> Result<i32>
Returns the number of variables in training samples
fn empty(&self) -> Result<bool>
Source§fn is_trained(&self) -> Result<bool>
fn is_trained(&self) -> Result<bool>
Returns true if the model is trained
Source§fn is_classifier(&self) -> Result<bool>
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>
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>
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>
fn predict_def(&self, samples: &impl ToInputArray) -> Result<f32>
Predicts response(s) for the provided sample(s) Read more
Source§impl StaticSaliencyFineGrainedTraitConst for BoxedRef<'_, StaticSaliencyFineGrained>
impl StaticSaliencyFineGrainedTraitConst for BoxedRef<'_, StaticSaliencyFineGrained>
fn as_raw_StaticSaliencyFineGrained( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl StaticSaliencySpectralResidualTraitConst for BoxedRef<'_, StaticSaliencySpectralResidual>
impl StaticSaliencySpectralResidualTraitConst for BoxedRef<'_, StaticSaliencySpectralResidual>
fn as_raw_StaticSaliencySpectralResidual( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn get_image_width(&self) -> Result<i32>
fn get_image_height(&self) -> Result<i32>
Source§impl StaticSaliencyTraitConst for BoxedRef<'_, StaticSaliency>
impl StaticSaliencyTraitConst for BoxedRef<'_, StaticSaliency>
fn as_raw_StaticSaliency( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl StaticSaliencyTraitConst for BoxedRef<'_, StaticSaliencyFineGrained>
impl StaticSaliencyTraitConst for BoxedRef<'_, StaticSaliencyFineGrained>
fn as_raw_StaticSaliency( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl StaticSaliencyTraitConst for BoxedRef<'_, StaticSaliencySpectralResidual>
impl StaticSaliencyTraitConst for BoxedRef<'_, StaticSaliencySpectralResidual>
fn as_raw_StaticSaliency( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl StereoBMTraitConst for BoxedRef<'_, CUDA_StereoBM>
impl StereoBMTraitConst for BoxedRef<'_, CUDA_StereoBM>
fn as_raw_StereoBM(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_pre_filter_type(&self) -> Result<i32>
fn get_pre_filter_size(&self) -> Result<i32>
fn get_pre_filter_cap(&self) -> Result<i32>
fn get_texture_threshold(&self) -> Result<i32>
fn get_uniqueness_ratio(&self) -> Result<i32>
fn get_smaller_block_size(&self) -> Result<i32>
fn get_roi1(&self) -> Result<Rect>
fn get_roi2(&self) -> Result<Rect>
Source§impl StereoBMTraitConst for BoxedRef<'_, StereoBM>
impl StereoBMTraitConst for BoxedRef<'_, StereoBM>
fn as_raw_StereoBM(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_pre_filter_type(&self) -> Result<i32>
fn get_pre_filter_size(&self) -> Result<i32>
fn get_pre_filter_cap(&self) -> Result<i32>
fn get_texture_threshold(&self) -> Result<i32>
fn get_uniqueness_ratio(&self) -> Result<i32>
fn get_smaller_block_size(&self) -> Result<i32>
fn get_roi1(&self) -> Result<Rect>
fn get_roi2(&self) -> Result<Rect>
Source§impl StereoMatcherTraitConst for BoxedRef<'_, CUDA_StereoBM>
impl StereoMatcherTraitConst for BoxedRef<'_, CUDA_StereoBM>
fn as_raw_StereoMatcher( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_min_disparity(&self) -> Result<i32>
fn get_num_disparities(&self) -> Result<i32>
fn get_block_size(&self) -> Result<i32>
fn get_speckle_window_size(&self) -> Result<i32>
fn get_speckle_range(&self) -> Result<i32>
fn get_disp12_max_diff(&self) -> Result<i32>
Source§impl StereoMatcherTraitConst for BoxedRef<'_, CUDA_StereoBeliefPropagation>
impl StereoMatcherTraitConst for BoxedRef<'_, CUDA_StereoBeliefPropagation>
fn as_raw_StereoMatcher( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_min_disparity(&self) -> Result<i32>
fn get_num_disparities(&self) -> Result<i32>
fn get_block_size(&self) -> Result<i32>
fn get_speckle_window_size(&self) -> Result<i32>
fn get_speckle_range(&self) -> Result<i32>
fn get_disp12_max_diff(&self) -> Result<i32>
Source§impl StereoMatcherTraitConst for BoxedRef<'_, CUDA_StereoConstantSpaceBP>
impl StereoMatcherTraitConst for BoxedRef<'_, CUDA_StereoConstantSpaceBP>
fn as_raw_StereoMatcher( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_min_disparity(&self) -> Result<i32>
fn get_num_disparities(&self) -> Result<i32>
fn get_block_size(&self) -> Result<i32>
fn get_speckle_window_size(&self) -> Result<i32>
fn get_speckle_range(&self) -> Result<i32>
fn get_disp12_max_diff(&self) -> Result<i32>
Source§impl StereoMatcherTraitConst for BoxedRef<'_, CUDA_StereoSGM>
impl StereoMatcherTraitConst for BoxedRef<'_, CUDA_StereoSGM>
fn as_raw_StereoMatcher( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_min_disparity(&self) -> Result<i32>
fn get_num_disparities(&self) -> Result<i32>
fn get_block_size(&self) -> Result<i32>
fn get_speckle_window_size(&self) -> Result<i32>
fn get_speckle_range(&self) -> Result<i32>
fn get_disp12_max_diff(&self) -> Result<i32>
Source§impl StereoMatcherTraitConst for BoxedRef<'_, StereoBM>
impl StereoMatcherTraitConst for BoxedRef<'_, StereoBM>
fn as_raw_StereoMatcher( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_min_disparity(&self) -> Result<i32>
fn get_num_disparities(&self) -> Result<i32>
fn get_block_size(&self) -> Result<i32>
fn get_speckle_window_size(&self) -> Result<i32>
fn get_speckle_range(&self) -> Result<i32>
fn get_disp12_max_diff(&self) -> Result<i32>
Source§impl StereoMatcherTraitConst for BoxedRef<'_, StereoMatcher>
impl StereoMatcherTraitConst for BoxedRef<'_, StereoMatcher>
fn as_raw_StereoMatcher( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_min_disparity(&self) -> Result<i32>
fn get_num_disparities(&self) -> Result<i32>
fn get_block_size(&self) -> Result<i32>
fn get_speckle_window_size(&self) -> Result<i32>
fn get_speckle_range(&self) -> Result<i32>
fn get_disp12_max_diff(&self) -> Result<i32>
Source§impl StereoMatcherTraitConst for BoxedRef<'_, StereoSGBM>
impl StereoMatcherTraitConst for BoxedRef<'_, StereoSGBM>
fn as_raw_StereoMatcher( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_min_disparity(&self) -> Result<i32>
fn get_num_disparities(&self) -> Result<i32>
fn get_block_size(&self) -> Result<i32>
fn get_speckle_window_size(&self) -> Result<i32>
fn get_speckle_range(&self) -> Result<i32>
fn get_disp12_max_diff(&self) -> Result<i32>
Source§impl StereoSGBMTraitConst for BoxedRef<'_, CUDA_StereoSGM>
impl StereoSGBMTraitConst for BoxedRef<'_, CUDA_StereoSGM>
fn as_raw_StereoSGBM(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_pre_filter_cap(&self) -> Result<i32>
fn get_uniqueness_ratio(&self) -> Result<i32>
fn get_p1(&self) -> Result<i32>
fn get_p2(&self) -> Result<i32>
fn get_mode(&self) -> Result<i32>
Source§impl StereoSGBMTraitConst for BoxedRef<'_, StereoSGBM>
impl StereoSGBMTraitConst for BoxedRef<'_, StereoSGBM>
fn as_raw_StereoSGBM(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_pre_filter_cap(&self) -> Result<i32>
fn get_uniqueness_ratio(&self) -> Result<i32>
fn get_p1(&self) -> Result<i32>
fn get_p2(&self) -> Result<i32>
fn get_mode(&self) -> Result<i32>
Source§impl StereographicWarperTraitConst for BoxedRef<'_, StereographicWarper>
impl StereographicWarperTraitConst for BoxedRef<'_, StereographicWarper>
fn as_raw_StereographicWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn create(&self, scale: f32) -> Result<Ptr<Detail_RotationWarper>>
Source§impl StitcherTraitConst for BoxedRef<'_, Stitcher>
impl StitcherTraitConst for BoxedRef<'_, Stitcher>
fn as_raw_Stitcher(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn registration_resol(&self) -> Result<f64>
fn seam_estimation_resol(&self) -> Result<f64>
fn compositing_resol(&self) -> Result<f64>
fn pano_confidence_thresh(&self) -> Result<f64>
fn wave_correction(&self) -> Result<bool>
fn interpolation_flags(&self) -> Result<InterpolationFlags>
fn wave_correct_kind(&self) -> Result<Detail_WaveCorrectKind>
fn features_finder(&self) -> Result<Ptr<Feature2D>>
fn features_matcher(&self) -> Result<Ptr<Detail_FeaturesMatcher>>
fn matching_mask(&self) -> Result<UMat>
fn bundle_adjuster(&self) -> Result<Ptr<Detail_BundleAdjusterBase>>
fn estimator(&self) -> Result<Ptr<Detail_Estimator>>
fn warper(&self) -> Result<Ptr<WarperCreator>>
fn exposure_compensator(&self) -> Result<Ptr<Detail_ExposureCompensator>>
fn seam_finder(&self) -> Result<Ptr<Detail_SeamFinder>>
fn blender(&self) -> Result<Ptr<Detail_Blender>>
Source§fn component(&self) -> Result<Vector<i32>>
fn component(&self) -> Result<Vector<i32>>
Returns indeces of input images used in panorama stitching
Source§fn cameras(&self) -> Result<Vector<Detail_CameraParams>>
fn cameras(&self) -> Result<Vector<Detail_CameraParams>>
Returns estimated camera parameters for all stitched images
fn work_scale(&self) -> Result<f64>
Source§impl StreamTraitConst for BoxedRef<'_, Stream>
impl StreamTraitConst for BoxedRef<'_, Stream>
Source§impl StructuredEdgeDetectionTraitConst for BoxedRef<'_, StructuredEdgeDetection>
impl StructuredEdgeDetectionTraitConst for BoxedRef<'_, StructuredEdgeDetection>
fn as_raw_StructuredEdgeDetection( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn detect_edges(
&self,
src: &impl ToInputArray,
dst: &mut impl ToOutputArray,
) -> Result<()>
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<()>
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<()>
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<()>
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 StructuredLightPatternTraitConst for BoxedRef<'_, GrayCodePattern>
impl StructuredLightPatternTraitConst for BoxedRef<'_, GrayCodePattern>
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>
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>
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 BoxedRef<'_, SinusoidalPattern>
impl StructuredLightPatternTraitConst for BoxedRef<'_, SinusoidalPattern>
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>
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>
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 BoxedRef<'_, StructuredLightPattern>
impl StructuredLightPatternTraitConst for BoxedRef<'_, StructuredLightPattern>
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>
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>
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 Subdiv2DTraitConst for BoxedRef<'_, Subdiv2D>
impl Subdiv2DTraitConst for BoxedRef<'_, Subdiv2D>
fn as_raw_Subdiv2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_edge_list(&self, edge_list: &mut Vector<Vec4f>) -> Result<()>
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<()>
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<()>
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>
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>
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>
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>
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>
fn rotate_edge(&self, edge: i32, rotate: i32) -> Result<i32>
Returns another edge of the same quad-edge. Read more
fn sym_edge(&self, edge: i32) -> Result<i32>
Source§fn edge_org(&self, edge: i32, orgpt: &mut Point2f) -> Result<i32>
fn edge_org(&self, edge: i32, orgpt: &mut Point2f) -> Result<i32>
Returns the edge origin. Read more
Source§impl SuperRes_BroxOpticalFlowTraitConst for BoxedRef<'_, SuperRes_BroxOpticalFlow>
impl SuperRes_BroxOpticalFlowTraitConst for BoxedRef<'_, SuperRes_BroxOpticalFlow>
fn as_raw_SuperRes_BroxOpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_inner_iterations(&self) -> Result<i32>
fn get_inner_iterations(&self) -> Result<i32>
Number of lagged non-linearity iterations (inner loop) Read more
Source§impl SuperRes_DenseOpticalFlowExtTraitConst for BoxedRef<'_, SuperRes_BroxOpticalFlow>
impl SuperRes_DenseOpticalFlowExtTraitConst for BoxedRef<'_, SuperRes_BroxOpticalFlow>
fn as_raw_SuperRes_DenseOpticalFlowExt( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl SuperRes_DenseOpticalFlowExtTraitConst for BoxedRef<'_, SuperRes_DenseOpticalFlowExt>
impl SuperRes_DenseOpticalFlowExtTraitConst for BoxedRef<'_, SuperRes_DenseOpticalFlowExt>
fn as_raw_SuperRes_DenseOpticalFlowExt( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl SuperRes_DenseOpticalFlowExtTraitConst for BoxedRef<'_, SuperRes_DualTVL1OpticalFlow>
impl SuperRes_DenseOpticalFlowExtTraitConst for BoxedRef<'_, SuperRes_DualTVL1OpticalFlow>
fn as_raw_SuperRes_DenseOpticalFlowExt( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl SuperRes_DenseOpticalFlowExtTraitConst for BoxedRef<'_, SuperRes_FarnebackOpticalFlow>
impl SuperRes_DenseOpticalFlowExtTraitConst for BoxedRef<'_, SuperRes_FarnebackOpticalFlow>
fn as_raw_SuperRes_DenseOpticalFlowExt( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl SuperRes_DenseOpticalFlowExtTraitConst for BoxedRef<'_, SuperRes_PyrLKOpticalFlow>
impl SuperRes_DenseOpticalFlowExtTraitConst for BoxedRef<'_, SuperRes_PyrLKOpticalFlow>
fn as_raw_SuperRes_DenseOpticalFlowExt( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl SuperRes_DualTVL1OpticalFlowTraitConst for BoxedRef<'_, SuperRes_DualTVL1OpticalFlow>
impl SuperRes_DualTVL1OpticalFlowTraitConst for BoxedRef<'_, SuperRes_DualTVL1OpticalFlow>
fn as_raw_SuperRes_DualTVL1OpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl SuperRes_FarnebackOpticalFlowTraitConst for BoxedRef<'_, SuperRes_FarnebackOpticalFlow>
impl SuperRes_FarnebackOpticalFlowTraitConst for BoxedRef<'_, SuperRes_FarnebackOpticalFlow>
fn as_raw_SuperRes_FarnebackOpticalFlow( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl SuperRes_FrameSourceTraitConst for BoxedRef<'_, SuperRes_FrameSource>
impl SuperRes_FrameSourceTraitConst for BoxedRef<'_, SuperRes_FrameSource>
fn as_raw_SuperRes_FrameSource( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl SuperRes_FrameSourceTraitConst for BoxedRef<'_, SuperRes_SuperResolution>
impl SuperRes_FrameSourceTraitConst for BoxedRef<'_, SuperRes_SuperResolution>
fn as_raw_SuperRes_FrameSource( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl SuperRes_SuperResolutionTraitConst for BoxedRef<'_, SuperRes_SuperResolution>
impl SuperRes_SuperResolutionTraitConst for BoxedRef<'_, SuperRes_SuperResolution>
fn as_raw_SuperRes_SuperResolution( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_lambda(&self) -> Result<f64>
fn get_lambda(&self) -> Result<f64>
Weight parameter to balance data term and smoothness term Read more
Source§fn get_alpha(&self) -> Result<f64>
fn get_alpha(&self) -> Result<f64>
Parameter of spacial distribution in Bilateral-TV Read more
Source§fn get_temporal_area_radius(&self) -> Result<i32>
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>>
fn get_optical_flow(&self) -> Result<Ptr<SuperRes_DenseOpticalFlowExt>>
Dense optical flow algorithm Read more
Source§impl SuperpixelLSCTraitConst for BoxedRef<'_, SuperpixelLSC>
impl SuperpixelLSCTraitConst for BoxedRef<'_, SuperpixelLSC>
fn as_raw_SuperpixelLSC( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_number_of_superpixels(&self) -> Result<i32>
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<()>
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<()>
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<()>
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 SuperpixelSEEDSTraitConst for BoxedRef<'_, SuperpixelSEEDS>
impl SuperpixelSEEDSTraitConst for BoxedRef<'_, SuperpixelSEEDS>
fn as_raw_SuperpixelSEEDS( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl SuperpixelSLICTraitConst for BoxedRef<'_, SuperpixelSLIC>
impl SuperpixelSLICTraitConst for BoxedRef<'_, SuperpixelSLIC>
fn as_raw_SuperpixelSLIC( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_number_of_superpixels(&self) -> Result<i32>
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<()>
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<()>
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<()>
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 SwishLayerTraitConst for BoxedRef<'_, SwishLayer>
impl SwishLayerTraitConst for BoxedRef<'_, SwishLayer>
fn as_raw_SwishLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl SyntheticSequenceGeneratorTraitConst for BoxedRef<'_, SyntheticSequenceGenerator>
impl SyntheticSequenceGeneratorTraitConst for BoxedRef<'_, SyntheticSequenceGenerator>
fn as_raw_SyntheticSequenceGenerator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl TBMRTraitConst for BoxedRef<'_, TBMR>
impl TBMRTraitConst for BoxedRef<'_, TBMR>
fn as_raw_TBMR(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_min_area(&self) -> Result<i32>
fn get_max_area_relative(&self) -> Result<f32>
fn get_scale_factor(&self) -> Result<f32>
fn get_n_scales(&self) -> Result<i32>
fn get_default_name(&self) -> Result<String>
Source§impl TEBLIDTraitConst for BoxedRef<'_, TEBLID>
impl TEBLIDTraitConst for BoxedRef<'_, TEBLID>
fn as_raw_TEBLID(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_default_name(&self) -> Result<String>
Source§impl TanHLayerTraitConst for BoxedRef<'_, TanHLayer>
impl TanHLayerTraitConst for BoxedRef<'_, TanHLayer>
fn as_raw_TanHLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl TanLayerTraitConst for BoxedRef<'_, TanLayer>
impl TanLayerTraitConst for BoxedRef<'_, TanLayer>
fn as_raw_TanLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl TargetArchsTraitConst for BoxedRef<'_, TargetArchs>
impl TargetArchsTraitConst for BoxedRef<'_, TargetArchs>
fn as_raw_TargetArchs(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl TextDetectionModelTraitConst for BoxedRef<'_, TextDetectionModel>
impl TextDetectionModelTraitConst for BoxedRef<'_, TextDetectionModel>
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<()>
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<()>
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<()>
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<()>
fn detect_text_rectangles_1( &self, frame: &impl ToInputArray, detections: &mut Vector<RotatedRect>, ) -> Result<()>
Performs detection Read more
Source§impl TextDetectionModelTraitConst for BoxedRef<'_, TextDetectionModel_DB>
impl TextDetectionModelTraitConst for BoxedRef<'_, TextDetectionModel_DB>
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<()>
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<()>
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<()>
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<()>
fn detect_text_rectangles_1( &self, frame: &impl ToInputArray, detections: &mut Vector<RotatedRect>, ) -> Result<()>
Performs detection Read more
Source§impl TextDetectionModelTraitConst for BoxedRef<'_, TextDetectionModel_EAST>
impl TextDetectionModelTraitConst for BoxedRef<'_, TextDetectionModel_EAST>
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<()>
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<()>
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<()>
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<()>
fn detect_text_rectangles_1( &self, frame: &impl ToInputArray, detections: &mut Vector<RotatedRect>, ) -> Result<()>
Performs detection Read more
Source§impl TextDetectionModel_DBTraitConst for BoxedRef<'_, TextDetectionModel_DB>
impl TextDetectionModel_DBTraitConst for BoxedRef<'_, TextDetectionModel_DB>
fn as_raw_TextDetectionModel_DB( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_binary_threshold(&self) -> Result<f32>
fn get_polygon_threshold(&self) -> Result<f32>
fn get_unclip_ratio(&self) -> Result<f64>
fn get_max_candidates(&self) -> Result<i32>
Source§impl TextDetectionModel_EASTTraitConst for BoxedRef<'_, TextDetectionModel_EAST>
impl TextDetectionModel_EASTTraitConst for BoxedRef<'_, TextDetectionModel_EAST>
fn as_raw_TextDetectionModel_EAST( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_confidence_threshold(&self) -> Result<f32>
fn get_confidence_threshold(&self) -> Result<f32>
Get the detection confidence threshold
Source§fn get_nms_threshold(&self) -> Result<f32>
fn get_nms_threshold(&self) -> Result<f32>
Get the detection confidence threshold
Source§impl TextDetectorCNNTraitConst for BoxedRef<'_, TextDetectorCNN>
impl TextDetectorCNNTraitConst for BoxedRef<'_, TextDetectorCNN>
fn as_raw_TextDetectorCNN( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl TextDetectorTraitConst for BoxedRef<'_, TextDetector>
impl TextDetectorTraitConst for BoxedRef<'_, TextDetector>
fn as_raw_TextDetector(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl TextDetectorTraitConst for BoxedRef<'_, TextDetectorCNN>
impl TextDetectorTraitConst for BoxedRef<'_, TextDetectorCNN>
fn as_raw_TextDetector(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl TextRecognitionModelTraitConst for BoxedRef<'_, TextRecognitionModel>
impl TextRecognitionModelTraitConst for BoxedRef<'_, TextRecognitionModel>
fn as_raw_TextRecognitionModel( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_vocabulary(&self) -> Result<Vector<String>>
fn get_vocabulary(&self) -> Result<Vector<String>>
Get the vocabulary for recognition. Read more
Source§fn recognize(&self, frame: &impl ToInputArray) -> Result<String>
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<()>
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 TextTraitConst for BoxedRef<'_, Text>
impl TextTraitConst for BoxedRef<'_, Text>
fn as_raw_Text(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn bottom_left_origin(&self) -> bool
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 Texture2DTraitConst for BoxedRef<'_, Texture2D>
impl Texture2DTraitConst for BoxedRef<'_, Texture2D>
fn as_raw_Texture2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn copy_to(
&self,
arr: &mut impl ToOutputArray,
ddepth: i32,
auto_release: bool,
) -> Result<()>
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<()>
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<()>
fn bind(&self) -> Result<()>
Binds texture to current active texture unit for GL_TEXTURE_2D target.
fn rows(&self) -> Result<i32>
fn cols(&self) -> Result<i32>
fn size(&self) -> Result<Size>
fn empty(&self) -> Result<bool>
fn format(&self) -> Result<Texture2D_Format>
Source§impl ThinPlateSplineShapeTransformerTraitConst for BoxedRef<'_, ThinPlateSplineShapeTransformer>
impl ThinPlateSplineShapeTransformerTraitConst for BoxedRef<'_, ThinPlateSplineShapeTransformer>
fn as_raw_ThinPlateSplineShapeTransformer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_regularization_parameter(&self) -> Result<f64>
Source§impl TickMeterTraitConst for BoxedRef<'_, TickMeter>
impl TickMeterTraitConst for BoxedRef<'_, TickMeter>
fn as_raw_TickMeter(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_time_ticks(&self) -> Result<i64>
fn get_time_ticks(&self) -> Result<i64>
returns counted ticks.
Source§fn get_time_micro(&self) -> Result<f64>
fn get_time_micro(&self) -> Result<f64>
returns passed time in microseconds.
Source§fn get_time_milli(&self) -> Result<f64>
fn get_time_milli(&self) -> Result<f64>
returns passed time in milliseconds.
Source§fn get_time_sec(&self) -> Result<f64>
fn get_time_sec(&self) -> Result<f64>
returns passed time in seconds.
Source§fn get_last_time_ticks(&self) -> Result<i64>
fn get_last_time_ticks(&self) -> Result<i64>
returns counted ticks of the last iteration.
Source§fn get_last_time_micro(&self) -> Result<f64>
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>
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>
fn get_last_time_sec(&self) -> Result<f64>
returns passed time of the last iteration in seconds.
Source§fn get_counter(&self) -> Result<i64>
fn get_counter(&self) -> Result<i64>
returns internal counter value.
Source§fn get_avg_time_sec(&self) -> Result<f64>
fn get_avg_time_sec(&self) -> Result<f64>
returns average time in seconds
Source§fn get_avg_time_milli(&self) -> Result<f64>
fn get_avg_time_milli(&self) -> Result<f64>
returns average time in milliseconds
Source§impl TileLayerTraitConst for BoxedRef<'_, TileLayer>
impl TileLayerTraitConst for BoxedRef<'_, TileLayer>
fn as_raw_TileLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl TimerTraitConst for BoxedRef<'_, Timer>
impl TimerTraitConst for BoxedRef<'_, Timer>
fn as_raw_Timer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn duration_ns(&self) -> Result<u64>
Source§impl ToFileMotionWriterTraitConst for BoxedRef<'_, ToFileMotionWriter>
impl ToFileMotionWriterTraitConst for BoxedRef<'_, ToFileMotionWriter>
fn as_raw_ToFileMotionWriter( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn motion_model(&self) -> Result<MotionModel>
Source§impl<T: Boxed + ToInputArray> ToInputArray for &BoxedRef<'_, T>
impl<T: Boxed + ToInputArray> ToInputArray for &BoxedRef<'_, T>
fn input_array(&self) -> Result<BoxedRef<'_, _InputArray>>
Source§impl<T: Boxed + ToInputArray> ToInputArray for BoxedRef<'_, T>
impl<T: Boxed + ToInputArray> ToInputArray for BoxedRef<'_, T>
fn input_array(&self) -> Result<BoxedRef<'_, _InputArray>>
Source§impl TonemapDragoTraitConst for BoxedRef<'_, TonemapDrago>
impl TonemapDragoTraitConst for BoxedRef<'_, TonemapDrago>
Source§impl TonemapDurandTraitConst for BoxedRef<'_, TonemapDurand>
impl TonemapDurandTraitConst for BoxedRef<'_, TonemapDurand>
fn as_raw_TonemapDurand( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_saturation(&self) -> Result<f32>
fn get_contrast(&self) -> Result<f32>
fn get_sigma_space(&self) -> Result<f32>
fn get_sigma_color(&self) -> Result<f32>
Source§impl TonemapMantiukTraitConst for BoxedRef<'_, TonemapMantiuk>
impl TonemapMantiukTraitConst for BoxedRef<'_, TonemapMantiuk>
Source§impl TonemapReinhardTraitConst for BoxedRef<'_, TonemapReinhard>
impl TonemapReinhardTraitConst for BoxedRef<'_, TonemapReinhard>
fn as_raw_TonemapReinhard( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_intensity(&self) -> Result<f32>
fn get_light_adaptation(&self) -> Result<f32>
fn get_color_adaptation(&self) -> Result<f32>
Source§impl TonemapTraitConst for BoxedRef<'_, Tonemap>
impl TonemapTraitConst for BoxedRef<'_, Tonemap>
Source§impl TonemapTraitConst for BoxedRef<'_, TonemapDrago>
impl TonemapTraitConst for BoxedRef<'_, TonemapDrago>
Source§impl TonemapTraitConst for BoxedRef<'_, TonemapDurand>
impl TonemapTraitConst for BoxedRef<'_, TonemapDurand>
Source§impl TonemapTraitConst for BoxedRef<'_, TonemapMantiuk>
impl TonemapTraitConst for BoxedRef<'_, TonemapMantiuk>
Source§impl TonemapTraitConst for BoxedRef<'_, TonemapReinhard>
impl TonemapTraitConst for BoxedRef<'_, TonemapReinhard>
Source§impl TopKLayerTraitConst for BoxedRef<'_, TopKLayer>
impl TopKLayerTraitConst for BoxedRef<'_, TopKLayer>
fn as_raw_TopKLayer(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl TrackerCSRTTraitConst for BoxedRef<'_, TrackerCSRT>
impl TrackerCSRTTraitConst for BoxedRef<'_, TrackerCSRT>
fn as_raw_TrackerCSRT(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl TrackerCSRT_ParamsTraitConst for BoxedRef<'_, TrackerCSRT_Params>
impl TrackerCSRT_ParamsTraitConst for BoxedRef<'_, TrackerCSRT_Params>
fn as_raw_TrackerCSRT_Params( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn use_hog(&self) -> bool
fn use_color_names(&self) -> bool
fn use_gray(&self) -> bool
fn use_rgb(&self) -> bool
fn use_channel_weights(&self) -> bool
fn use_segmentation(&self) -> bool
Source§fn window_function(&self) -> String
fn window_function(&self) -> String
Window function: “hann”, “cheb”, “kaiser”
fn kaiser_alpha(&self) -> f32
fn cheb_attenuation(&self) -> f32
fn template_size(&self) -> f32
fn gsl_sigma(&self) -> f32
fn hog_orientations(&self) -> f32
fn hog_clip(&self) -> f32
fn padding(&self) -> f32
fn filter_lr(&self) -> f32
fn weights_lr(&self) -> f32
fn num_hog_channels_used(&self) -> i32
fn admm_iterations(&self) -> i32
fn histogram_bins(&self) -> i32
fn histogram_lr(&self) -> f32
fn background_ratio(&self) -> i32
fn number_of_scales(&self) -> i32
fn scale_sigma_factor(&self) -> f32
fn scale_model_max_area(&self) -> f32
fn scale_lr(&self) -> f32
fn scale_step(&self) -> f32
Source§fn psr_threshold(&self) -> f32
fn psr_threshold(&self) -> f32
we lost the target, if the psr is lower than this.
Source§impl TrackerDaSiamRPNTraitConst for BoxedRef<'_, TrackerDaSiamRPN>
impl TrackerDaSiamRPNTraitConst for BoxedRef<'_, TrackerDaSiamRPN>
fn as_raw_TrackerDaSiamRPN( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl TrackerGOTURNTraitConst for BoxedRef<'_, TrackerGOTURN>
impl TrackerGOTURNTraitConst for BoxedRef<'_, TrackerGOTURN>
fn as_raw_TrackerGOTURN( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl TrackerKCFTraitConst for BoxedRef<'_, TrackerKCF>
impl TrackerKCFTraitConst for BoxedRef<'_, TrackerKCF>
fn as_raw_TrackerKCF(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl TrackerMILTraitConst for BoxedRef<'_, TrackerMIL>
impl TrackerMILTraitConst for BoxedRef<'_, TrackerMIL>
fn as_raw_TrackerMIL(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl TrackerNanoTraitConst for BoxedRef<'_, TrackerNano>
impl TrackerNanoTraitConst for BoxedRef<'_, TrackerNano>
fn as_raw_TrackerNano(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl TrackerNano_ParamsTraitConst for BoxedRef<'_, TrackerNano_Params>
impl TrackerNano_ParamsTraitConst for BoxedRef<'_, TrackerNano_Params>
Source§impl TrackerTraitConst for BoxedRef<'_, Tracker>
impl TrackerTraitConst for BoxedRef<'_, Tracker>
fn as_raw_Tracker(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl TrackerTraitConst for BoxedRef<'_, TrackerCSRT>
impl TrackerTraitConst for BoxedRef<'_, TrackerCSRT>
fn as_raw_Tracker(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl TrackerTraitConst for BoxedRef<'_, TrackerDaSiamRPN>
impl TrackerTraitConst for BoxedRef<'_, TrackerDaSiamRPN>
fn as_raw_Tracker(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl TrackerTraitConst for BoxedRef<'_, TrackerGOTURN>
impl TrackerTraitConst for BoxedRef<'_, TrackerGOTURN>
fn as_raw_Tracker(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl TrackerTraitConst for BoxedRef<'_, TrackerKCF>
impl TrackerTraitConst for BoxedRef<'_, TrackerKCF>
fn as_raw_Tracker(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl TrackerTraitConst for BoxedRef<'_, TrackerMIL>
impl TrackerTraitConst for BoxedRef<'_, TrackerMIL>
fn as_raw_Tracker(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl TrackerTraitConst for BoxedRef<'_, TrackerNano>
impl TrackerTraitConst for BoxedRef<'_, TrackerNano>
fn as_raw_Tracker(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl TrackerTraitConst for BoxedRef<'_, TrackerVit>
impl TrackerTraitConst for BoxedRef<'_, TrackerVit>
fn as_raw_Tracker(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl TrackerVitTraitConst for BoxedRef<'_, TrackerVit>
impl TrackerVitTraitConst for BoxedRef<'_, TrackerVit>
fn as_raw_TrackerVit(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl TrackerVit_ParamsTraitConst for BoxedRef<'_, TrackerVit_Params>
impl TrackerVit_ParamsTraitConst for BoxedRef<'_, TrackerVit_Params>
fn as_raw_TrackerVit_Params( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn net(&self) -> String
fn backend(&self) -> i32
fn target(&self) -> i32
fn meanvalue(&self) -> Scalar
fn stdvalue(&self) -> Scalar
fn tracking_score_threshold(&self) -> f32
Source§impl TrainDataTraitConst for BoxedRef<'_, TrainData>
impl TrainDataTraitConst for BoxedRef<'_, TrainData>
fn as_raw_TrainData(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_layout(&self) -> Result<i32>
fn get_n_train_samples(&self) -> Result<i32>
fn get_n_test_samples(&self) -> Result<i32>
fn get_n_samples(&self) -> Result<i32>
fn get_n_vars(&self) -> Result<i32>
fn get_n_all_vars(&self) -> Result<i32>
fn get_sample( &self, var_idx: &impl ToInputArray, sidx: i32, buf: &mut f32, ) -> Result<()>
fn get_samples(&self) -> Result<Mat>
fn get_missing(&self) -> Result<Mat>
Source§fn get_train_samples(
&self,
layout: i32,
compress_samples: bool,
compress_vars: bool,
) -> Result<Mat>
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_norm_cat_responses(&self) -> Result<Mat>
fn get_train_norm_cat_responses(&self) -> Result<Mat>
Returns the vector of normalized categorical responses Read more
fn get_test_responses(&self) -> Result<Mat>
fn get_test_norm_cat_responses(&self) -> Result<Mat>
fn get_responses(&self) -> Result<Mat>
fn get_norm_cat_responses(&self) -> Result<Mat>
fn get_sample_weights(&self) -> Result<Mat>
fn get_train_sample_weights(&self) -> Result<Mat>
fn get_test_sample_weights(&self) -> Result<Mat>
fn get_var_idx(&self) -> Result<Mat>
fn get_var_type(&self) -> Result<Mat>
fn get_var_symbol_flags(&self) -> Result<Mat>
fn get_response_type(&self) -> Result<i32>
fn get_train_sample_idx(&self) -> Result<Mat>
fn get_test_sample_idx(&self) -> Result<Mat>
fn get_values( &self, vi: i32, sidx: &impl ToInputArray, values: &mut f32, ) -> Result<()>
fn get_norm_cat_values( &self, vi: i32, sidx: &impl ToInputArray, values: &mut i32, ) -> Result<()>
fn get_default_subst_values(&self) -> Result<Mat>
fn get_cat_count(&self, vi: i32) -> Result<i32>
fn get_cat_ofs(&self) -> Result<Mat>
fn get_cat_map(&self) -> Result<Mat>
Source§fn get_test_samples(&self) -> Result<Mat>
fn get_test_samples(&self) -> Result<Mat>
Returns matrix of test samples
Source§impl TransientAreasSegmentationModuleTraitConst for BoxedRef<'_, TransientAreasSegmentationModule>
impl TransientAreasSegmentationModuleTraitConst for BoxedRef<'_, TransientAreasSegmentationModule>
fn as_raw_TransientAreasSegmentationModule( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn write(&self, fs: &str) -> Result<()>
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<()>
fn write_to_storage(&self, fs: &mut impl FileStorageTrait) -> Result<()>
write xml/yml formated parameters information Read more
Source§impl TranslationBasedLocalOutlierRejectorTraitConst for BoxedRef<'_, TranslationBasedLocalOutlierRejector>
impl TranslationBasedLocalOutlierRejectorTraitConst for BoxedRef<'_, TranslationBasedLocalOutlierRejector>
fn as_raw_TranslationBasedLocalOutlierRejector( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn cell_size(&self) -> Result<Size>
fn ransac_params(&self) -> Result<RansacParams>
Source§impl TransverseMercatorWarperTraitConst for BoxedRef<'_, TransverseMercatorWarper>
impl TransverseMercatorWarperTraitConst for BoxedRef<'_, TransverseMercatorWarper>
fn as_raw_TransverseMercatorWarper( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn create(&self, scale: f32) -> Result<Ptr<Detail_RotationWarper>>
Source§impl TwoPassStabilizerTraitConst for BoxedRef<'_, TwoPassStabilizer>
impl TwoPassStabilizerTraitConst for BoxedRef<'_, TwoPassStabilizer>
fn as_raw_TwoPassStabilizer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn motion_stabilizer(&self) -> Result<Ptr<IMotionStabilizer>>
fn wobble_suppressor(&self) -> Result<Ptr<WobbleSuppressorBase>>
fn must_estimate_trima_ratio(&self) -> Result<bool>
Source§impl UMatDataTraitConst for BoxedRef<'_, UMatData>
impl UMatDataTraitConst for BoxedRef<'_, UMatData>
fn as_raw_UMatData(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn urefcount(&self) -> i32
fn refcount(&self) -> i32
fn data(&self) -> *const u8
fn origdata(&self) -> *const u8
fn size(&self) -> size_t
fn flags(&self) -> UMatData_MemoryFlag
fn allocator_flags_(&self) -> i32
fn mapcount(&self) -> i32
fn host_copy_obsolete(&self) -> Result<bool>
fn device_copy_obsolete(&self) -> Result<bool>
fn device_mem_mapped(&self) -> Result<bool>
fn copy_on_map(&self) -> Result<bool>
fn temp_umat(&self) -> Result<bool>
fn temp_copied_umat(&self) -> Result<bool>
Source§impl UMatTraitConst for BoxedRef<'_, UMat>
impl UMatTraitConst for BoxedRef<'_, UMat>
fn as_raw_UMat(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn rows(&self) -> i32
fn rows(&self) -> i32
number of rows in the matrix; -1 when the matrix has more than 2 dimensions
Source§fn cols(&self) -> i32
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
fn usage_flags(&self) -> UMatUsageFlags
usage flags for allocator; recommend do not set directly, instead set during construct/create/getUMat
Source§fn mat_step(&self) -> MatStep
fn mat_step(&self) -> MatStep
number of bytes each matrix element/row/plane/dimension occupies
fn get_mat(&self, flags: AccessFlag) -> Result<Mat>
Source§fn row(&self, y: i32) -> Result<BoxedRef<'_, UMat>>
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>>
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>>
fn row_bounds(&self, startrow: i32, endrow: i32) -> Result<BoxedRef<'_, UMat>>
… for the specified row span
fn row_range(&self, r: &impl RangeTraitConst) -> Result<BoxedRef<'_, UMat>>
Source§fn col_bounds(&self, startcol: i32, endcol: i32) -> Result<BoxedRef<'_, UMat>>
fn col_bounds(&self, startcol: i32, endcol: i32) -> Result<BoxedRef<'_, UMat>>
… for the specified column span
fn col_range(&self, r: &impl RangeTraitConst) -> Result<BoxedRef<'_, UMat>>
Source§fn diag(&self, d: i32) -> Result<BoxedRef<'_, UMat>>
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>>
fn diag_def(&self) -> Result<BoxedRef<'_, UMat>>
… for the specified diagonal
(d=0 - the main diagonal, Read more
Source§fn copy_to_masked(
&self,
m: &mut impl ToOutputArray,
mask: &impl ToInputArray,
) -> Result<()>
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<()>
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<()>
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<()>
fn assign_to(&self, m: &mut impl UMatTrait, typ: i32) -> Result<()>
C++ default parameters Read more
Source§fn reshape(&self, cn: i32, rows: i32) -> Result<BoxedRef<'_, UMat>>
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>>
fn reshape_def(&self, cn: i32) -> Result<BoxedRef<'_, UMat>>
creates alternative matrix header for the same data, with different Read more
fn reshape_nd(&self, cn: i32, newsz: &[i32]) -> Result<BoxedRef<'_, UMat>>
Source§fn inv(&self, method: i32) -> Result<UMat>
fn inv(&self, method: i32) -> Result<UMat>
matrix inversion by means of matrix expressions Read more
Source§fn mul(&self, m: &impl ToInputArray, scale: f64) -> Result<UMat>
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>
fn mul_def(&self, m: &impl ToInputArray) -> Result<UMat>
per-element matrix multiplication by means of matrix expressions Read more
Source§fn locate_roi(&self, whole_size: &mut Size, ofs: &mut Point) -> Result<()>
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>>
fn rowscols( &self, row_range: impl RangeTrait, col_range: impl RangeTrait, ) -> Result<BoxedRef<'_, UMat>>
extracts a rectangular sub-matrix
fn roi(&self, roi: Rect) -> Result<BoxedRef<'_, UMat>>
fn ranges(&self, ranges: &Vector<Range>) -> Result<BoxedRef<'_, UMat>>
Source§fn is_continuous(&self) -> bool
fn is_continuous(&self) -> bool
returns true iff the matrix data is continuous
Source§fn is_submatrix(&self) -> bool
fn is_submatrix(&self) -> bool
returns true if the matrix is a submatrix of another matrix
Source§fn elem_size1(&self) -> size_t
fn elem_size1(&self) -> size_t
returns the size of element channel in bytes.
Source§fn check_vector(
&self,
elem_channels: i32,
depth: i32,
require_continuous: bool,
) -> Result<i32>
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>
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>
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.
fn ndoffset(&self, ofs: &mut size_t) -> Result<()>
fn size(&self) -> Result<Size>
Source§impl VGGTraitConst for BoxedRef<'_, VGG>
impl VGGTraitConst for BoxedRef<'_, VGG>
fn as_raw_VGG(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_default_name(&self) -> Result<String>
fn get_sigma(&self) -> Result<f32>
fn get_use_normalize_image(&self) -> Result<bool>
fn get_use_scale_orientation(&self) -> Result<bool>
fn get_scale_factor(&self) -> Result<f32>
fn get_use_normalize_descriptor(&self) -> Result<bool>
Source§impl VariationalRefinementTraitConst for BoxedRef<'_, VariationalRefinement>
impl VariationalRefinementTraitConst for BoxedRef<'_, VariationalRefinement>
fn as_raw_VariationalRefinement( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_fixed_point_iterations(&self) -> Result<i32>
fn get_fixed_point_iterations(&self) -> Result<i32>
Number of outer (fixed-point) iterations in the minimization procedure. Read more
Source§impl VideoCaptureTraitConst for BoxedRef<'_, VideoCapture>
impl VideoCaptureTraitConst for BoxedRef<'_, VideoCapture>
fn as_raw_VideoCapture(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn is_opened(&self) -> Result<bool>
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>
fn get(&self, prop_id: i32) -> Result<f64>
Returns the specified VideoCapture property Read more
Source§fn get_exception_mode(&self) -> Result<bool>
fn get_exception_mode(&self) -> Result<bool>
query if exception mode is active
Source§impl VideoFileSourceTraitConst for BoxedRef<'_, VideoFileSource>
impl VideoFileSourceTraitConst for BoxedRef<'_, VideoFileSource>
fn as_raw_VideoFileSource( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl VideoWriterTraitConst for BoxedRef<'_, VideoWriter>
impl VideoWriterTraitConst for BoxedRef<'_, VideoWriter>
Source§impl Viz3dTraitConst for BoxedRef<'_, Viz3d>
impl Viz3dTraitConst for BoxedRef<'_, Viz3d>
fn as_raw_Viz3d(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§fn get_widget(&self, id: &str) -> Result<Widget>
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>
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>
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>
fn get_viewer_pose(&self) -> Result<Affine3d>
Returns the current pose of the viewer.
Source§fn get_window_size(&self) -> Result<Size>
fn get_window_size(&self) -> Result<Size>
Returns the current size of the window.
Source§fn get_window_name(&self) -> Result<String>
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>
fn get_screenshot(&self) -> Result<Mat>
Returns the Mat screenshot of the current scene.
Source§fn was_stopped(&self) -> Result<bool>
fn was_stopped(&self) -> Result<bool>
Returns whether the event loop has been stopped.
Source§impl WArrowTraitConst for BoxedRef<'_, WArrow>
impl WArrowTraitConst for BoxedRef<'_, WArrow>
fn as_raw_WArrow(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl WBDetectorTraitConst for BoxedRef<'_, WBDetector>
impl WBDetectorTraitConst for BoxedRef<'_, WBDetector>
fn as_raw_WBDetector(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl WCameraPositionTraitConst for BoxedRef<'_, WCameraPosition>
impl WCameraPositionTraitConst for BoxedRef<'_, WCameraPosition>
fn as_raw_WCameraPosition( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl WCircleTraitConst for BoxedRef<'_, WCircle>
impl WCircleTraitConst for BoxedRef<'_, WCircle>
fn as_raw_WCircle(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl WCloudCollectionTraitConst for BoxedRef<'_, WCloudCollection>
impl WCloudCollectionTraitConst for BoxedRef<'_, WCloudCollection>
fn as_raw_WCloudCollection( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl WCloudNormalsTraitConst for BoxedRef<'_, WCloudNormals>
impl WCloudNormalsTraitConst for BoxedRef<'_, WCloudNormals>
fn as_raw_WCloudNormals( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl WCloudTraitConst for BoxedRef<'_, WCloud>
impl WCloudTraitConst for BoxedRef<'_, WCloud>
fn as_raw_WCloud(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl WConeTraitConst for BoxedRef<'_, WCone>
impl WConeTraitConst for BoxedRef<'_, WCone>
fn as_raw_WCone(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl WCoordinateSystemTraitConst for BoxedRef<'_, WCoordinateSystem>
impl WCoordinateSystemTraitConst for BoxedRef<'_, WCoordinateSystem>
fn as_raw_WCoordinateSystem( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl WCubeTraitConst for BoxedRef<'_, WCube>
impl WCubeTraitConst for BoxedRef<'_, WCube>
fn as_raw_WCube(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl WCylinderTraitConst for BoxedRef<'_, WCylinder>
impl WCylinderTraitConst for BoxedRef<'_, WCylinder>
fn as_raw_WCylinder(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl WGridTraitConst for BoxedRef<'_, WGrid>
impl WGridTraitConst for BoxedRef<'_, WGrid>
fn as_raw_WGrid(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl WImage3DTraitConst for BoxedRef<'_, WImage3D>
impl WImage3DTraitConst for BoxedRef<'_, WImage3D>
fn as_raw_WImage3D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl WImageOverlayTraitConst for BoxedRef<'_, WImageOverlay>
impl WImageOverlayTraitConst for BoxedRef<'_, WImageOverlay>
fn as_raw_WImageOverlay( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl WLineTraitConst for BoxedRef<'_, WLine>
impl WLineTraitConst for BoxedRef<'_, WLine>
fn as_raw_WLine(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl WMeshTraitConst for BoxedRef<'_, WMesh>
impl WMeshTraitConst for BoxedRef<'_, WMesh>
fn as_raw_WMesh(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl WPaintedCloudTraitConst for BoxedRef<'_, WPaintedCloud>
impl WPaintedCloudTraitConst for BoxedRef<'_, WPaintedCloud>
fn as_raw_WPaintedCloud( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl WPlaneTraitConst for BoxedRef<'_, WPlane>
impl WPlaneTraitConst for BoxedRef<'_, WPlane>
fn as_raw_WPlane(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl WPolyLineTraitConst for BoxedRef<'_, WPolyLine>
impl WPolyLineTraitConst for BoxedRef<'_, WPolyLine>
fn as_raw_WPolyLine(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl WSphereTraitConst for BoxedRef<'_, WSphere>
impl WSphereTraitConst for BoxedRef<'_, WSphere>
fn as_raw_WSphere(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl WText3DTraitConst for BoxedRef<'_, WText3D>
impl WText3DTraitConst for BoxedRef<'_, WText3D>
Source§impl WTextTraitConst for BoxedRef<'_, WText>
impl WTextTraitConst for BoxedRef<'_, WText>
Source§impl WTrajectoryFrustumsTraitConst for BoxedRef<'_, WTrajectoryFrustums>
impl WTrajectoryFrustumsTraitConst for BoxedRef<'_, WTrajectoryFrustums>
fn as_raw_WTrajectoryFrustums( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl WTrajectorySpheresTraitConst for BoxedRef<'_, WTrajectorySpheres>
impl WTrajectorySpheresTraitConst for BoxedRef<'_, WTrajectorySpheres>
fn as_raw_WTrajectorySpheres( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl WTrajectoryTraitConst for BoxedRef<'_, WTrajectory>
impl WTrajectoryTraitConst for BoxedRef<'_, WTrajectory>
fn as_raw_WTrajectory(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl WWidgetMergerTraitConst for BoxedRef<'_, WWidgetMerger>
impl WWidgetMergerTraitConst for BoxedRef<'_, WWidgetMerger>
fn as_raw_WWidgetMerger( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl WarperCreatorTraitConst for BoxedRef<'_, AffineWarper>
impl WarperCreatorTraitConst for BoxedRef<'_, AffineWarper>
fn as_raw_WarperCreator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn create(&self, scale: f32) -> Result<Ptr<Detail_RotationWarper>>
Source§impl WarperCreatorTraitConst for BoxedRef<'_, CompressedRectilinearPortraitWarper>
impl WarperCreatorTraitConst for BoxedRef<'_, CompressedRectilinearPortraitWarper>
fn as_raw_WarperCreator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn create(&self, scale: f32) -> Result<Ptr<Detail_RotationWarper>>
Source§impl WarperCreatorTraitConst for BoxedRef<'_, CompressedRectilinearWarper>
impl WarperCreatorTraitConst for BoxedRef<'_, CompressedRectilinearWarper>
fn as_raw_WarperCreator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn create(&self, scale: f32) -> Result<Ptr<Detail_RotationWarper>>
Source§impl WarperCreatorTraitConst for BoxedRef<'_, CylindricalWarper>
impl WarperCreatorTraitConst for BoxedRef<'_, CylindricalWarper>
fn as_raw_WarperCreator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn create(&self, scale: f32) -> Result<Ptr<Detail_RotationWarper>>
Source§impl WarperCreatorTraitConst for BoxedRef<'_, CylindricalWarperGpu>
impl WarperCreatorTraitConst for BoxedRef<'_, CylindricalWarperGpu>
fn as_raw_WarperCreator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn create(&self, scale: f32) -> Result<Ptr<Detail_RotationWarper>>
Source§impl WarperCreatorTraitConst for BoxedRef<'_, FisheyeWarper>
impl WarperCreatorTraitConst for BoxedRef<'_, FisheyeWarper>
fn as_raw_WarperCreator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn create(&self, scale: f32) -> Result<Ptr<Detail_RotationWarper>>
Source§impl WarperCreatorTraitConst for BoxedRef<'_, MercatorWarper>
impl WarperCreatorTraitConst for BoxedRef<'_, MercatorWarper>
fn as_raw_WarperCreator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn create(&self, scale: f32) -> Result<Ptr<Detail_RotationWarper>>
Source§impl WarperCreatorTraitConst for BoxedRef<'_, PaniniPortraitWarper>
impl WarperCreatorTraitConst for BoxedRef<'_, PaniniPortraitWarper>
fn as_raw_WarperCreator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn create(&self, scale: f32) -> Result<Ptr<Detail_RotationWarper>>
Source§impl WarperCreatorTraitConst for BoxedRef<'_, PaniniWarper>
impl WarperCreatorTraitConst for BoxedRef<'_, PaniniWarper>
fn as_raw_WarperCreator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn create(&self, scale: f32) -> Result<Ptr<Detail_RotationWarper>>
Source§impl WarperCreatorTraitConst for BoxedRef<'_, PlaneWarper>
impl WarperCreatorTraitConst for BoxedRef<'_, PlaneWarper>
fn as_raw_WarperCreator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn create(&self, scale: f32) -> Result<Ptr<Detail_RotationWarper>>
Source§impl WarperCreatorTraitConst for BoxedRef<'_, PlaneWarperGpu>
impl WarperCreatorTraitConst for BoxedRef<'_, PlaneWarperGpu>
fn as_raw_WarperCreator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn create(&self, scale: f32) -> Result<Ptr<Detail_RotationWarper>>
Source§impl WarperCreatorTraitConst for BoxedRef<'_, SphericalWarper>
impl WarperCreatorTraitConst for BoxedRef<'_, SphericalWarper>
fn as_raw_WarperCreator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn create(&self, scale: f32) -> Result<Ptr<Detail_RotationWarper>>
Source§impl WarperCreatorTraitConst for BoxedRef<'_, SphericalWarperGpu>
impl WarperCreatorTraitConst for BoxedRef<'_, SphericalWarperGpu>
fn as_raw_WarperCreator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn create(&self, scale: f32) -> Result<Ptr<Detail_RotationWarper>>
Source§impl WarperCreatorTraitConst for BoxedRef<'_, StereographicWarper>
impl WarperCreatorTraitConst for BoxedRef<'_, StereographicWarper>
fn as_raw_WarperCreator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn create(&self, scale: f32) -> Result<Ptr<Detail_RotationWarper>>
Source§impl WarperCreatorTraitConst for BoxedRef<'_, TransverseMercatorWarper>
impl WarperCreatorTraitConst for BoxedRef<'_, TransverseMercatorWarper>
fn as_raw_WarperCreator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn create(&self, scale: f32) -> Result<Ptr<Detail_RotationWarper>>
Source§impl WarperCreatorTraitConst for BoxedRef<'_, WarperCreator>
impl WarperCreatorTraitConst for BoxedRef<'_, WarperCreator>
fn as_raw_WarperCreator( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn create(&self, scale: f32) -> Result<Ptr<Detail_RotationWarper>>
Source§impl WeChatQRCodeTraitConst for BoxedRef<'_, WeChatQRCode>
impl WeChatQRCodeTraitConst for BoxedRef<'_, WeChatQRCode>
fn as_raw_WeChatQRCode(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl WeightingDeblurerTraitConst for BoxedRef<'_, WeightingDeblurer>
impl WeightingDeblurerTraitConst for BoxedRef<'_, WeightingDeblurer>
fn as_raw_WeightingDeblurer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn sensitivity(&self) -> Result<f32>
Source§impl WhiteBalancerTraitConst for BoxedRef<'_, GrayworldWB>
impl WhiteBalancerTraitConst for BoxedRef<'_, GrayworldWB>
fn as_raw_WhiteBalancer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl WhiteBalancerTraitConst for BoxedRef<'_, LearningBasedWB>
impl WhiteBalancerTraitConst for BoxedRef<'_, LearningBasedWB>
fn as_raw_WhiteBalancer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl WhiteBalancerTraitConst for BoxedRef<'_, SimpleWB>
impl WhiteBalancerTraitConst for BoxedRef<'_, SimpleWB>
fn as_raw_WhiteBalancer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl WhiteBalancerTraitConst for BoxedRef<'_, WhiteBalancer>
impl WhiteBalancerTraitConst for BoxedRef<'_, WhiteBalancer>
fn as_raw_WhiteBalancer( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Widget2DTraitConst for BoxedRef<'_, WImageOverlay>
impl Widget2DTraitConst for BoxedRef<'_, WImageOverlay>
fn as_raw_Widget2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Widget2DTraitConst for BoxedRef<'_, WText>
impl Widget2DTraitConst for BoxedRef<'_, WText>
fn as_raw_Widget2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Widget2DTraitConst for BoxedRef<'_, Widget2D>
impl Widget2DTraitConst for BoxedRef<'_, Widget2D>
fn as_raw_Widget2D(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl Widget3DTraitConst for BoxedRef<'_, WArrow>
impl Widget3DTraitConst for BoxedRef<'_, WArrow>
Source§impl Widget3DTraitConst for BoxedRef<'_, WCameraPosition>
impl Widget3DTraitConst for BoxedRef<'_, WCameraPosition>
Source§impl Widget3DTraitConst for BoxedRef<'_, WCircle>
impl Widget3DTraitConst for BoxedRef<'_, WCircle>
Source§impl Widget3DTraitConst for BoxedRef<'_, WCloud>
impl Widget3DTraitConst for BoxedRef<'_, WCloud>
Source§impl Widget3DTraitConst for BoxedRef<'_, WCloudCollection>
impl Widget3DTraitConst for BoxedRef<'_, WCloudCollection>
Source§impl Widget3DTraitConst for BoxedRef<'_, WCloudNormals>
impl Widget3DTraitConst for BoxedRef<'_, WCloudNormals>
Source§impl Widget3DTraitConst for BoxedRef<'_, WCone>
impl Widget3DTraitConst for BoxedRef<'_, WCone>
Source§impl Widget3DTraitConst for BoxedRef<'_, WCoordinateSystem>
impl Widget3DTraitConst for BoxedRef<'_, WCoordinateSystem>
Source§impl Widget3DTraitConst for BoxedRef<'_, WCube>
impl Widget3DTraitConst for BoxedRef<'_, WCube>
Source§impl Widget3DTraitConst for BoxedRef<'_, WCylinder>
impl Widget3DTraitConst for BoxedRef<'_, WCylinder>
Source§impl Widget3DTraitConst for BoxedRef<'_, WGrid>
impl Widget3DTraitConst for BoxedRef<'_, WGrid>
Source§impl Widget3DTraitConst for BoxedRef<'_, WImage3D>
impl Widget3DTraitConst for BoxedRef<'_, WImage3D>
Source§impl Widget3DTraitConst for BoxedRef<'_, WLine>
impl Widget3DTraitConst for BoxedRef<'_, WLine>
Source§impl Widget3DTraitConst for BoxedRef<'_, WMesh>
impl Widget3DTraitConst for BoxedRef<'_, WMesh>
Source§impl Widget3DTraitConst for BoxedRef<'_, WPaintedCloud>
impl Widget3DTraitConst for BoxedRef<'_, WPaintedCloud>
Source§impl Widget3DTraitConst for BoxedRef<'_, WPlane>
impl Widget3DTraitConst for BoxedRef<'_, WPlane>
Source§impl Widget3DTraitConst for BoxedRef<'_, WPolyLine>
impl Widget3DTraitConst for BoxedRef<'_, WPolyLine>
Source§impl Widget3DTraitConst for BoxedRef<'_, WSphere>
impl Widget3DTraitConst for BoxedRef<'_, WSphere>
Source§impl Widget3DTraitConst for BoxedRef<'_, WText3D>
impl Widget3DTraitConst for BoxedRef<'_, WText3D>
Source§impl Widget3DTraitConst for BoxedRef<'_, WTrajectory>
impl Widget3DTraitConst for BoxedRef<'_, WTrajectory>
Source§impl Widget3DTraitConst for BoxedRef<'_, WTrajectoryFrustums>
impl Widget3DTraitConst for BoxedRef<'_, WTrajectoryFrustums>
Source§impl Widget3DTraitConst for BoxedRef<'_, WTrajectorySpheres>
impl Widget3DTraitConst for BoxedRef<'_, WTrajectorySpheres>
Source§impl Widget3DTraitConst for BoxedRef<'_, WWidgetMerger>
impl Widget3DTraitConst for BoxedRef<'_, WWidgetMerger>
Source§impl Widget3DTraitConst for BoxedRef<'_, Widget3D>
impl Widget3DTraitConst for BoxedRef<'_, Widget3D>
Source§impl WidgetTraitConst for BoxedRef<'_, WArrow>
impl WidgetTraitConst for BoxedRef<'_, WArrow>
fn as_raw_Widget(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl WidgetTraitConst for BoxedRef<'_, WCameraPosition>
impl WidgetTraitConst for BoxedRef<'_, WCameraPosition>
fn as_raw_Widget(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl WidgetTraitConst for BoxedRef<'_, WCircle>
impl WidgetTraitConst for BoxedRef<'_, WCircle>
fn as_raw_Widget(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl WidgetTraitConst for BoxedRef<'_, WCloud>
impl WidgetTraitConst for BoxedRef<'_, WCloud>
fn as_raw_Widget(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl WidgetTraitConst for BoxedRef<'_, WCloudCollection>
impl WidgetTraitConst for BoxedRef<'_, WCloudCollection>
fn as_raw_Widget(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl WidgetTraitConst for BoxedRef<'_, WCloudNormals>
impl WidgetTraitConst for BoxedRef<'_, WCloudNormals>
fn as_raw_Widget(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl WidgetTraitConst for BoxedRef<'_, WCone>
impl WidgetTraitConst for BoxedRef<'_, WCone>
fn as_raw_Widget(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl WidgetTraitConst for BoxedRef<'_, WCoordinateSystem>
impl WidgetTraitConst for BoxedRef<'_, WCoordinateSystem>
fn as_raw_Widget(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl WidgetTraitConst for BoxedRef<'_, WCube>
impl WidgetTraitConst for BoxedRef<'_, WCube>
fn as_raw_Widget(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl WidgetTraitConst for BoxedRef<'_, WCylinder>
impl WidgetTraitConst for BoxedRef<'_, WCylinder>
fn as_raw_Widget(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl WidgetTraitConst for BoxedRef<'_, WGrid>
impl WidgetTraitConst for BoxedRef<'_, WGrid>
fn as_raw_Widget(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl WidgetTraitConst for BoxedRef<'_, WImage3D>
impl WidgetTraitConst for BoxedRef<'_, WImage3D>
fn as_raw_Widget(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl WidgetTraitConst for BoxedRef<'_, WImageOverlay>
impl WidgetTraitConst for BoxedRef<'_, WImageOverlay>
fn as_raw_Widget(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl WidgetTraitConst for BoxedRef<'_, WLine>
impl WidgetTraitConst for BoxedRef<'_, WLine>
fn as_raw_Widget(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl WidgetTraitConst for BoxedRef<'_, WMesh>
impl WidgetTraitConst for BoxedRef<'_, WMesh>
fn as_raw_Widget(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl WidgetTraitConst for BoxedRef<'_, WPaintedCloud>
impl WidgetTraitConst for BoxedRef<'_, WPaintedCloud>
fn as_raw_Widget(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl WidgetTraitConst for BoxedRef<'_, WPlane>
impl WidgetTraitConst for BoxedRef<'_, WPlane>
fn as_raw_Widget(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl WidgetTraitConst for BoxedRef<'_, WPolyLine>
impl WidgetTraitConst for BoxedRef<'_, WPolyLine>
fn as_raw_Widget(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl WidgetTraitConst for BoxedRef<'_, WSphere>
impl WidgetTraitConst for BoxedRef<'_, WSphere>
fn as_raw_Widget(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl WidgetTraitConst for BoxedRef<'_, WText>
impl WidgetTraitConst for BoxedRef<'_, WText>
fn as_raw_Widget(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl WidgetTraitConst for BoxedRef<'_, WText3D>
impl WidgetTraitConst for BoxedRef<'_, WText3D>
fn as_raw_Widget(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl WidgetTraitConst for BoxedRef<'_, WTrajectory>
impl WidgetTraitConst for BoxedRef<'_, WTrajectory>
fn as_raw_Widget(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl WidgetTraitConst for BoxedRef<'_, WTrajectoryFrustums>
impl WidgetTraitConst for BoxedRef<'_, WTrajectoryFrustums>
fn as_raw_Widget(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl WidgetTraitConst for BoxedRef<'_, WTrajectorySpheres>
impl WidgetTraitConst for BoxedRef<'_, WTrajectorySpheres>
fn as_raw_Widget(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl WidgetTraitConst for BoxedRef<'_, WWidgetMerger>
impl WidgetTraitConst for BoxedRef<'_, WWidgetMerger>
fn as_raw_Widget(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl WidgetTraitConst for BoxedRef<'_, Widget>
impl WidgetTraitConst for BoxedRef<'_, Widget>
fn as_raw_Widget(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl WidgetTraitConst for BoxedRef<'_, Widget2D>
impl WidgetTraitConst for BoxedRef<'_, Widget2D>
fn as_raw_Widget(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl WidgetTraitConst for BoxedRef<'_, Widget3D>
impl WidgetTraitConst for BoxedRef<'_, Widget3D>
fn as_raw_Widget(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl WindowSceneTraitConst for BoxedRef<'_, WindowScene>
impl WindowSceneTraitConst for BoxedRef<'_, WindowScene>
fn as_raw_WindowScene(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl WobbleSuppressorBaseTraitConst for BoxedRef<'_, MoreAccurateMotionWobbleSuppressor>
impl WobbleSuppressorBaseTraitConst for BoxedRef<'_, MoreAccurateMotionWobbleSuppressor>
fn as_raw_WobbleSuppressorBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn motion_estimator(&self) -> Result<Ptr<ImageMotionEstimatorBase>>
fn frame_count(&self) -> Result<i32>
fn motions(&self) -> Result<Vector<Mat>>
fn motions2(&self) -> Result<Vector<Mat>>
fn stabilization_motions(&self) -> Result<Vector<Mat>>
Source§impl WobbleSuppressorBaseTraitConst for BoxedRef<'_, MoreAccurateMotionWobbleSuppressorBase>
impl WobbleSuppressorBaseTraitConst for BoxedRef<'_, MoreAccurateMotionWobbleSuppressorBase>
fn as_raw_WobbleSuppressorBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn motion_estimator(&self) -> Result<Ptr<ImageMotionEstimatorBase>>
fn frame_count(&self) -> Result<i32>
fn motions(&self) -> Result<Vector<Mat>>
fn motions2(&self) -> Result<Vector<Mat>>
fn stabilization_motions(&self) -> Result<Vector<Mat>>
Source§impl WobbleSuppressorBaseTraitConst for BoxedRef<'_, MoreAccurateMotionWobbleSuppressorGpu>
impl WobbleSuppressorBaseTraitConst for BoxedRef<'_, MoreAccurateMotionWobbleSuppressorGpu>
fn as_raw_WobbleSuppressorBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn motion_estimator(&self) -> Result<Ptr<ImageMotionEstimatorBase>>
fn frame_count(&self) -> Result<i32>
fn motions(&self) -> Result<Vector<Mat>>
fn motions2(&self) -> Result<Vector<Mat>>
fn stabilization_motions(&self) -> Result<Vector<Mat>>
Source§impl WobbleSuppressorBaseTraitConst for BoxedRef<'_, NullWobbleSuppressor>
impl WobbleSuppressorBaseTraitConst for BoxedRef<'_, NullWobbleSuppressor>
fn as_raw_WobbleSuppressorBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn motion_estimator(&self) -> Result<Ptr<ImageMotionEstimatorBase>>
fn frame_count(&self) -> Result<i32>
fn motions(&self) -> Result<Vector<Mat>>
fn motions2(&self) -> Result<Vector<Mat>>
fn stabilization_motions(&self) -> Result<Vector<Mat>>
Source§impl WobbleSuppressorBaseTraitConst for BoxedRef<'_, WobbleSuppressorBase>
impl WobbleSuppressorBaseTraitConst for BoxedRef<'_, WobbleSuppressorBase>
fn as_raw_WobbleSuppressorBase( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn motion_estimator(&self) -> Result<Ptr<ImageMotionEstimatorBase>>
fn frame_count(&self) -> Result<i32>
fn motions(&self) -> Result<Vector<Mat>>
fn motions2(&self) -> Result<Vector<Mat>>
fn stabilization_motions(&self) -> Result<Vector<Mat>>
Source§impl WriteStructContextTraitConst for BoxedRef<'_, WriteStructContext>
impl WriteStructContextTraitConst for BoxedRef<'_, WriteStructContext>
fn as_raw_WriteStructContext( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl _InputArrayTraitConst for BoxedRef<'_, _InputArray>
impl _InputArrayTraitConst for BoxedRef<'_, _InputArray>
fn as_raw__InputArray(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_mat_vector(&self, mv: &mut Vector<Mat>) -> Result<()>
fn get_umat_vector(&self, umv: &mut Vector<UMat>) -> Result<()>
fn get_gpu_mat_vector(&self, gpumv: &mut Vector<GpuMat>) -> Result<()>
fn get_gpu_mat(&self) -> Result<GpuMat>
fn get_o_gl_buffer(&self) -> Result<Buffer>
fn get_flags(&self) -> Result<i32>
fn get_obj(&self) -> Result<*mut c_void>
fn get_sz(&self) -> Result<Size>
fn kind(&self) -> Result<_InputArray_KindFlag>
fn same_size(&self, arr: &impl ToInputArray) -> Result<bool>
fn empty(&self) -> Result<bool>
fn copy_to(&self, arr: &mut impl ToOutputArray) -> Result<()>
fn copy_to_masked( &self, arr: &mut impl ToOutputArray, mask: &impl ToInputArray, ) -> Result<()>
fn is_mat(&self) -> Result<bool>
fn is_umat(&self) -> Result<bool>
fn is_mat_vector(&self) -> Result<bool>
fn is_umat_vector(&self) -> Result<bool>
fn is_matx(&self) -> Result<bool>
fn is_vector(&self) -> Result<bool>
fn is_gpu_mat(&self) -> Result<bool>
fn is_gpu_mat_vector(&self) -> Result<bool>
Source§impl _InputArrayTraitConst for BoxedRef<'_, _InputOutputArray>
impl _InputArrayTraitConst for BoxedRef<'_, _InputOutputArray>
fn as_raw__InputArray(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_mat_vector(&self, mv: &mut Vector<Mat>) -> Result<()>
fn get_umat_vector(&self, umv: &mut Vector<UMat>) -> Result<()>
fn get_gpu_mat_vector(&self, gpumv: &mut Vector<GpuMat>) -> Result<()>
fn get_gpu_mat(&self) -> Result<GpuMat>
fn get_o_gl_buffer(&self) -> Result<Buffer>
fn get_flags(&self) -> Result<i32>
fn get_obj(&self) -> Result<*mut c_void>
fn get_sz(&self) -> Result<Size>
fn kind(&self) -> Result<_InputArray_KindFlag>
fn same_size(&self, arr: &impl ToInputArray) -> Result<bool>
fn empty(&self) -> Result<bool>
fn copy_to(&self, arr: &mut impl ToOutputArray) -> Result<()>
fn copy_to_masked( &self, arr: &mut impl ToOutputArray, mask: &impl ToInputArray, ) -> Result<()>
fn is_mat(&self) -> Result<bool>
fn is_umat(&self) -> Result<bool>
fn is_mat_vector(&self) -> Result<bool>
fn is_umat_vector(&self) -> Result<bool>
fn is_matx(&self) -> Result<bool>
fn is_vector(&self) -> Result<bool>
fn is_gpu_mat(&self) -> Result<bool>
fn is_gpu_mat_vector(&self) -> Result<bool>
Source§impl _InputArrayTraitConst for BoxedRef<'_, _OutputArray>
impl _InputArrayTraitConst for BoxedRef<'_, _OutputArray>
fn as_raw__InputArray(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn get_mat_vector(&self, mv: &mut Vector<Mat>) -> Result<()>
fn get_umat_vector(&self, umv: &mut Vector<UMat>) -> Result<()>
fn get_gpu_mat_vector(&self, gpumv: &mut Vector<GpuMat>) -> Result<()>
fn get_gpu_mat(&self) -> Result<GpuMat>
fn get_o_gl_buffer(&self) -> Result<Buffer>
fn get_flags(&self) -> Result<i32>
fn get_obj(&self) -> Result<*mut c_void>
fn get_sz(&self) -> Result<Size>
fn kind(&self) -> Result<_InputArray_KindFlag>
fn same_size(&self, arr: &impl ToInputArray) -> Result<bool>
fn empty(&self) -> Result<bool>
fn copy_to(&self, arr: &mut impl ToOutputArray) -> Result<()>
fn copy_to_masked( &self, arr: &mut impl ToOutputArray, mask: &impl ToInputArray, ) -> Result<()>
fn is_mat(&self) -> Result<bool>
fn is_umat(&self) -> Result<bool>
fn is_mat_vector(&self) -> Result<bool>
fn is_umat_vector(&self) -> Result<bool>
fn is_matx(&self) -> Result<bool>
fn is_vector(&self) -> Result<bool>
fn is_gpu_mat(&self) -> Result<bool>
fn is_gpu_mat_vector(&self) -> Result<bool>
Source§impl _InputOutputArrayTraitConst for BoxedRef<'_, _InputOutputArray>
impl _InputOutputArrayTraitConst for BoxedRef<'_, _InputOutputArray>
fn as_raw__InputOutputArray( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl _OutputArrayTraitConst for BoxedRef<'_, _InputOutputArray>
impl _OutputArrayTraitConst for BoxedRef<'_, _InputOutputArray>
fn as_raw__OutputArray(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn fixed_size(&self) -> Result<bool>
fn fixed_type(&self) -> Result<bool>
fn needed(&self) -> Result<bool>
fn get_gpu_mat_ref(&self) -> Result<GpuMat>
fn get_gpu_mat_vec_ref(&self) -> Result<Vector<GpuMat>>
fn get_o_gl_buffer_ref(&self) -> Result<Buffer>
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<()>
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(
&self,
rows: i32,
cols: i32,
typ: i32,
i: i32,
allow_transposed: bool,
fixed_depth_mask: _OutputArray_DepthMask,
) -> Result<()>
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_nd(
&self,
size: &[i32],
typ: i32,
i: i32,
allow_transposed: bool,
fixed_depth_mask: _OutputArray_DepthMask,
) -> Result<()>
fn create_nd( &self, size: &[i32], typ: i32, i: i32, allow_transposed: bool, fixed_depth_mask: _OutputArray_DepthMask, ) -> Result<()>
C++ default parameters Read more
unsafe fn create_same_size( &self, arr: &impl ToInputArray, mtype: i32, ) -> Result<()>
fn release(&self) -> Result<()>
fn clear(&self) -> Result<()>
Source§fn set_to(
&self,
value: &impl ToInputArray,
mask: &impl ToInputArray,
) -> Result<()>
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<()>
fn set_to_def(&self, value: &impl ToInputArray) -> Result<()>
Note Read more
fn assign_umat(&self, u: &impl UMatTraitConst) -> Result<()>
fn assign_mat(&self, m: &impl MatTraitConst) -> Result<()>
fn assign_umat_vec(&self, v: &Vector<UMat>) -> Result<()>
fn assign_mat_vec(&self, v: &Vector<Mat>) -> Result<()>
fn move_umat(&self, u: &mut impl UMatTrait) -> Result<()>
fn move_mat(&self, m: &mut impl MatTrait) -> Result<()>
Source§impl _OutputArrayTraitConst for BoxedRef<'_, _OutputArray>
impl _OutputArrayTraitConst for BoxedRef<'_, _OutputArray>
fn as_raw__OutputArray(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn fixed_size(&self) -> Result<bool>
fn fixed_type(&self) -> Result<bool>
fn needed(&self) -> Result<bool>
fn get_gpu_mat_ref(&self) -> Result<GpuMat>
fn get_gpu_mat_vec_ref(&self) -> Result<Vector<GpuMat>>
fn get_o_gl_buffer_ref(&self) -> Result<Buffer>
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<()>
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(
&self,
rows: i32,
cols: i32,
typ: i32,
i: i32,
allow_transposed: bool,
fixed_depth_mask: _OutputArray_DepthMask,
) -> Result<()>
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_nd(
&self,
size: &[i32],
typ: i32,
i: i32,
allow_transposed: bool,
fixed_depth_mask: _OutputArray_DepthMask,
) -> Result<()>
fn create_nd( &self, size: &[i32], typ: i32, i: i32, allow_transposed: bool, fixed_depth_mask: _OutputArray_DepthMask, ) -> Result<()>
C++ default parameters Read more
unsafe fn create_same_size( &self, arr: &impl ToInputArray, mtype: i32, ) -> Result<()>
fn release(&self) -> Result<()>
fn clear(&self) -> Result<()>
Source§fn set_to(
&self,
value: &impl ToInputArray,
mask: &impl ToInputArray,
) -> Result<()>
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<()>
fn set_to_def(&self, value: &impl ToInputArray) -> Result<()>
Note Read more
fn assign_umat(&self, u: &impl UMatTraitConst) -> Result<()>
fn assign_mat(&self, m: &impl MatTraitConst) -> Result<()>
fn assign_umat_vec(&self, v: &Vector<UMat>) -> Result<()>
fn assign_mat_vec(&self, v: &Vector<Mat>) -> Result<()>
fn move_umat(&self, u: &mut impl UMatTrait) -> Result<()>
fn move_mat(&self, m: &mut impl MatTrait) -> Result<()>
Source§impl _RangeTraitConst for BoxedRef<'_, _Range>
impl _RangeTraitConst for BoxedRef<'_, _Range>
fn as_raw__Range(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl anyTraitConst for BoxedRef<'_, any>
impl anyTraitConst for BoxedRef<'_, any>
fn as_raw_any(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
Source§impl use_onlyTraitConst for BoxedRef<'_, use_only>
impl use_onlyTraitConst for BoxedRef<'_, use_only>
fn as_raw_use_only(&self) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn pkg(&self) -> GKernelPackage
Source§impl use_threaded_executorTraitConst for BoxedRef<'_, use_threaded_executor>
impl use_threaded_executorTraitConst for BoxedRef<'_, use_threaded_executor>
fn as_raw_use_threaded_executor( &self, ) -> <Self as OpenCVTypeExternContainer>::ExternSend
fn num_threads(&self) -> u32
Auto Trait Implementations§
impl<'r, T> Freeze for BoxedRef<'r, T>where
T: Freeze,
impl<'r, T> RefUnwindSafe for BoxedRef<'r, T>where
T: RefUnwindSafe,
impl<'r, T> Send for BoxedRef<'r, T>
impl<'r, T> Sync for BoxedRef<'r, T>where
T: Sync,
impl<'r, T> Unpin for BoxedRef<'r, T>where
T: Unpin,
impl<'r, T> UnwindSafe for BoxedRef<'r, T>where
T: UnwindSafe + RefUnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> MatTraitConstManual for Twhere
T: MatTraitConst + ?Sized,
impl<T> MatTraitConstManual for Twhere
T: MatTraitConst + ?Sized,
Source§unsafe fn at_unchecked<T: DataType>(&self, i0: i32) -> Result<&T>
unsafe fn at_unchecked<T: DataType>(&self, i0: i32) -> Result<&T>
Like
Mat::at()
but performs no bounds or type checks Read moreSource§unsafe fn at_2d_unchecked<T: DataType>(&self, row: i32, col: i32) -> Result<&T>
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 moreSource§unsafe fn at_pt_unchecked<T: DataType>(&self, pt: Point) -> Result<&T>
unsafe fn at_pt_unchecked<T: DataType>(&self, pt: Point) -> Result<&T>
Like
Mat::at_pt()
but performs no bounds or type checks Read moreSource§unsafe fn at_3d_unchecked<T: DataType>(
&self,
i0: i32,
i1: i32,
i2: i32,
) -> Result<&T>
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 moreSource§unsafe fn at_nd_unchecked<T: DataType>(&self, idx: &[i32]) -> Result<&T>
unsafe fn at_nd_unchecked<T: DataType>(&self, idx: &[i32]) -> Result<&T>
Like
Mat::at_nd()
but performs no bounds or type checks Read moreSource§unsafe fn at_row_unchecked<T: DataType>(&self, row: i32) -> Result<&[T]>
unsafe fn at_row_unchecked<T: DataType>(&self, row: i32) -> Result<&[T]>
Like
Mat::at_row()
but performs no bounds or type checks Read morefn is_allocated(&self) -> bool
Source§fn data_bytes(&self) -> Result<&[u8]>
fn data_bytes(&self) -> Result<&[u8]>
Returns underlying data array as byte slice,
Mat
must be continuousfn data_typed<T: DataType>(&self) -> Result<&[T]>
fn to_vec_2d<T: DataType>(&self) -> Result<Vec<Vec<T>>>
Source§fn iter<T: DataType>(&self) -> Result<MatIter<'_, T>>where
Self: Sized,
fn iter<T: DataType>(&self) -> Result<MatIter<'_, T>>where
Self: Sized,
Returns an iterator over
Mat
elements and their positions